Ionic V5 android app camera not working with android SDK 33

Hello,

I have created a Android app with using the IONIC version 5 Cordova plugin and used Android version 9

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. for the camera, we have used Cordova-plugin-camera plugins.

so any help would be greatly appreciated.

Thanks,
Vipul Jadvani

Are you using Cordova or Capacitor? You usually cannot just update the config and expect things to work with newer SDKs. You usually have to update Cordova/Capacitor as well.

Since they mention “android version 9” I guess that’s cordova-android 9.

You should update to cordova-android 12 and cordova-plugin-camera 7.0.0

1 Like

I’ve tried updating android version, but while creatin release build some how it’s keep changing android version to 9