-
-
Notifications
You must be signed in to change notification settings - Fork 131
/
plugin.xml
139 lines (115 loc) · 5.05 KB
/
plugin.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
<?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="5.0.6">
<name>Launch Navigator</name>
<description>Cordova/Phonegap plugin to navigate to a destination using native navigation apps on Android, iOS, and Windows</description>
<author>Dave Alden</author>
<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">
<preference name="GOOGLE_API_KEY_FOR_ANDROID" />
<config-file target="AndroidManifest.xml" parent="/manifest/application">
<meta-data
android:name="launchnavigator.GOOGLE_API_KEY"
android:value="$GOOGLE_API_KEY_FOR_ANDROID" />
</config-file>
<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.LaunchNavigatorPlugin"/>
</feature>
</config-file>
<!-- Cordova wrapper -->
<source-file src="src/android/LaunchNavigatorPlugin.java" target-dir="src/uk/co/workingedge/phonegap/plugin" />
<source-file src="src/android/CordovaLogger.java" target-dir="src/uk/co/workingedge/phonegap/plugin" />
<!-- LaunchNavigator lib -->
<source-file src="src/android/lib/LaunchNavigator.java" target-dir="src/uk/co/workingedge" />
<source-file src="src/android/lib/ILogger.java" target-dir="src/uk/co/workingedge" />
<config-file target="AndroidManifest.xml" parent="/*">
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<queries>
<intent>
<action android:name="android.intent.action.VIEW"/>
<data android:scheme="geo" />
</intent>
</queries>
</config-file>
<preference name="OKHTTP_VERSION" default="3.12.0" />
<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="LaunchNavigatorPlugin"/>
</feature>
</config-file>
<!-- Cordova wrapper -->
<header-file src="src/ios/LaunchNavigatorPlugin.h" />
<source-file src="src/ios/LaunchNavigatorPlugin.m" />
<header-file src="src/ios/WE_CordovaLogger.h" />
<source-file src="src/ios/WE_CordovaLogger.m" />
<!-- LaunchNavigator lib -->
<header-file src="src/ios/lib/LN_LaunchNavigator.h" />
<source-file src="src/ios/lib/LN_LaunchNavigator.m" />
<header-file src="src/ios/lib/LN_Reachability.h" />
<source-file src="src/ios/lib/LN_Reachability.m" />
<header-file src="src/ios/lib/WE_Logger.h" />
<source-file src="src/ios/lib/WE_Logger.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>
</plugin>