forked from IndoorAtlas/cordova-plugin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
plugin.xml
108 lines (100 loc) · 4.43 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
<?xml version="1.0" encoding="UTF-8"?>
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
id="cordova-plugin-indooratlas"
version="3.0.2">
<name>IndoorAtlas</name>
<description>IndoorAtlas Cordova Plugin.</description>
<engines>
<engine name="cordova" version=">=3.6.0"/>
<engine name="cordova-plugman" version=">=4.2.0"/><!-- needed for gradleReference support -->
</engines>
<js-module src="www/Coordinates.js" name="Coordinates">
<clobbers target="IndoorAtlas.Coordinates"/>
</js-module>
<js-module src="www/Orientation.js" name="Orientation">
<clobbers target="IndoorAtlas.Orientation"/>
</js-module>
<js-module src="www/CurrentStatus.js" name="CurrentStatus">
<clobbers target="IndoorAtlas.CurrentStatus"/>
</js-module>
<js-module src="www/Position.js" name="Position">
<clobbers target="IndoorAtlas.Position"/>
</js-module>
<js-module src="www/FloorPlan.js" name="FloorPlan">
<clobbers target="IndoorAtlas.FloorPlan"/>
</js-module>
<js-module src="www/Venue.js" name="Venue">
<clobbers target="IndoorAtlas.Venue"/>
</js-module>
<js-module src="www/CoordinateTransforms.js" name="CoordinateTransforms">
</js-module>
<js-module src="www/RegionChangeObserver.js" name="RegionChangeObserver">
</js-module>
<js-module src="www/RoutingLeg.js" name="RoutingLeg">
<clobbers target="IndoorAtlas.RoutingLeg"/>
</js-module>
<js-module src="www/RoutingPoint.js" name="RoutingPoint">
<clobbers target="IndoorAtlas.RoutingPoint"/>
</js-module>
<js-module src="www/Route.js" name="Route">
<clobbers target="IndoorAtlas.Route"/>
</js-module>
<js-module src="www/IndoorAtlas.js" name="IndoorAtlas">
<merges target="IndoorAtlas"/>
</js-module>
<!-- ios -->
<platform name="ios">
<config-file target="*-Info.plist" parent="NSLocationWhenInUseUsageDescription">
<string>Platform location requested for better indoor positioning experience.</string>
</config-file>
<config-file target="*-Info.plist" parent="IAWrapper">
<dict>
<key>name</key>
<string>cordova</string>
<key>version</key>
<string>3.0.2</string>
</dict>
</config-file>
<framework src="CFNetwork.framework"/>
<framework src="CoreLocation.framework"/>
<framework src="CoreMotion.framework"/>
<framework src="CoreBluetooth.framework"/>
<framework src="Security.framework"/>
<framework src="SystemConfiguration.framework"/>
<framework src="libz.dylib"/>
<framework src="libc++.dylib"/>
<framework src="src/ios/IndoorAtlas/IndoorAtlas.framework" custom="true" embed="true"/>
<config-file target="config.xml" parent="/*">
<feature name="IndoorAtlas">
<param name="ios-package" value="IndoorLocation"/>
</feature>
</config-file>
<header-file src="src/ios/IndoorAtlasLocationService.h"/>
<source-file src="src/ios/IndoorAtlasLocationService.m"/>
<header-file src="src/ios/IndoorLocation.h"/>
<source-file src="src/ios/IndoorLocation.m"/>
</platform>
<!-- android -->
<platform name="android">
<framework src="src/android/indooratlas.gradle" custom="true" type="gradleReference"/>
<config-file target="res/xml/config.xml" parent="/*">
<feature name="IndoorAtlas">
<param name="android-package" value="com.ialocation.plugin.IALocationPlugin"/>
<param name="onload" value="true"/>
</feature>
</config-file>
<config-file target="AndroidManifest.xml" parent="/*">
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/>
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
<uses-permission android:name="android.permission.BLUETOOTH"/>
<uses-permission android:name="android.permission.BLUETOOTH_ADMIN"/>
<uses-permission android:name="android.permission.CHANGE_WIFI_STATE"/>
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE"/>
</config-file>
<source-file src="src/android/IALocationPlugin.java" target-dir="src/com/ialocation/plugin"/>
<source-file src="src/android/IndoorLocationListener.java" target-dir="src/com/ialocation/plugin"/>
<source-file src="src/android/PositionError.java" target-dir="src/com/ialocation/plugin"/>
<source-file src="src/android/CurrentStatus.java" target-dir="src/com/ialocation/plugin"/>
</platform>
</plugin>