Comments (6)
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.
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.
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.
This is still very relevant. Any news on this issue?
from cordova-plugin-camera-preview.
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.
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)
- takeSnapshot return blank image HOT 1
- camera is taking entire screen height and flip and close,capture buttons are not visible in native device,Please let me know if anyone has solution for this,z index is already given same as in the code HOT 2
- is platform windows supported ? HOT 3
- is platform browser supported ? HOT 1
- error building with xcode 13.4.1 HOT 6
- How to add barcode scanning ability using another plugin?
- takePicture error only on Android 9
- How to disallow Screenshot
- Android Studio forces me to set android:exported="true" in AndroidManifest.xml HOT 1
- Image is saved as Base64 regardless of storeToFile setting
- Illegal Access HOT 1
- This plugin doesn't seem to install in Android 13, API 33 HOT 2
- takePicture does not resolve promise on iPhone 15 Pro HOT 4
- AVCaptureStillImageOutput' is deprecated: first deprecated in iOS 10.0 - Use AVCapturePhotoOutput instead.
- iPhone 13 Pro Max autofocus issue on close objects HOT 3
- Documentation wrong for takeSnapshot and takePicture
- Can not perform this action after onSaveInstanceState
- photos Android clearer
- how do i ? HOT 1
- devicesWithMediaType is deprecated
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cordova-plugin-camera-preview.