PubCodeAppRCF/config.xml

43 lines
2.3 KiB
XML

<?xml version='1.0' encoding='utf-8'?>
<widget id="it.radiocittafujiko.app" version="1.2.0" 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">
<name>RadioCittàFujiko</name>
<description>
Rcf reader
</description>
<author email="info@digitigrafo" href="https://www.digitigrafo.it">
digitigrafo
</author>
<content src="index.html" />
<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:*" />
<platform name="android">
<allow-intent href="market:*" />
<config-file parent="/*" target="AndroidManifest.xml">
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.WAKE_LOCK" />
<uses-permission android:name="android.permission.REQUEST_IGNORE_BATTERY_OPTIMIZATIONS" />
</config-file>
<hook type="after_prepare" src="./hooks/after_prepare/030_remove_permissions.js" />
<edit-config file="app/src/main/AndroidManifest.xml" mode="merge" target="/manifest/application" xmlns:android="http://schemas.android.com/apk/res/android">
<application android:networkSecurityConfig="@xml/network_security_config" />
</edit-config>
<resource-file src="network_security_config.xml" target="app/src/main/res/xml/network_security_config.xml" />
<icon density="ldpi" src="./res/icon/android/ldpi.png" />
<icon density="mdpi" src="./res/icon/android/mdpi.png" />
<icon density="hdpi" src="./res/icon/android/hdpi.png" />
<icon density="xhdpi" src="./res/icon/android/xhdpi.png" />
<icon density="xxhdpi" src="./res/icon/android/xhdpi.png" />
<icon density="xxxhdpi" src="./res/icon/android/xhdpi.png" />
<preference name="ShowSplashScreenSpinner" value="false" />
<preference name="AndroidWindowSplashScreenAnimatedIcon" value="./res/screen/android/splashscreen.xml" />
</platform>
<platform name="ios">
<allow-intent href="itms:*" />
<allow-intent href="itms-apps:*" />
</platform>
</widget>