-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplugin.xml
72 lines (60 loc) · 2.47 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
<?xml version="1.0" encoding="UTF-8"?>
<plugin xmlns="http://www.phonegap.com/ns/plugins/1.0"
xmlns:android="http://schemas.android.com/apk/res/android"
id="com.kreditech.plugins.emma"
version="0.0.1">
<name>emma</name>
<author>Vyacheslav Shabelnik</author>
<description>
This plugin allows you to post usage information to your Emma Analytics account.
</description>
<license>MIT</license>
<js-module src="www/emma.js" name="emma">
<clobbers target="emma" />
</js-module>
<engines>
<engine name="cordova" version=">=3.0.0" />
</engines>
<platform name="android">
<config-file target="res/xml/config.xml" parent="/*">
<feature name="emma" >
<param name="android-package" value="com.kreditech.plugins.emma"/>
</feature>
</config-file>
<config-file target="AndroidManifest.xml" parent="/manifest">
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.READ_PHONE_STATE" />
</config-file>
<config-file target="AndroidManifest.xml" parent="/manifest/application">
<receiver android:name="com.emma.android.eMMaReferralReceiver" android:exported="true">
<intent-filter>
<action android:name="com.android.vending.INSTALL_REFERRER"/>
</intent-filter>
</receiver>
</config-file>
<source-file src="src/android/emma.java"
target-dir="src/com/kreditech/plugins" />
<source-file src="src/android/eMMa.jar"
target-dir="libs" />
</platform>
<platform name="ios">
<config-file target="config.xml" parent="/*">
<feature name="emma">
<param name="ios-package" value="emma"/>
</feature>
</config-file>
<source-file src="src/ios/emma.m" />
<source-file src="src/ios/libeMMa-Universal.a" framework="true" />
<header-file src="src/ios/eMMa.h" />
<framework src="CoreData.framework" />
<framework src="SystemConfiguration.framework" />
<framework src="MobileCoreServices.framework" />
<framework src="CFNetwork.framework" />
<framework src="CoreGraphics.framework" />
<framework src="SystemConfiguration.framework" />
<framework src="Libz.dylib" />
<framework src="AdSupport.framework" />
<framework src="CoreTelephony.framework" />
</platform>
</plugin>