Skip to content

Instantly share code, notes, and snippets.

@thelucre
Created September 20, 2016 07:16
Show Gist options
  • Save thelucre/dd07998ad350b2916113a8c9a4823db4 to your computer and use it in GitHub Desktop.
Save thelucre/dd07998ad350b2916113a8c9a4823db4 to your computer and use it in GitHub Desktop.
<?xml version='1.0' encoding='utf-8'?>
<widget id="com.thelucre.artfolio" version="0.1.2" xmlns="http://www.w3.org/ns/widgets" xmlns:gap="http://phonegap.com/ns/1.0">
<content src="index.html" />
<!-- PLUGINS -->
<plugin name="cordova-plugin-whitelist" source="npm" spec="~1.2.1" />
<plugin name="phonegap-plugin-barcodescanner" spec="6.0.2">
<variable name="CAMERA_USAGE_DESCRIPTION" value="To scan barcodes" />
</plugin>
<plugin name="cordova-plugin-camera" source="npm" spec="~2.1.1" />
<plugin name="cordova-plugin-dialogs" source="npm" spec="~1.2.0" />
<plugin name="cordova-plugin-geolocation" source="npm" spec="~2.1.0" />
<plugin name="cordova-plugin-device" source="npm" spec="~1.1.1" />
<plugin name="cordova-plugin-splashscreen" source="npm" spec="~3.2.1" />
<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:*" />
<icon src="icon.png" />
<platform name="android">
<allow-intent href="market:*" />
</platform>
<platform name="ios">
<allow-intent href="itms:*" />
<allow-intent href="itms-apps:*" />
</platform>
<!-- PREFERENCES -->
<preference name="orientation" value="portrait" />
<preference name="android-build-tool" value="gradle" />
<preference name="permissions" value="INTERNET" />
<preference name="DisallowOverscroll" value="true" />
<config-file platform="ios" parent="NSLocationAlwaysUsageDescription" overwrite="false">
<array>
<string>Allow GPS</string>
</array>
</config-file>
</widget>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment