forked from hashlab/plugin-cordova
-
Notifications
You must be signed in to change notification settings - Fork 0
/
plugin.xml
53 lines (40 loc) · 1.96 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
<?xml version="1.0" encoding="utf-8"?>
<plugin xmlns="http://www.phonegap.com/ns/plugins/1.0"
id="cordova-plugin-stone-sdk"
version="0.4.0">
<name>Stone SDK</name>
<description>Cordova Stone SDK Device Plugin</description>
<asset src="www/stone_sdk.js" target="js/stone_sdk.js"/>
<js-module src="www/stone_sdk.js" name="stone_sdk">
<clobbers target="stone_sdk" />
</js-module>
<!-- Android -->
<platform name="android">
<config-file target="res/xml/config.xml" parent="/*">
<feature name="StoneSDK">
<param name="android-package" value="br.com.stone.cordova.sdk.StoneSDK"/>
</feature>
</config-file>
<config-file target="AndroidManifest.xml" parent="/*">
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.BLUETOOTH_ADMIN" />
<uses-permission android:name="android.permission.GET_ACCOUNTS" />
<uses-permission android:name="android.permission.BLUETOOTH" />
<uses-permission android:name="android.permission.INTERNET" />
</config-file>
<framework src="src/android/build.gradle" custom="true" type="gradleReference" />
<source-file src="src/android/StoneSDK.java" target-dir="src/br/com/stone/cordova/sdk/" />
</platform>
<!-- iOS -->
<platform name="ios">
<config-file target="config.xml" parent="/widget">
<feature name="StoneSDK">
<param name="ios-package" value="StoneSDK" />
</feature>
</config-file>
<header-file src="src/ios/StoneSDK.h" target-dir="StoneSDK" />
<source-file src="src/ios/StoneSDK.m" target-dir="StoneSDK" />
</platform>
</plugin>