We are happy to announce that we have just released an update for
cordova plugin remove cordova-plugin-file cordova plugin add firstname.lastname@example.org
If this permission is not allowlisted for an app that targets an API level before
Build.VERSION_CODES.Q(SDK 29) this permission cannot be granted to apps.
Although Cordova has removed this permission from the plugin by default, you can still add it back if needed by using the
config-filetag in your project's
<config-file target="AndroidManifest.xml" parent="/*" xmlns:android="http://schemas.android.com/apk/res/android"> <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" android:maxSdkVersion="32" /> </config-file>
It's important to note that other plugins used in your Cordova project may still include the
WRITE_EXTERNAL_STORAGEpermission. To verify whether the permission is added by other plugins, you can check the merged
AndroidManifest.xmlfile can be found at the following location:
Please keep in mind that the example file path provided above is specific to debug builds. For release builds or different build variants, the file path may vary slightly.
Android 13+ Support
Beginning from Android 13 (SDK 33), the
READ_EXTERNAL_STORAGEpermission no longer has any effect. Instead, this permission has been replaced with more granular permissions:
To adapt to this change, we have introduced these three new permissions. This ensures that the existing functionality and behavior related to reading various media file are maintained for Android 13 and higher versions.
Furthermore, to support the new granular permissions and Android 13 (SDK 33), we have raised the minimum requirement for
12.0.0. This version of Cordova-Android specifically includes the necessary updates to handle Android 13 and compile your project with the new permissions successfully.
Please report any issues you find by following the this How to File a Bug guide!
- GH-534 fix(android):
FileErroron a content
- GH-566 feat(android): add
READ_MEDIA_*permissions for Android 13+
- GH-576 feat(android)!: bump
- GH-575 ci: sync github workflow with paramedic base configs
- GH-574 chore: update
- GH-556 feat(android)!: remove
- GH-554 spec(android): fix spec based on testing environment
- GH-547 fix(types): Mark
- GH-535 ci: sync workflow with paramedic
- GH-531 dep(npm): bump package-lock v2 w/ rebuild
- GH-529 ci(android): update java requirement for