apache / cordova-plugin-camera

Apache Cordova Plugin camera
https://cordova.apache.org/
Apache License 2.0
960 stars 1.52k forks source link

Camera not working in IONIC V5. #886

Closed sw-tt-vipuljadvani closed 2 hours ago

sw-tt-vipuljadvani commented 2 weeks ago

I have created an Android app using the IONIC V5, Cordova, and Cordova-android 9 and we have used Cordova-plugin-camera plugins for the camera and then image upload functionality.

when I uploaded the build on the Google Play Store, it required setting up Android SDK 33 so we made changes accordingly in the config.xml file.

Now the build is uploaded in Google Console but our camera functionality is not working in that build, The normal APK camera works fine on Android devices.

Any help?

Regards.

smoshko commented 1 week ago

You have to update your plugin to version 7.0.0. The Android 13(SDK 33) support was added here CH-844 See Release Notes

breautek commented 2 hours ago

cordova-android@12 and cordova-plugin-camera@7 is required for SDK 33 support.

Just updating the target SDK to 33 will not work because API 33 introduces breaking changes surrounding on reading external media files.