Skip to content

Commit

Permalink
fix: add READ_EXTERNAL_STORAGE permission
Browse files Browse the repository at this point in the history
Context: Before, the native shell was adding this permission by default. But starting with MABS 11, not anymore, so the plugin must add all the permissions it requires.

References: https://outsystemsrd.atlassian.net/browse/RMET-3856
  • Loading branch information
alexgerardojacinto authored Nov 22, 2024
1 parent 2717946 commit 6e4f366
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@ to config.xml in order for the application to find previously stored files.
</config-file>
<config-file target="AndroidManifest.xml" parent="/*">
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
</config-file>

<source-file src="src/android/EncodingException.java" target-dir="src/org/apache/cordova/file" />
Expand Down

0 comments on commit 6e4f366

Please sign in to comment.