Files
2026-06-26 14:21:20 +02:00

66 lines
2.4 KiB
XML

<?xml version='1.0' encoding='utf-8'?>
<widget id="GDJS_PACKAGENAME" version="GDJS_PROJECTVERSION" 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">
<name>GDJS_PROJECTNAME</name>
<content src="index.html" />
<plugin name="cordova-plugin-whitelist" version="1" />
<plugin name="gdevelop-cordova-plugin-screen-orientation" version="3.0.4-patch.2" />
<access origin="*" />
<allow-intent href="http://*/*" />
<allow-intent href="https://*/*" />
<allow-intent href="tel:*" />
<allow-intent href="sms:*" />
<allow-intent href="mailto:*" />
<allow-intent href="geo:*" />
<!-- Allow iframes on iOS like leaderboards, including those in development that are not served
via https. -->
<allow-navigation href="*" />
<platform name="android">
<allow-intent href="market:*" />
<!-- Required by admob-plus plugin > version 2 -->
<preference name="GradlePluginKotlinEnabled" value="true" />
<!-- Increase timeout value for low-end android devices -->
<preference name="loadUrlTimeoutValue" value="60000" />
<!-- GDJS_ICONS_ANDROID -->
<preference name="AndroidWindowSplashScreenBackground" value="#000000" />
<!-- Required to get cordova-plugin-safariviewcontroller to call Chrome CustomTabs on
Android. -->
<config-file target="AndroidManifest.xml" parent="/manifest">
<queries>
<intent>
<action android:name="android.support.customtabs.action.CustomTabsService" />
</intent>
</queries>
</config-file>
</platform>
<platform name="ios">
<allow-intent href="itms:*" />
<allow-intent href="itms-apps:*" />
<preference name="SwiftVersion" value="5.3" />
<!-- Required by admob-plus plugin > version 2 -->
<preference name="deployment-target" value="13.0" />
<!-- GDJS_ICONS_IOS -->
</platform>
<preference name="AndroidXEnabled" value="true" />
<preference name="BackgroundColor" value="0xff000000" />
<!-- Android Fullscreen -->
<preference name="Fullscreen" value="true" />
<!-- Cordova/Phonegap version -->
<preference name="phonegap-version" value="cli-9.0.0" />
<!-- GDJS_EXTENSION_CORDOVA_DEPENDENCY -->
</widget>