forked from jointag/JTProximitySDK-Cordova
-
Notifications
You must be signed in to change notification settings - Fork 0
/
plugin.xml
63 lines (63 loc) · 2.88 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
<?xml version='1.0' encoding='utf-8'?>
<plugin id="cordova-plugin-jointag-proximity" version="0.2.0" xmlns="http://apache.org/cordova/ns/plugins/1.0"
xmlns:android="http://schemas.android.com/apk/res/android">
<name>cordova-plugin-jointag-proximity</name>
<js-module name="Kariboo" src="www/cordova-plugin-jointag-proximity.js">
<clobbers target="Kariboo"/>
</js-module>
<preference name="KARIBOO_ID"/>
<dependecy id="cordova-plugin-enable-multidex" version="0.1.3"/>
<preference name="KARIBOO_SECRET"/>
<platform name="ios">
<config-file parent="/*" target="config.xml">
<feature name="KaribooPlugin">
<param name="ios-package" value="KaribooPlugin"/>
<param name="onload" value="true"/>
</feature>
</config-file>
<config-file target="*-Info.plist" parent="UIBackgroundModes">
<array>
<string>location</string>
</array>
</config-file>
<config-file target="*-Info.plist" parent="NSLocationWhenInUseUsageDescription">
<string>Questa applicazione ha bisogno di accedere alla tua posizione per fornirti un'esperienza ottimale.
</string>
</config-file>
<config-file target="*-Info.plist" parent="NSLocationAlwaysAndWhenInUseUsageDescription">
<string>Questa applicazione ha bisogno di accedere alla tua posizione per fornirti un'esperienza ottimale.
</string>
</config-file>
<config-file target="*-Info.plist" parent="NSLocationAlwaysUsageDescription">
<string>Questa applicazione ha bisogno di accedere alla tua posizione per fornirti un'esperienza ottimale.
</string>
</config-file>
<config-file target="*-Info.plist" parent="KaribooID">
<string>$KARIBOO_ID</string>
</config-file>
<config-file target="*-Info.plist" parent="KaribooSecret">
<string>$KARIBOO_SECRET</string>
</config-file>
<source-file src="src/ios/KaribooPlugin.m"/>
<framework src="JTProximitySDK" type="podspec" spec="~> 1.4.0"/>
</platform>
<platform name="android">
<config-file parent="/*" target="res/xml/config.xml">
<feature name="KaribooPlugin">
<param name="android-package" value="com.jointag.cordova.KaribooPlugin"/>
<param name="onload" value="true"/>
</feature>
</config-file>
<config-file parent="/*" target="res/values/strings.xml">
<string name="kariboo_id">$KARIBOO_ID</string>
<string name="kariboo_secret">$KARIBOO_SECRET</string>
</config-file>
<config-file parent="/*" target="AndroidManifest.xml">
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
</config-file>
<source-file src="src/android/KaribooPlugin.java" target-dir="src/com/jointag/cordova"/>
<framework src="src/android/Kariboo.gradle" custom="true" type="gradleReference"/>
<hook type="before_build" src="hooks/android.js"/>
<hook type="before_run" src="hooks/android.js"/>
</platform>
</plugin>