-
Notifications
You must be signed in to change notification settings - Fork 52
/
Copy pathplugin.xml
executable file
·118 lines (96 loc) · 4.74 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
<?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="cordova-plugin-mapbox"
version="1.2.3">
<name>Mapbox</name>
<description>Need native maps? Look no further!</description>
<author>Telerik / Eddy Verbruggen</author>
<license>MIT</license>
<keywords>Mapbox, Maps, Mapping, Native maps</keywords>
<repo>https://github.com/Telerik-Verified-Plugins/Mapbox</repo>
<preference name="ACCESS_TOKEN" />
<engines>
<engine name="cordova" version=">=3.5.0"/>
<!--engine name="cordova-android" version=">=4" /-->
<engine name="cordova-plugman" version=">=4.2.0"/><!-- needed for gradleReference support -->
</engines>
<js-module src="www/Mapbox.js" name="Mapbox">
<clobbers target="Mapbox" />
</js-module>
<!-- android -->
<platform name="android">
<config-file target="res/xml/config.xml" parent="/*">
<feature name="Mapbox">
<param name="android-package" value="com.telerik.plugins.mapbox.Mapbox" />
</feature>
</config-file>
<config-file target="AndroidManifest.xml" parent="/*">
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
</config-file>
<framework src="src/android/mapbox.gradle" custom="true" type="gradleReference"/>
<source-file src="src/android/Mapbox.java" target-dir="src/com/telerik/plugins/mapbox"/>
<!-- This leads to trouble in AppBuilder when compiling for Cordova-Android 4 -->
<!--source-file src="src/android/res/values/mapboxstrings.xml" target-dir="res/values" />
<config-file target="res/values/mapboxstrings.xml" parent="/*">
<string name="mapbox_accesstoken">$ACCESS_TOKEN</string>
</config-file-->
<config-file target="res/values/strings.xml" parent="/*">
<string name="mapbox_accesstoken">$ACCESS_TOKEN</string>
</config-file>
</platform>
<!-- iOS -->
<platform name="ios">
<config-file parent="/*" target="config.xml">
<feature name="Mapbox">
<param name="ios-package" value="CDVMapbox" />
</feature>
</config-file>
<config-file target="*-Info.plist" parent="MGLMapboxAccessToken">
<string>$ACCESS_TOKEN</string>
</config-file>
<config-file target="*-Info.plist" parent="MGLMapboxMetricsEnabledSettingShownInApp">
<true/>
</config-file>
<config-file target="*-Info.plist" parent="NSLocationWhenInUseUsageDescription">
<true/>
</config-file>
<header-file src="src/ios/CDVMapbox.h" />
<source-file src="src/ios/CDVMapbox.m" />
<!-- Downloaded iOS SDK version 3.0.1 from https://github.com/mapbox/mapbox-gl-native/releases -->
<header-file src="src/ios/Headers/Mapbox.h" />
<header-file src="src/ios/Headers/MGLAccountManager.h" />
<header-file src="src/ios/Headers/MGLAnnotation.h" />
<header-file src="src/ios/Headers/MGLAnnotationImage.h" />
<header-file src="src/ios/Headers/MGLGeometry.h" />
<header-file src="src/ios/Headers/MGLMapCamera.h" />
<header-file src="src/ios/Headers/MGLMapView+IBAdditions.h" />
<header-file src="src/ios/Headers/MGLMapView.h" />
<header-file src="src/ios/Headers/MGLMultiPoint.h" />
<header-file src="src/ios/Headers/MGLOverlay.h" />
<header-file src="src/ios/Headers/MGLPointAnnotation.h" />
<header-file src="src/ios/Headers/MGLPolygon.h" />
<header-file src="src/ios/Headers/MGLPolyline.h" />
<header-file src="src/ios/Headers/MGLShape.h" />
<header-file src="src/ios/Headers/MGLStyle.h" />
<header-file src="src/ios/Headers/MGLTypes.h" />
<header-file src="src/ios/Headers/MGLUserLocation.h" />
<source-file src="src/ios/libs/libMapbox.a" framework="true"/>
<resource-file src="src/ios/libs/Mapbox.bundle" />
<!-- This bundle adds a mandatory opt-out switch for Mapbox Metrics to the iOS Settings app -->
<resource-file src="src/ios/libs/Settings.bundle" />
<framework src="GLKit.framework" weak="true" />
<framework src="ImageIO.framework" weak="true" />
<framework src="MobileCoreServices.framework" weak="true" />
<framework src="QuartzCore.framework" weak="true" />
<framework src="SystemConfiguration.framework" weak="true" />
<framework src="libc++.dylib" weak="true" />
<framework src="libsqlite3.dylib" weak="true" />
<framework src="libz.dylib" weak="true" />
</platform>
</plugin>