forked from pfoster496/cordova-plugin-digits
-
Notifications
You must be signed in to change notification settings - Fork 0
/
plugin.xml
114 lines (96 loc) · 4.14 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
<?xml version="1.0" encoding="UTF-8"?>
<plugin
id="cordova-plugin-fabric-digits" version="1.0.4"
xmlns="http://cordova.apache.org/ns/plugins/1.0"
xmlns:android="http://schemas.android.com/apk/res/android">
<name>Fabric Digits</name>
<description>Digits.com for Cordova (iOS and Android)</description>
<author>Ahmed Wahba</author>
<license>MIT</license>
<keywords>cordova,digits.com,digits,fabric.io,fabric</keywords>
<preference name="FABRIC_API_KEY" />
<preference name="FABRIC_CONSUMER_KEY" />
<preference name="FABRIC_CONSUMER_SECRET" />
<engines>
<engine name="cordova" version=">=3.0.0" />
</engines>
<js-module src="www/digits.js" name="Digits">
<clobbers target="window.plugins.digits" />
</js-module>
<platform name="android">
<framework src="src/android/digits.gradle" custom="true" type="gradleReference" />
<hook type="before_build" src="www/hookStyle.js" />
<hook type="before_run" src="www/addStyle.js" />
<config-file target="res/xml/config.xml" parent="/*">
<feature name="Digits" >
<param name="android-package" value="com.jimmymakesthings.plugins.digits.CordovaDigits" />
</feature>
</config-file>
<config-file target="AndroidManifest.xml" parent="/manifest">
<preference name="android-minSdkVersion" value="10" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.READ_PHONE_STATE" />
<uses-permission android:name="android.permission.RECEIVE_SMS" />
</config-file>
<config-file target="AndroidManifest.xml" parent="/manifest/application">
<meta-data android:name="com.crashlytics.ApiKey" android:value="$FABRIC_API_KEY" />
<meta-data android:name="io.fabric.ApiKey" android:value="$FABRIC_API_KEY" />
<meta-data android:name="io.fabric.ConsumerKey" android:value="$FABRIC_CONSUMER_KEY" />
<meta-data android:name="io.fabric.ConsumerSecret" android:value="$FABRIC_CONSUMER_SECRET" />
</config-file>
<source-file src="src/android/CordovaDigits.java" target-dir="src/com/jimmymakesthings/plugins/digits" />
</platform>
<platform name="ios">
<config-file target="config.xml" parent="/*">
<feature name="Digits">
<param name="ios-package" value="CDVDigits" />
<param name="onload" value="true" />
</feature>
</config-file>
<header-file src="src/ios/CDVDigits.h" />
<source-file src="src/ios/CDVDigits.m" />
<config-file target="*-Info.plist" parent="Fabric">
<dict>
<key>APIKey</key>
<string>$FABRIC_API_KEY</string>
<key>Kits</key>
<array>
<dict>
<key>KitInfo</key>
<dict>
<key>consumerKey</key>
<string>$FABRIC_CONSUMER_KEY</string>
<key>consumerSecret</key>
<string>$FABRIC_CONSUMER_SECRET</string>
</dict>
<key>KitName</key>
<string>Digits</string>
</dict>
<dict>
<key>KitInfo</key>
<dict>
<key>consumerKey</key>
<string>$FABRIC_CONSUMER_KEY</string>
<key>consumerSecret</key>
<string>$FABRIC_CONSUMER_SECRET</string>
</dict>
<key>KitName</key>
<string>Crashlytics</string>
</dict>
</array>
</dict>
</config-file>
<framework src="src/ios/Crashlytics.framework" custom="true" />
<framework src="src/ios/DigitsKit.framework" custom="true" />
<framework src="src/ios/Fabric.framework" custom="true" />
<framework src="src/ios/TwitterCore.framework" custom="true" />
<framework src="Accounts.framework" weak="true" />
<framework src="AddressBook.framework" weak="true" />
<framework src="CoreData.framework" weak="true" />
<framework src="Foundation.framework" weak="true" />
<framework src="QuartzCore.framework" weak="true" />
<framework src="Security.framework" weak="true" />
<framework src="Social.framework" weak="true" />
<resource-file src="src/ios/DigitsKit.framework/Versions/A/Resources/DigitsKitResources.bundle" />
</platform>
</plugin>