|
1 | 1 | <?xml version='1.0' encoding='utf-8'?> |
2 | | -<widget id="io.ionic.starter" version="0.0.1" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0"> |
| 2 | +<widget id="io.ionic.starter" version="0.0.1" xmlns="http://www.w3.org/ns/widgets" xmlns:android="http://schemas.android.com/apk/res/android" xmlns:cdv="http://cordova.apache.org/ns/1.0"> |
3 | 3 | <name>Upload Demo</name> |
4 | 4 | <description>An awesome Ionic/Cordova app.</description> |
5 | 5 | <author email="hi@ionicframework.com" href="http://ionicframework.com/">Ionic Framework Team</author> |
|
11 | 11 | <allow-intent href="sms:*" /> |
12 | 12 | <allow-intent href="mailto:*" /> |
13 | 13 | <allow-intent href="geo:*" /> |
| 14 | + <preference name="android-minSdkVersion" value="22" /> |
| 15 | + <preference name="android-targetSdkVersion" value="31" /> |
14 | 16 | <preference name="ScrollEnabled" value="false" /> |
15 | 17 | <preference name="BackupWebStorage" value="none" /> |
16 | 18 | <preference name="SplashMaintainAspectRatio" value="true" /> |
17 | 19 | <preference name="FadeSplashScreenDuration" value="300" /> |
18 | 20 | <preference name="SplashShowOnlyFirstTime" value="false" /> |
19 | 21 | <preference name="SplashScreen" value="screen" /> |
20 | 22 | <preference name="SplashScreenDelay" value="3000" /> |
| 23 | + <preference name="AndroidPersistentFileLocation" value="Compatibility" /> |
| 24 | + <preference name="AndroidXEnabled" value="true" /> |
21 | 25 | <platform name="android"> |
22 | | - <preference name="android-minSdkVersion" value="22" /> |
23 | 26 | <edit-config file="app/src/main/AndroidManifest.xml" mode="merge" target="/manifest/application" xmlns:android="http://schemas.android.com/apk/res/android"> |
24 | 27 | <application android:networkSecurityConfig="@xml/network_security_config" /> |
25 | 28 | </edit-config> |
| 29 | + <edit-config file="app/src/main/AndroidManifest.xml" mode="merge" target="/manifest/application/activity[@android:name='MainActivity']"> |
| 30 | + <activity android:exported="true" /> |
| 31 | + </edit-config> |
26 | 32 | <resource-file src="resources/android/xml/network_security_config.xml" target="app/src/main/res/xml/network_security_config.xml" /> |
27 | 33 | <allow-intent href="market:*" /> |
28 | 34 | <icon density="ldpi" src="resources/android/icon/drawable-ldpi-icon.png" /> |
|
0 commit comments