pd_officer/plugins/uk.co.workingedge.phonegap.plugin.launchnavigator/plugin.xml

122 lines
4.2 KiB
XML
Executable File

<?xml version="1.0" encoding="UTF-8"?>
<plugin
xmlns="http://apache.org/cordova/ns/plugins/1.0"
xmlns:android="http://schemas.android.com/apk/res/android"
id="uk.co.workingedge.phonegap.plugin.launchnavigator"
version="4.2.2">
<name>Launch Navigator</name>
<description>Cordova/Phonegap plugin to navigate to a destination using native navigation apps on Android, iOS, and Windows Phone</description>
<author>Dave Alden</author>
<engines>
<engine name="cordova" version=">=7.1.0"/>
<engine name="cordova-android" version=">=6.3.0"/>
<engine name="cordova-ios" version=">=4.3.0"/>
</engines>
<repo>https://github.com/dpa99c/phonegap-launch-navigator.git</repo>
<issue>https://github.com/dpa99c/phonegap-launch-navigator/issues</issue>
<license>MIT</license>
<keywords>cordova,phonegap,ios,android,windows,navigation,navigator</keywords>
<js-module src="www/common.js" name="Common">
<clobbers target="launchnavigator" />
</js-module>
<js-module src="www/localforage.v1.5.0.min.js" name="LocalForage">
<clobbers target="localforage" />
</js-module>
<!-- android -->
<platform name="android">
<dependency id="cordova-plugin-actionsheet" version="2" />
<dependency id="cordova-plugin-dialogs" version="*" />
<js-module src="www/android/launchnavigator.js" name="LaunchNavigator">
<merges target="launchnavigator" />
</js-module>
<config-file target="res/xml/config.xml" parent="/*">
<feature name="LaunchNavigator">
<param name="android-package" value="uk.co.workingedge.phonegap.plugin.LaunchNavigator"/>
</feature>
</config-file>
<source-file src="src/android/LaunchNavigator.java" target-dir="src/uk/co/workingedge/phonegap/plugin" />
<config-file target="AndroidManifest.xml" parent="/*">
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
</config-file>
<preference name="OKHTTP_VERSION" default="3.+" />
<framework src="com.squareup.okhttp3:okhttp:$OKHTTP_VERSION" />
</platform>
<!-- ios -->
<platform name="ios">
<dependency id="cordova-plugin-actionsheet" version="2" />
<dependency id="cordova-plugin-dialogs" version="*" />
<js-module src="www/ios/launchnavigator.js" name="LaunchNavigator">
<merges target="launchnavigator" />
</js-module>
<config-file target="config.xml" parent="/*">
<feature name="LaunchNavigator">
<param name="ios-package" value="LaunchNavigator"/>
</feature>
</config-file>
<header-file src="src/ios/LaunchNavigator.h" />
<source-file src="src/ios/LaunchNavigator.m" />
<header-file src="src/ios/LN_Reachability.h" />
<source-file src="src/ios/LN_Reachability.m" />
<framework src="MapKit.framework" />
<framework src="CoreLocation.framework" />
<framework src="SystemConfiguration.framework" />
<config-file target="*-Info.plist" parent="LSApplicationQueriesSchemes">
<array>
<string>citymapper</string>
<string>comgooglemaps</string>
<string>navigon</string>
<string>transit</string>
<string>waze</string>
<string>yandexnavi</string>
<string>uber</string>
<string>tomtomhome</string>
<string>com.sygic.aura</string>
<string>here-route</string>
<string>moovit</string>
<string>lyft</string>
<string>mapsme</string>
<string>cabify</string>
<string>baidumap</string>
<string>taxis99</string>
<string>iosamap</string>
</array>
</config-file>
<preference name="LOCATION_USAGE_DESCRIPTION" default="This app requires access to your location for navigation purposes" />
<config-file target="*-Info.plist" parent="NSLocationWhenInUseUsageDescription">
<string>$LOCATION_USAGE_DESCRIPTION</string>
</config-file>
</platform>
<!-- windows -->
<platform name="windows">
<js-module src="www/windows/launchnavigator.js" name="LaunchNavigator">
<merges target="launchnavigator" />
</js-module>
</platform>
<!-- wp8 -->
<platform name="wp8">
<js-module src="www/wp8/launchnavigator.js" name="LaunchNavigator">
<merges target="launchnavigator" />
</js-module>
</platform>
</plugin>