forked from adjust/cordova_sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplugin.xml
76 lines (65 loc) · 2.82 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
<?xml version="1.0" encoding="UTF-8"?>
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
xmlns:android="http://schemas.android.com/apk/res/android"
id="com.adjust.sdk"
version="4.10.2">
<name>Adjust</name>
<description>Adjust plugin for Cordova</description>
<license>MIT License</license>
<keywords>adjust</keywords>
<author>adjust</author>
<engines>
<engine name="cordova-android" version=">=4.0.0" />
<engine name="cordova-ios" version=">=3.0.0" />
</engines>
<js-module src="www/adjust.js" name="Adjust">
<clobbers target="Adjust" />
</js-module>
<js-module src="www/adjust_config.js" name="AdjustConfig">
<clobbers target="AdjustConfig" />
</js-module>
<js-module src="www/adjust_event.js" name="AdjustEvent">
<clobbers target="AdjustEvent" />
</js-module>
<!-- Android -->
<platform name="android">
<config-file target="AndroidManifest.xml" parent="/manifest">
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
</config-file>
<config-file target="AndroidManifest.xml" parent="/manifest/application">
<receiver
android:name="com.adjust.sdk.AdjustReferrerReceiver"
android:exported="true">
<intent-filter>
<action android:name="com.android.vending.INSTALL_REFERRER" />
</intent-filter>
</receiver>
</config-file>
<config-file target="res/xml/config.xml" parent="/*">
<feature name="Adjust">
<param name="android-package" value="com.adjust.sdk.AdjustCordova"/>
<param name="onload" value="true" />
</feature>
</config-file>
<source-file src="src/Android/AdjustCordova.java" target-dir="src/com/adjust/sdk" />
<source-file src="src/Android/adjust-android.jar" target-dir="libs" />
<framework src="com.google.android.gms:play-services-analytics:9.0.2" />
</platform>
<!-- iOS -->
<platform name="ios">
<config-file target="config.xml" parent="/*">
<feature name="Adjust">
<param name="ios-package" value="AdjustCordova"/>
<param name="onload" value="true" />
</feature>
</config-file>
<header-file src="src/iOS/AdjustCordova.h" />
<source-file src="src/iOS/AdjustCordova.m" />
<header-file src="src/iOS/AdjustCordovaDelegate.h" />
<source-file src="src/iOS/AdjustCordovaDelegate.m" />
<framework src="src/iOS/AdjustSdk.framework" custom="true" />
<framework src="AdSupport.framework" weak="true" />
<framework src="iAd.framework" weak="true" />
</platform>
</plugin>