-
Notifications
You must be signed in to change notification settings - Fork 0
/
plugin.xml
72 lines (50 loc) · 3.04 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 id="com.outsystems.firebaseanalyticsplugin" version="1.0.0"
xmlns="http://apache.org/cordova/ns/plugins/1.0"
xmlns:android="http://schemas.android.com/apk/res/android">
<name>FirebaseAnalyticsPlugin</name>
<js-module name="FirebaseAnalyticsPlugin" src="www/FirebaseAnalyticsPlugin.js">
<clobbers target="Analytics" />
</js-module>
<hook type="before_plugin_install" src="scripts/configurations/installDependencies.js" />
<hook type="before_plugin_install" src="scripts/configurations/unzipAndCopyConfigurations.js" />
<preference name="APP_DOMAIN" default="/" />
<preference name="APP_PATH" default="/" />
<platform name="android">
<hook type="after_plugin_install" src="scripts/crashlytics/android/after_plugin_install.js" />
<hook type="before_plugin_uninstall" src="scripts/crashlytics/android/before_plugin_uninstall.js" />
<config-file parent="/*" target="res/xml/config.xml">
<feature name="FirebaseAnalyticsPlugin">
<param name="android-package" value="com.outsystems.firebaseanalyticsplugin.FirebaseAnalyticsPlugin" />
</feature>
</config-file>
<resource-file src="google-services.json" target="./google-services.json" />
<framework src="src/android/build.gradle" custom="true" type="gradleReference" />
<framework src="com.google.firebase:firebase-perf:17.0.0" />
<source-file src="src/android/FirebaseAnalyticsPlugin.java" target-dir="src/com/outsystems/firebaseanalyticsplugin/FirebaseAnalyticsPlugin" />
</platform>
<platform name="ios">
<hook type="after_plugin_install" src="scripts/crashlytics/ios/after_plugin_install.js" />
<hook type="before_plugin_uninstall" src="scripts/crashlytics/ios/before_plugin_uninstall.js" />
<config-file parent="/*" target="config.xml">
<feature name="FirebaseAnalyticsPlugin">
<param name="ios-package" value="FirebaseAnalyticsPlugin" />
</feature>
</config-file>
<config-file parent="aps-environment" target="*/Entitlements-Debug.plist">
<string>development</string>
</config-file>
<config-file parent="aps-environment" target="*/Entitlements-Release.plist">
<string>production</string>
</config-file>
<resource-file src="GoogleService-Info.plist" target="./GoogleService-Info.plist" />
<framework src="Fabric" type="podspec" spec="~> 1.9" />
<framework src="Crashlytics" type="podspec" spec="~> 3.12" />
<framework src="FirebaseAnalytics" type="podspec" spec="~> 4.2" />
<framework src="FirebasePerformance" type="podspec" spec="~> 1.1.3" />
<source-file src="src/ios/FirebaseAnalyticsPlugin.m" />
<source-file src="src/ios/FirebaseAnalyticsPlugin.h" />
<header-file src="src/ios/AppDelegate+FirebaseAnalyticsPlugin.h" />
<source-file src="src/ios/AppDelegate+FirebaseAnalyticsPlugin.m" />
</platform>
</plugin>