forked from vkeepe/analytics-google
-
Notifications
You must be signed in to change notification settings - Fork 0
/
plugin.xml
73 lines (64 loc) · 3.34 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
<?xml version="1.0" encoding="UTF-8" ?>
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0" id="cordova-plugin-analytics" version="1.4.3">
<engines>
<engine name="cordova" version=">=3.0.0" />
</engines>
<name>Google Analytics Plugin</name>
<description>Phonegap, Cordova, Intel XDK Google Analytics plugin for iOS/Android with full support for views, events, timings, ecommerce and social. Supports userId and campaign url.</description>
<author email="[email protected]" href="https://github.com/appfeel/admob-google-cordova">AppFeel</author>
<license>MIT</license>
<keywords>analytics,google,metrics,event,screen,ecommerce,ua,universal analytics,universal,referral,download,install,track,tracking</keywords>
<repo>https://github.com/appfeel/analytics-google.git</repo>
<issue>https://github.com/appfeel/analytics-google/issues</issue>
<hook type="after_prepare" src="hooks/after_prepare/999-admobPluginNotice.js" />
<js-module src="www/analytics.js" name="GAPlugin">
<merges target="analytics" />
<clobbers target="window.analytics" />
</js-module>
<platform name="android">
<config-file target="res/xml/config.xml" parent="/*">
<feature name="GAPlugin">
<param name="android-package" value="com.appfeel.cordova.analytics.CPGoogleAnalytics" />
</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">
<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>
</config-file>
<source-file src="src/android/CPGoogleAnalytics.java" target-dir="src/com/appfeel/cordova/analytics" />
<framework src="com.google.android.gms:play-services-analytics:+" />
</platform>
<platform name="ios">
<config-file target="config.xml" parent="/*">
<feature name="GAPlugin">
<param name="ios-package" value="CDVGoogleAnalytics" />
</feature>
</config-file>
<header-file src="src/ios/CDVGoogleAnalytics.h" />
<source-file src="src/ios/CDVGoogleAnalytics.m" />
<header-file src="src/ios/GAI.h" />
<header-file src="src/ios/GAIDictionaryBuilder.h" />
<header-file src="src/ios/GAIEcommerceFields.h" />
<header-file src="src/ios/GAIEcommerceProduct.h" />
<header-file src="src/ios/GAIEcommerceProductAction.h" />
<header-file src="src/ios/GAIEcommercePromotion.h" />
<header-file src="src/ios/GAIFields.h" />
<header-file src="src/ios/GAILogger.h" />
<header-file src="src/ios/GAITrackedViewController.h" />
<header-file src="src/ios/GAITracker.h" />
<source-file src="src/ios/libGoogleAnalyticsServices.a" framework="true" />
<source-file src="src/ios/libAdIdAccess.a" framework="true" />
<framework src="SystemConfiguration.framework" />
<framework src="CoreData.framework" />
<framework src="libz.dylib" />
<framework src="libsqlite3.0.dylib" />
</platform>
</plugin>