-
Notifications
You must be signed in to change notification settings - Fork 0
/
plugin.xml
125 lines (115 loc) · 8.37 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
<?xml version="1.0" encoding="UTF-8"?>
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
xmlns:rim="http://www.blackberry.com/ns/widgets"
xmlns:android="http://schemas.android.com/apk/res/android"
id="org.ssgroup.sope.cordova.baiduNavi"
version="0.6.1">
<name>Baidu</name>
<description>一个关于百度定位导航的Cordova插件</description>
<license>MIT</license>
<keywords>cordova,baidu,navigation,location</keywords>
<!-- add this to your config.xml -->
<!--preference name="BaiduAppKey" /-->
<!--require cordova version -->
<engines>
<engine name="cordova" version=">=3.5.0" />
</engines>
<!-- js module-->
<js-module src="www/baidu.js" name="Baidu">
<clobbers target="somai.baidu" />
</js-module>
<!-- ios -->
<platform name="ios">
<config-file target="config.xml" parent="/*">
<feature name="Baidu">
<param name="ios-package" value="CDVBaiduNavi"/>
<!--param name="onload" value="true" /-->
</feature>
<!--preference name="BaiduAppKey" value="$BaiduAppKey"/-->
<preference name="Valid Architecutres" value="armv7,arm64"/>
</config-file>
<config-file target="*-Info.plist" parent="CFBundleURLTypes">
<array>
<dict>
<key>Required background modes</key>
<array>
<string>App plays audio or streams audio/video using AirPlay</string>
<string>App registers for location updates</string>
</array>
<key>Supported interface orientations</key>
<array>
<string>Portrait (bottom home button)</string>
<string>Portrait (top home button)</string>
<string>Landscape (left home button)</string>
<string>Landscape (right home button)</string>
</array>
<key>NSLocationAlwaysUsageDescription</key>
<string>只有开启定位功能才能正常使用百度导航</string>
</dict>
</array>
</config-file>
<!-- Plugin source code -->
<header-file src="src/ios/CDVBaiduNavi.h" />
<source-file src="src/ios/CDVBaiduNavi.m" />
<header-file src="src/ios/BaiduNaviViewController.h" />
<source-file src="src/ios/BaiduNaviViewController.m" />
<!-- Baidu Official -->
<resource-file src="src/ios/libs/BaiduNaviSDK/baiduNaviSDK.bundle" />
<header-file src="src/ios/libs/BaiduNaviSDK/BaiduStatistics/BaiduMobStat.h" />
<header-file src="src/ios/libs/BaiduNaviSDK/BaiduStatistics/TouchJSON/CDataScanner.h" compiler-flags="-fno-objc-arc"/>
<source-file src="src/ios/libs/BaiduNaviSDK/BaiduStatistics/TouchJSON/CDataScanner.m" compiler-flags="-fno-objc-arc"/>
<header-file src="src/ios/libs/BaiduNaviSDK/BaiduStatistics/TouchJSON/Experimental/CFilteringJSONSerializer.h" compiler-flags="-fno-objc-arc"/>
<source-file src="src/ios/libs/BaiduNaviSDK/BaiduStatistics/TouchJSON/Experimental/CFilteringJSONSerializer.m" compiler-flags="-fno-objc-arc"/>
<header-file src="src/ios/libs/BaiduNaviSDK/BaiduStatistics/TouchJSON/Experimental/CJSONDeserializer_BlocksExtensions.h" compiler-flags="-fno-objc-arc"/>
<source-file src="src/ios/libs/BaiduNaviSDK/BaiduStatistics/TouchJSON/Experimental/CJSONDeserializer_BlocksExtensions.m" compiler-flags="-fno-objc-arc"/>
<header-file src="src/ios/libs/BaiduNaviSDK/BaiduStatistics/TouchJSON/Experimental/CJSONSerialization.h" compiler-flags="-fno-objc-arc"/>
<source-file src="src/ios/libs/BaiduNaviSDK/BaiduStatistics/TouchJSON/Experimental/CJSONSerialization.m" compiler-flags="-fno-objc-arc"/>
<header-file src="src/ios/libs/BaiduNaviSDK/BaiduStatistics/TouchJSON/Experimental/CJSONSerializedData.h" compiler-flags="-fno-objc-arc"/>
<source-file src="src/ios/libs/BaiduNaviSDK/BaiduStatistics/TouchJSON/Experimental/CJSONSerializedData.m" compiler-flags="-fno-objc-arc"/>
<header-file src="src/ios/libs/BaiduNaviSDK/BaiduStatistics/TouchJSON/Extensions/CDataScanner_Extensions.h" compiler-flags="-fno-objc-arc"/>
<source-file src="src/ios/libs/BaiduNaviSDK/BaiduStatistics/TouchJSON/Extensions/CDataScanner_Extensions.m" compiler-flags="-fno-objc-arc"/>
<header-file src="src/ios/libs/BaiduNaviSDK/BaiduStatistics/TouchJSON/Extensions/NSCharacterSet_Extensions.h" compiler-flags="-fno-objc-arc"/>
<source-file src="src/ios/libs/BaiduNaviSDK/BaiduStatistics/TouchJSON/Extensions/NSCharacterSet_Extensions.m" compiler-flags="-fno-objc-arc"/>
<header-file src="src/ios/libs/BaiduNaviSDK/BaiduStatistics/TouchJSON/Extensions/NSDictionary_JSONExtensions.h" compiler-flags="-fno-objc-arc"/>
<source-file src="src/ios/libs/BaiduNaviSDK/BaiduStatistics/TouchJSON/Extensions/NSDictionary_JSONExtensions.m" compiler-flags="-fno-objc-arc"/>
<header-file src="src/ios/libs/BaiduNaviSDK/BaiduStatistics/TouchJSON/Extensions/NSScanner_Extensions.h" compiler-flags="-fno-objc-arc"/>
<source-file src="src/ios/libs/BaiduNaviSDK/BaiduStatistics/TouchJSON/Extensions/NSScanner_Extensions.m" compiler-flags="-fno-objc-arc"/>
<header-file src="src/ios/libs/BaiduNaviSDK/BaiduStatistics/TouchJSON/JSON/CJSONDataSerializer.h" compiler-flags="-fno-objc-arc"/>
<source-file src="src/ios/libs/BaiduNaviSDK/BaiduStatistics/TouchJSON/JSON/CJSONDataSerializer.m" compiler-flags="-fno-objc-arc"/>
<header-file src="src/ios/libs/BaiduNaviSDK/BaiduStatistics/TouchJSON/JSON/CJSONDeserializer.h" compiler-flags="-fno-objc-arc"/>
<source-file src="src/ios/libs/BaiduNaviSDK/BaiduStatistics/TouchJSON/JSON/CJSONDeserializer.m" compiler-flags="-fno-objc-arc"/>
<header-file src="src/ios/libs/BaiduNaviSDK/BaiduStatistics/TouchJSON/JSON/CJSONScanner.h" compiler-flags="-fno-objc-arc"/>
<source-file src="src/ios/libs/BaiduNaviSDK/BaiduStatistics/TouchJSON/JSON/CJSONScanner.m" compiler-flags="-fno-objc-arc"/>
<header-file src="src/ios/libs/BaiduNaviSDK/BaiduStatistics/TouchJSON/JSON/CJSONSerializer.h" compiler-flags="-fno-objc-arc"/>
<source-file src="src/ios/libs/BaiduNaviSDK/BaiduStatistics/TouchJSON/JSON/CJSONSerializer.m" compiler-flags="-fno-objc-arc"/>
<header-file src="src/ios/libs/BaiduNaviSDK/BaiduStatistics/TouchJSON/JSON/CSerializedJSONData.h" compiler-flags="-fno-objc-arc"/>
<source-file src="src/ios/libs/BaiduNaviSDK/BaiduStatistics/TouchJSON/JSON/CSerializedJSONData.m" compiler-flags="-fno-objc-arc"/>
<header-file src="src/ios/libs/BaiduNaviSDK/BaiduStatistics/TouchJSON/JSON/JSONRepresentation.h" compiler-flags="-fno-objc-arc"/>
<header-file src="src/ios/libs/BaiduNaviSDK/inc/BNCommonDef.h" />
<header-file src="src/ios/libs/BaiduNaviSDK/inc/BNCoreServices.h" />
<header-file src="src/ios/libs/BaiduNaviSDK/inc/BNLocation.h" />
<header-file src="src/ios/libs/BaiduNaviSDK/inc/BNLocationManagerProtocol.h" />
<header-file src="src/ios/libs/BaiduNaviSDK/inc/BNRoutePlanManagerProtocol.h" />
<header-file src="src/ios/libs/BaiduNaviSDK/inc/BNRoutePlanModel.h" />
<header-file src="src/ios/libs/BaiduNaviSDK/inc/BNStrategyManagerProtocol.h" />
<header-file src="src/ios/libs/BaiduNaviSDK/inc/BNUIManagerProtocol.h" />
<!-- Other required frameworks -->
<framework src="AudioToolbox.framework" />
<framework src="ImageIO.framework" />
<framework src="CoreMotion.framework" />
<framework src="CoreLocation.framework" />
<framework src="CoreTelephony.framework" />
<framework src="MediaPlayer.framework" />
<framework src="AVFoundation.framework" />
<framework src="SystemConfiguration.framework" />
<framework src="libstdc++.6.0.9.dylib" />
<!--framework src="AssetsLibrary.framework" /-->
<!--framework src="CoreLocation.framework" /-->
<!--framework src="CoreGraphics.framework" /-->
<!--framework src="MobileCoreServices.framework" /-->
<!--source-file src="src/ios/libs/libstdc++.6.0.9.dylib" framework="true" /-->
<source-file src="src/ios/libs/BaiduNaviSDK/libbaiduNaviSDK.a" framework="true" />
<source-file src="src/ios/libs/BaiduNaviSDK/BaiduStatistics/BaiduMobStat.a" framework="true" />
</platform>
<!-- android -->
</plugin>