forked from MyHealthTeams/google-app-conversion-tracker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplugin.xml
61 lines (50 loc) · 2.3 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
<?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="cordova-plugin-google-app-conversion-tracking" version="1.0.1">
<name>Google Conversion Tracking</name>
<description>Cordova Plugin for Google App Install Conversion Tracking</description>
<license>Apache 2.0</license>
<keywords>google,install,conversion,tracking</keywords>
<engines>
<engine name="cordova" version=">=7.1.0" />
<engine name="cordova-android" version=">=7.0.0" />
<engine name="cordova-ios" version=">=4.5.4" />
</engines>
<js-module src="www/gapp_track.js" name="GoogleAppTracking">
<clobbers target="GappTrack" />
</js-module>
<platform name="ios">
<config-file target="config.xml" parent="/*">
<feature name="GoogleAppTracking">
<param name="ios-package" value="GoogleAppTracking"/>
</feature>
</config-file>
<header-file src="src/ios/ACTReporter.h" />
<header-file src="src/ios/GoogleAppTracking.h" />
<source-file src="src/ios/GoogleAppTracking.m" />
<source-file src="lib/ios/libGoogleConversionTracking.a" framework="true"/>
<framework src="AdSupport.framework" />
</platform>
<platform name="android">
<config-file target="res/xml/config.xml" parent="/*">
<feature name="GoogleAppTracking" >
<param name="android-package" value="com.xibre.plugins.GoogleAppTracking"/>
</feature>
</config-file>
<edit-config file="app/src/main/AndroidManifest.xml" target="/*" mode="merge">
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
</edit-config>
<edit-config file="app/src/main/AndroidManifest.xml" target="/manifest/application" mode="merge">
<receiver android:name="com.google.ads.conversiontracking.InstallReceiver"
android:exported="true">
<intent-filter>
<action android:name="com.android.vending.INSTALL_REFERRER" />
</intent-filter>
</receiver>
</edit-config>
<source-file src="src/android/GoogleAppTracking.java" target-dir="src/com/myhealthteams/plugins" />
<source-file src="lib/android/GoogleConversionTrackingSdk-2.2.2.jar" target-dir="app/libs" />
</platform>
</plugin>