PhilBouvet opened a new issue #776: URL: https://github.com/apache/cordova-plugin-camera/issues/776
# Bug Report ## Problem Camera wont open on OnePlus 7T. Works as intended on every other device we have tested with, including emulators. Do you guys have any solution for me? Or tips as to what I can do next to try to resolve this problem? ### What is expected to happen? Camera opens, and pictures can be taken. ### What does actually happen? Nothing happens. ## Information Screenshots from debugging:   => msgs = undefined Short explanation: I get into the exec function, when running the line with msgs = nativeaApiProvider... It ends up not returning anything. Resulting in that msgs = undefined, and nothing more happens from that function. Neither success, nor fail, callback functions are invoked. ### Command or Code ``` navigator.camera.getPicture(onSuccess, onFail, { quality: 20, correctOrientation: true, destinationType: navigator.camera.DestinationType.DATA_URL, saveToPhotoAlbum: true, }); ``` The only custom xml-field for android: ``` <platform name="android"> <edit-config file="app/src/main/AndroidManifest.xml" mode="merge" target="/manifest/application"> <application android:usesCleartextTraffic="true"/> </edit-config> </platform> ``` ### Environment, Platform, Device Phone: OnePlus 7T OS: Android 11 ### Version information From package.json: Cordova ^9.0.0 cordova-plugin-camera ^6.0.0 ## Checklist <!-- Please check the boxes by putting an x in the [ ] like so: [x] --> - [x] I searched for existing GitHub issues - [x] I updated all Cordova tooling to most recent version - [x] I included all the necessary information above -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
