breautek edited a comment on issue #271: URL: https://github.com/apache/cordova-plugin-media/issues/271#issuecomment-782051382
> I have not yet evaluated if lowering the targetSdk to 28 raises problems with cordova-android 9.0.0. You'll have problems if you plan on publishing to Google Play store as Google requires all apps now to be using API 29+. To resolve this issue for API 29, we need to update `cordova-plugin-file` which contains the fix. Unfortunately that fix hasn't been released yet, as there are some iOS tests failing for the file plugin that needs to be resolved before a release can be made. If you install the development version of `cordova-plugin-file`, it should should fix this issue here. However, the fix is only a temporary fix that will work for API 29 only. On API 30+ legacy storage is forcefully disabled, and we need to use MediaStore APIs for storing and reading media files. The development version of `cordova-plugin-file` has the `requestLegacyExternalStorage` flag as noted in https://github.com/apache/cordova-plugin-media/issues/271#issuecomment-637086581 ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
