Fix Cordova plugins

This commit is contained in:
Skylar Ittner 2019-09-10 22:01:28 -06:00
parent 980abf000e
commit dd52f5a135
2 changed files with 19 additions and 16 deletions

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8" standalone="no"?> <?xml version='1.0' encoding='utf-8'?>
<widget xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0" id="com.netsyms.PackageHelper" version="1.0.0"> <widget id="com.netsyms.PackageHelper" version="1.0.0" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">
<name>PackageHelper</name> <name>PackageHelper</name>
<description> <description>
Assistant app for door-to-door package delivery. Assistant app for door-to-door package delivery.
@ -7,28 +7,30 @@
<author email="contact@netsyms.com" href="https://netsyms.com"> <author email="contact@netsyms.com" href="https://netsyms.com">
Netsyms Technologies Netsyms Technologies
</author> </author>
<content src="index.html"/> <content src="index.html" />
<plugin name="cordova-plugin-whitelist" spec="1"/>
<platform name="android"> <platform name="android">
<!--<icon background="res/android/drawable/ic_launcher_background.xml" density="ldpi" foreground="res/android/drawable/ic_launcher_foreground.xml" src="res/android/mipmap-ldpi/ic_launcher.png" />-->
<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="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="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="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="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" /> <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>
<access origin="*"/> <access origin="*" />
<allow-intent href="http://*/*"/> <allow-intent href="http://*/*" />
<allow-intent href="https://*/*"/> <allow-intent href="https://*/*" />
<allow-intent href="tel:*"/> <allow-intent href="tel:*" />
<allow-intent href="sms:*"/> <allow-intent href="sms:*" />
<allow-intent href="mailto:*"/> <allow-intent href="mailto:*" />
<allow-intent href="geo:*"/> <allow-intent href="geo:*" />
<platform name="android"> <platform name="android">
<allow-intent href="market:*"/> <allow-intent href="market:*" />
</platform> </platform>
<platform name="ios"> <platform name="ios">
<allow-intent href="itms:*"/> <allow-intent href="itms:*" />
<allow-intent href="itms-apps:*"/> <allow-intent href="itms-apps:*" />
</platform> </platform>
<plugin name="cordova-plugin-geolocation" spec="~4.0.2" />
<plugin name="cordova-plugin-whitelist" spec="1" />
<plugin name="at.gofg.sportscomputer.powermanagement" spec="~1.1.0" />
<plugin name="cordova-plugin-inappbrowser" spec="~3.1.0" />
</widget> </widget>

View File

@ -16,7 +16,8 @@
"plugins": { "plugins": {
"cordova-plugin-geolocation": {}, "cordova-plugin-geolocation": {},
"cordova-plugin-whitelist": {}, "cordova-plugin-whitelist": {},
"at.gofg.sportscomputer.powermanagement": {} "at.gofg.sportscomputer.powermanagement": {},
"cordova-plugin-inappbrowser": {}
}, },
"platforms": [ "platforms": [
"android" "android"