Request write permission on Android <11
This commit is contained in:
parent
3475b3c69f
commit
8dc99ca2c1
5 changed files with 56 additions and 12 deletions
|
@ -1,5 +1,5 @@
|
|||
<?xml version='1.0' encoding='utf-8'?>
|
||||
<widget id="su.viende.omori" version="1.0.8-dev" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">
|
||||
<widget id="su.viende.omori" version="1.0.8-dev" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0" xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<preference name="orientation" value="sensorLandscape" />
|
||||
<preference name="Fullscreen" value="true" />
|
||||
|
||||
|
@ -25,7 +25,12 @@
|
|||
<platform name="android">
|
||||
<config-file target="AndroidManifest.xml" parent="/*" xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<uses-permission android:name="android.permission.WAKE_LOCK" />
|
||||
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" android:maxSdkVersion="29" />
|
||||
<uses-permission android:name="android.permission.MANAGE_EXTERNAL_STORAGE" />
|
||||
</config-file>
|
||||
<edit-config file="AndroidManifest.xml" mode="merge" target="/manifest/application">
|
||||
<application android:requestLegacyExternalStorage="true" />
|
||||
</edit-config>
|
||||
</platform>
|
||||
|
||||
<name>OMORI</name>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue