Skip to content

Commit 9bd7c1b

Browse files
fix: cordova issue
1 parent a304c48 commit 9bd7c1b

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

config.xml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,18 @@
3838
<preference name="GradlePluginKotlinEnabled" value="true" />
3939
<preference name="android-targetSdkVersion" value="36" />
4040

41+
<!-- Cordova does not merge this unless both of these are present -->
42+
<edit-config file="AndroidManifest.xml" mode="merge" target="/manifest/application">
43+
<application
44+
android:usesCleartextTraffic="true"
45+
android:networkSecurityConfig="@xml/network_security_config"
46+
android:hardwareAccelerated="true"
47+
android:largeHeap="true"
48+
android:requestLegacyExternalStorage="true"
49+
android:enableOnBackInvokedCallback="false" />
50+
</edit-config>
4151

52+
<!-- Cordova does not merge this unless both of these are present -->
4253
<edit-config file="app/src/main/AndroidManifest.xml" mode="merge" target="/manifest/application">
4354
<application android:networkSecurityConfig="@xml/network_security_config" />
4455
<application android:usesCleartextTraffic="true" />

0 commit comments

Comments
 (0)