-
Notifications
You must be signed in to change notification settings - Fork 31
/
plugin.xml
60 lines (54 loc) · 2.78 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://apache.org/cordova/ns/plugins/1.0" id="cordova-plugin-analytics" version="2.0.0">
<engines>
<engine name="cordova" version=">=4.0.0" />
</engines>
<dependency id="cordova-play-services-version-adapter" />
<dependency id="cordova-annotated-plugin-android" />
<name>Google Analytics Firebase Plugin</name>
<description>Phonegap, Cordova, Ionic, Intel XDK Google Analytics Firebase plugin for iOS/Android with full support for views, events, timings, ecommerce and social.</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" />
</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.GAPlugin" />
</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>
<framework src="com.google.firebase:firebase-analytics:15.0.0"/>
<source-file src="src/android/GAPlugin.java" target-dir="src/com/appfeel/cordova/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" />
<framework src="FirebaseAnalytics" type="podspec" spec=">= 4.0.0"/>
<framework src="SystemConfiguration.framework" />
<framework src="CoreData.framework" />
<framework src="libz.dylib" />
<framework src="libsqlite3.0.dylib" />
</platform>
</plugin>