Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

android-targetSdkVersion=29 the gallery doesn't work on devices with Android 10 #108

Open
ghost opened this issue Nov 19, 2020 · 3 comments

Comments

@ghost
Copy link

ghost commented Nov 19, 2020

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.

@ghost
Copy link
Author

ghost commented Nov 19, 2020

update - adding android:requestLegacyExternalStorage="true" to AndroidManifest seems to solve the issue.

@snowdream
Copy link

@AntonioAngelucci
After add android:requestLegacyExternalStorage="true" , I get the error as follows:

AAPT: error: attribute android:requestlegacyexternalstorage not found.

@jjfzfans
Copy link

cordova plugin add cordova-android-support-gradle-release --variable ANDROID_SUPPORT_VERSION=27+

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants