You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
PackageHelper/config.xml

98 lines
6.0 KiB
XML

<?xml version='1.0' encoding='utf-8'?>
<widget id="com.netsyms.PackageHelper" version="1.6.2" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">
<name short="PH">PackageHelper</name>
<description>
Assistant app for door-to-door package delivery.
</description>
<author email="dev@netsyms.com" href="https://netsyms.com">
Netsyms Technologies
</author>
<content src="index.html" />
<plugin name="cordova-plugin-whitelist" spec="1" />
<access origin="*" />
<allow-navigation href="https://*.netsyms.com/*" />
<allow-navigation href="https://apis.netsyms.net/*" />
<allow-navigation href="https://maps.netsyms.net/*" />
<allow-intent href="http://*/*" />
<allow-intent href="https://*/*" />
<allow-intent href="tel:*" />
<allow-intent href="sms:*" />
<allow-intent href="mailto:*" />
<allow-intent href="geo:*" />
<icon src="res/logo.png" />
<access launch-external="yes" origin="geo:*" />
<platform name="android">
<hook src="scripts/npm_prepare.sh" type="before_prepare" />
<allow-intent href="market:*" />
<preference name="HeaderColor" value="#2196F3" />
<resource-file src="/res/android/drawable/ic_launcher_background.xml" target="/app/src/main/res/drawable/ic_launcher_background.xml" />
<resource-file src="/res/android/drawable/ic_launcher_foreground.xml" target="/app/src/main/res/drawable/ic_launcher_foreground.xml" />
<resource-file src="res/android/mipmap-anydpi-v26/ic_launcher.xml" target="app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml" />
<icon background="res/android/drawable/ic_launcher_background.xml" density="mdpi" foreground="res/android/drawable/ic_launcher_foreground.xml" src="res/android/mipmap-mdpi/ic_launcher.png" />
<icon background="res/android/drawable/ic_launcher_background.xml" density="hdpi" foreground="res/android/drawable/ic_launcher_foreground.xml" src="res/android/mipmap-hdpi/ic_launcher.png" />
<icon background="res/android/drawable/ic_launcher_background.xml" density="xhdpi" foreground="res/android/drawable/ic_launcher_foreground.xml" src="res/android/mipmap-xhdpi/ic_launcher.png" />
<icon background="res/android/drawable/ic_launcher_background.xml" density="xxhdpi" foreground="res/android/drawable/ic_launcher_foreground.xml" src="res/android/mipmap-xxhdpi/ic_launcher.png" />
<icon background="res/android/drawable/ic_launcher_background.xml" density="xxxhdpi" foreground="res/android/drawable/ic_launcher_foreground.xml" src="res/android/mipmap-xxxhdpi/ic_launcher.png" />
</platform>
<platform name="ios">
<hook src="scripts/npm_prepare.sh" type="before_prepare" />
<hook src="scripts/remove_powermanagement.sh" type="before_prepare" />
<preference name="StatusBarOverlaysWebView" value="false" />
<preference name="DisallowOverscroll" value="true" />
<allow-intent href="itms:*" />
<allow-intent href="itms-apps:*" />
<preference name="scheme" value="app" />
<preference name="hostname" value="localhost" />
<!-- iOS 8.0+ -->
<!-- iPhone 6 Plus -->
<icon src="res/ios/icon/icon-60@3x.png" width="180" height="180" />
<!-- iOS 7.0+ -->
<!-- iPhone / iPod Touch -->
<icon src="res/ios/icon/icon-60.png" width="60" height="60" />
<icon src="res/ios/icon/icon-60@2x.png" width="120" height="120" />
<!-- iPad -->
<icon src="res/ios/icon/icon-76.png" width="76" height="76" />
<icon src="res/ios/icon/icon-76@2x.png" width="152" height="152" />
<!-- Spotlight Icon -->
<icon src="res/ios/icon/icon-small-40.png" width="40" height="40" />
<icon src="res/ios/icon/icon-small-40@2x.png" width="80" height="80" />
<!-- iOS 6.1 -->
<!-- iPhone / iPod Touch -->
<icon src="res/ios/icon/icon.png" width="57" height="57" />
<icon src="res/ios/icon/icon@2x.png" width="114" height="114" />
<!-- iPad -->
<icon src="res/ios/icon/icon-72.png" width="72" height="72" />
<icon src="res/ios/icon/icon-72@2x.png" width="144" height="144" />
<!-- iPad Pro -->
<icon src="res/ios/icon/icon-167.png" width="167" height="167" />
<!-- iPhone Spotlight and Settings Icon -->
<icon src="res/ios/icon/icon-small.png" width="29" height="29" />
<icon src="res/ios/icon/icon-small@2x.png" width="58" height="58" />
<icon src="res/ios/icon/icon-small@3x.png" width="87" height="87" />
<!-- iPad Spotlight and Settings Icon -->
<icon src="res/ios/icon/icon-small-50.png" width="50" height="50" />
<icon src="res/ios/icon/icon-small-50@2x.png" width="100" height="100" />
<!-- iPad Pro -->
<icon src="res/ios/icon/icon-83.5@2x.png" width="167" height="167" />
<!-- iTunes Marketing Image -->
<icon src="res/ios/icon/icon-1024.png" width="1024" height="1024" />
<edit-config target="NSCameraUsageDescription" file="*-Info.plist" mode="merge">
<string>The camera is used to scan barcodes.</string>
</edit-config>
<edit-config target="NSLocationWhenInUseUsageDescription" file="*-Info.plist" mode="merge">
<string>Your location is used to provide proximity alerts and other app features. It is only transmitted when you submit a map calibration.</string>
</edit-config>
<edit-config target="NSLocationAlwaysAndWhenInUseUsageDescription" file="*-Info.plist" mode="merge">
<string>Your location is used to provide proximity alerts and other app features. It is only transmitted when you submit a map calibration.</string>
</edit-config>
<edit-config target="NSLocationAlwaysUsageDescription" file="*-Info.plist" mode="merge">
<string>Your location is used to provide proximity alerts and other app features. It is only transmitted when you submit a map calibration.</string>
</edit-config>
</platform>
</widget>