Code Monkey home page Code Monkey logo

Comments (6)

Giriton avatar Giriton commented on July 18, 2024 4

Ok, I managed to make the camera preview work with Crosswalk 18+ by adjusting following settings in config.xml of the cordova project: xwalkZOrderOnTop set to false and CrosswalkAnimatable set to true. The part of config.xml looks like this:

<preference name="xwalkVersion" value="18+" />
<preference name="xwalkCommandLine" value="--disable-pull-to-refresh-effect" />
<preference name="xwalkMode" value="embedded" />
<preference name="xwalkMultipleApk" value="true" />
<preference name="xwalkZOrderOnTop" value="false" />
<preference name="CrosswalkAnimatable" value="true" />

from cordova-plugin-camera-preview.

crissi avatar crissi commented on July 18, 2024

To easily get an crosswalk app running you can see this post:

http://ionicframework.com/blog/crosswalk-comes-to-ionic/

from cordova-plugin-camera-preview.

dested avatar dested commented on July 18, 2024

I can confirm this is still happening. Does anyone have any insight into a potential fix? As far as I can tell the fragment is being displayed BELOW the crosswalk activity, but I do not know how to properly bring it to front.

from cordova-plugin-camera-preview.

angeltveit avatar angeltveit commented on July 18, 2024

This is still very relevant. Any news on this issue?

from cordova-plugin-camera-preview.

julitroalves avatar julitroalves commented on July 18, 2024

I have same issue with crosswalk 18+ beta. I can show camera on ionic view just when using "toBack" parameter as true on startCamera but when I use false the plugin don't show camera square.
Another thing when I using toBack false on startCamera I'm not able to put the camera square when I want with x,y parameters.

Anyone have a solution?

from cordova-plugin-camera-preview.

Giriton avatar Giriton commented on July 18, 2024

Same issue here with Crosswalk 18+ and 19+ on android. As soon as we add crosswalk into the project (cordova plugin add cordova-plugin-crosswalk-webview) , the camera preview will never show anymore.

We did not even figure out, how to see the camera with crosswalk on android in "toBack" mode, as @julitroalves mentions..

Does anybody have a clue how to hotfix such issue?

from cordova-plugin-camera-preview.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.