-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplugin.xml
72 lines (62 loc) · 3.13 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://apache.org/cordova/ns/plugins/1.0"
xmlns:android="http://schemas.android.com/apk/res/android"
id="org.nypr.cordova.googleanalyticsplugin"
version="0.1.0">
<name>Google Analytics Plugin</name>
<description>Google Analytics Plugin</description>
<license>Apache 2.0</license>
<keywords>google,analytics</keywords>
<repo>https://github.com/wnyc/cordova-plugin-googleanalytics.git</repo>
<js-module src="www/googleanalytics.js" name="GoogleAnalytics">
<clobbers target="googleanalytics"/>
</js-module>
<!-- android -->
<platform name="android">
<config-file target="res/xml/config.xml" parent="/*">
<feature name="GoogleAnalyticsPlugin" >
<param name="android-package" value="org.nypr.cordova.googleanalyticsplugin.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">
<service android:name="com.google.android.gms.analytics.AnalyticsService" android:enabled="true" android:exported="false"/>
<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="src/android/GoogleAnalyticsPlugin.java" target-dir="src/org/nypr/cordova/googleanalyticsplugin/" />
<resource-file src="res/android/" target="res" />
</platform>
<!-- ios -->
<platform name="ios">
<config-file target="config.xml" parent="/*">
<feature name="GoogleAnalyticsPlugin">
<param name="ios-package" value="GoogleAnalyticsPlugin" />
<param name="onload" value="true" />
</feature>
</config-file>
<header-file src="src/ios/GoogleAnalyticsPlugin.h" />
<header-file src="src/ios/GAI.h" />
<header-file src="src/ios/GAIFields.h" />
<header-file src="src/ios/GAITracker.h" />
<header-file src="src/ios/GAITrackedViewController.h" />
<header-file src="src/ios/GAILogger.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" />
<source-file src="src/ios/GoogleAnalyticsPlugin.m" />
<source-file src="src/ios/libGoogleAnalytics.a" framework="true" />
<framework src="SystemConfiguration.framework" />
<framework src="CoreData.framework" />
<framework src="libz.dylib" />
<framework src="sqlite3.dylib" />
</platform>
</plugin>