forked from cmackay/google-analytics-plugin
-
Notifications
You must be signed in to change notification settings - Fork 1
/
plugin.xml
103 lines (89 loc) · 4.08 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
<?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.cmackay.plugins.googleanalytics"
version="0.1.22">
<engines>
<engine name="cordova" version=">=3.0.0" />
</engines>
<name>GoogleAnalytics</name>
<description>Plugin for Google Analytics Native SDKs (Android, iOS)</description>
<author>Craig MacKay</author>
<license>Apache 2.0</license>
<keywords>cordova,analytics</keywords>
<repo>https://github.com/cmackay/google-analytics-plugin.git</repo>
<platform name="ios">
<js-module src="www/analytics.js" name="GoogleAnalytics">
<clobbers target="navigator.analytics" />
</js-module>
<config-file target="config.xml" parent="/*">
<feature name="GoogleAnalytics">
<param name="ios-package" value="GoogleAnalyticsPlugin" />
</feature>
</config-file>
<header-file src="ios/GAI.h" />
<header-file src="ios/GAIDictionaryBuilder.h" />
<header-file src="ios/GAIEcommerceFields.h" />
<header-file src="ios/GAIEcommerceProduct.h" />
<header-file src="ios/GAIEcommerceProductAction.h" />
<header-file src="ios/GAIEcommercePromotion.h" />
<header-file src="ios/GAIFields.h" />
<header-file src="ios/GAILogger.h" />
<header-file src="ios/GAITrackedViewController.h" />
<header-file src="ios/GAITracker.h" />
<source-file src="ios/libGoogleAnalyticsServices.a" framework="true" />
<header-file src="ios/GoogleAnalyticsPlugin.h" />
<source-file src="ios/GoogleAnalyticsPlugin.m" />
<framework src="SystemConfiguration.framework" />
<framework src="CoreData.framework" />
<framework src="libsqlite3.dylib" />
<framework src="libz.dylib" />
</platform>
<platform name="android">
<js-module src="www/analytics.js" name="GoogleAnalytics">
<clobbers target="navigator.analytics" />
</js-module>
<config-file target="res/xml/config.xml" parent="/*">
<feature name="GoogleAnalytics">
<param name="android-package" value="com.cmackay.plugins.googleanalytics.GoogleAnalyticsPlugin" />
</feature>
</config-file>
<config-file target="AndroidManifest.xml" parent="/*">
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
</config-file>
<config-file target="AndroidManifest.xml" parent="/manifest/application">
<meta-data android:name="com.google.android.gms.version" android:value="@integer/google_play_services_version" />
<service android:name="com.google.android.gms.analytics.AnalyticsService" android:enabled="true" android:exported="false" />
<service android:name="com.google.android.gms.analytics.CampaignTrackingService" />
<receiver android:name="com.google.android.gms.analytics.CampaignTrackingReceiver" android:exported="true">
<intent-filter>
<action android:name="com.android.vending.INSTALL_REFERRER" />
</intent-filter>
</receiver>
<receiver android:name="com.google.android.gms.analytics.AnalyticsReceiver" android:enabled="true">
<intent-filter>
<action android:name="com.google.android.gms.analytics.ANALYTICS_DISPATCH" />
</intent-filter>
</receiver>
</config-file>
<source-file src="android/GoogleAnalyticsPlugin.java" target-dir="src/com/cmackay/plugins/googleanalytics" />
<!--<framework src="com.google.android.gms:play-services-analytics:+" />-->
<framework src="android/build.gradle" custom="true" type="gradleReference" />
<proguard-config>
-keep class * extends java.util.ListResourceBundle {
protected Object[][] getContents();
}
-keep public class com.google.android.gms.common.internal.safeparcel.SafeParcelable {
public static final *** NULL;
}
-keepnames @com.google.android.gms.common.annotation.KeepName class *
-keepclassmembernames class * {
@com.google.android.gms.common.annotation.KeepName *;
}
-keepnames class * implements android.os.Parcelable {
public static final ** CREATOR;
}
</proguard-config>
</platform>
</plugin>