cordova-plugin-ImagePicker
cordova-plugin-ImagePicker copied to clipboard
android-targetSdkVersion=29 the gallery doesn't work on devices with Android 10
From November 2nd the Google Play Store requires targetSdkVersion at 29. By updating our app, and increasing the targetSdk from 28 to 29, the plugin stopped working for all devices running Android 10 or more. it can no longer load images from the gallery.
update - adding android:requestLegacyExternalStorage="true" to AndroidManifest seems to solve the issue.
@AntonioAngelucci After add android:requestLegacyExternalStorage="true" , I get the error as follows:
AAPT: error: attribute android:requestlegacyexternalstorage not found.
cordova plugin add cordova-android-support-gradle-release --variable ANDROID_SUPPORT_VERSION=27+