Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 7 additions & 16 deletions config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -38,27 +38,17 @@
<preference name="GradlePluginKotlinEnabled" value="true" />
<preference name="android-targetSdkVersion" value="36" />

<!-- Cordova does not merge this unless both of these are present -->
<edit-config file="AndroidManifest.xml" mode="merge" target="/manifest/application">
<application
android:usesCleartextTraffic="true"

<edit-config file="app/src/main/AndroidManifest.xml" mode="merge" target="/manifest/application">
<application
android:networkSecurityConfig="@xml/network_security_config"
android:hardwareAccelerated="true"
android:largeHeap="true"
android:requestLegacyExternalStorage="true"
android:usesCleartextTraffic="true"
android:enableOnBackInvokedCallback="false" />
</edit-config>

<!-- Cordova does not merge this unless both of these are present -->
<edit-config file="app/src/main/AndroidManifest.xml" mode="merge" target="/manifest/application">
<application android:networkSecurityConfig="@xml/network_security_config" />
<application android:usesCleartextTraffic="true" />
<application android:hardwareAccelerated="true" />
<application android:largeHeap="true" />
<application android:requestLegacyExternalStorage="true"/>
<application android:enableOnBackInvokedCallback="false" />
</edit-config>

<edit-config file="app/src/main/AndroidManifest.xml" mode="merge" target="/manifest/application/activity[@android:name='MainActivity']">
<activity android:resizeableActivity="true" />
</edit-config>
Expand All @@ -69,7 +59,8 @@
<action android:name="android.intent.action.EDIT" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.LAUNCHER" />
<data android:mimeType="*/*"/>
<data android:scheme="file" android:mimeType="*/*" />
<data android:scheme="content" android:mimeType="*/*" />
</intent-filter>
<!-- Allow app to open using url from browser -->
<intent-filter android:autoVerify="true">
Expand All @@ -92,4 +83,4 @@
<hook type="after_prepare" src="hooks/post-process.js" />
</platform>
<preference name="AndroidBlacklistSecureSocketProtocols" value="SSLv3,TLSv1" />
</widget>
</widget>
Comment thread
RohitKushvaha01 marked this conversation as resolved.