forked from arnesson/cordova-plugin-firebase
-
Notifications
You must be signed in to change notification settings - Fork 1
/
plugin.xml
156 lines (137 loc) · 8.01 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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
<?xml version='1.0' encoding='utf-8'?>
<plugin id="cordova-plugin-firebase" version="2.0.5"
xmlns="http://apache.org/cordova/ns/plugins/1.0"
xmlns:android="http://schemas.android.com/apk/res/android">
<name>Google Firebase Plugin</name>
<license>MIT</license>
<engines>
<engine name="cordova" version=">=3.2.0" />
</engines>
<preference name="APP_DOMAIN" />
<preference name="APP_PATH" default ="/" />
<platform name="android">
<preference name="GMS_VERSION_TAGMANAGER" default="11.8.0"/>
<preference name="FIREBASE_VERSION_AUTH" default="11.8.0"/>
<preference name="FIREBASE_VERSION_CONFIG" default="11.8.0"/>
<preference name="FIREBASE_VERSION_CORE" default="11.8.0"/>
<preference name="FIREBASE_VERSION_DYNAMIC_LINKS" default="11.8.0"/>
<preference name="FIREBASE_VERSION_MESSAGING" default="11.8.0"/>
<preference name="FIREBASE_VERSION_PERF" default="11.8.0"/>
<hook type="after_plugin_install" src="scripts/android/after_plugin_install.js" />
<hook type="before_plugin_uninstall" src="scripts/android/before_plugin_uninstall.js" />
<js-module name="FirebasePlugin" src="www/firebase.js">
<clobbers target="FirebasePlugin" />
</js-module>
<config-file parent="/*" target="res/xml/config.xml">
<feature name="FirebasePlugin">
<param name="android-package" value="org.apache.cordova.firebase.FirebasePlugin" />
<param name="onload" value="true" />
</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" />
<uses-permission android:name="android.permission.WAKE_LOCK" />
</config-file>
<config-file target="AndroidManifest.xml" parent="/manifest/application">
<service android:enabled="true" android:exported="false" android:name="com.google.android.gms.measurement.AppMeasurementService" />
</config-file>
<config-file target="AndroidManifest.xml" parent="/manifest/application">
<service android:name="org.apache.cordova.firebase.FirebasePluginMessagingService">
<intent-filter>
<action android:name="com.google.firebase.MESSAGING_EVENT"/>
</intent-filter>
</service>
<service android:name="org.apache.cordova.firebase.FirebasePluginInstanceIDService">
<intent-filter>
<action android:name="com.google.firebase.INSTANCE_ID_EVENT"/>
</intent-filter>
</service>
<receiver android:name="org.apache.cordova.firebase.OnNotificationOpenReceiver"></receiver>
</config-file>
<config-file target="AndroidManifest.xml" parent="/manifest/application/activity">
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data android:scheme="http" android:host="$APP_DOMAIN" android:pathPrefix="$APP_PATH"/>
<data android:scheme="https" android:host="$APP_DOMAIN" android:pathPrefix="$APP_PATH"/>
</intent-filter>
</config-file>
<resource-file src="src/android/google-services.json" target="."/>
<resource-file src="src/android/cordova-plugin-firebase-strings.xml" target="res/values/cordova-plugin-firebase-strings.xml" />
<source-file src="src/android/FirebasePlugin.java" target-dir="src/org/apache/cordova/firebase" />
<source-file src="src/android/OnNotificationOpenReceiver.java" target-dir="src/org/apache/cordova/firebase" />
<source-file src="src/android/FirebasePluginInstanceIDService.java" target-dir="src/org/apache/cordova/firebase" />
<source-file src="src/android/FirebasePluginMessagingService.java" target-dir="src/org/apache/cordova/firebase" />
<source-file src="src/android/FirebasePluginMessageReceiver.java" target-dir="src/org/apache/cordova/firebase" />
<source-file src="src/android/FirebasePluginMessageReceiverManager.java" target-dir="src/org/apache/cordova/firebase" />
<source-file src="src/android/colors.xml" target-dir="res/values" />
<framework src="src/android/build.gradle" custom="true" type="gradleReference" />
<framework src="com.google.android.gms:play-services-tagmanager:$GMS_VERSION_TAGMANAGER" />
<framework src="com.google.firebase:firebase-core:$FIREBASE_VERSION_CORE" />
<framework src="com.google.firebase:firebase-dynamic-links:$FIREBASE_VERSION_DYNAMIC_LINKS" />
<framework src="com.google.firebase:firebase-messaging:$FIREBASE_VERSION_MESSAGING" />
<framework src="com.google.firebase:firebase-config:$FIREBASE_VERSION_CONFIG" />
<framework src="com.google.firebase:firebase-perf:$FIREBASE_VERSION_PERF" />
</platform>
<platform name="ios">
<hook type="after_plugin_install" src="scripts/ios/after_plugin_install.js" />
<hook type="before_plugin_uninstall" src="scripts/ios/before_plugin_uninstall.js" />
<js-module name="FirebasePlugin" src="www/firebase.js">
<clobbers target="FirebasePlugin" />
</js-module>
<config-file parent="/*" target="config.xml">
<feature name="FirebasePlugin">
<param name="ios-package" value="FirebasePlugin" />
<param name="onload" value="true" />
</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>
<config-file parent="com.apple.developer.associated-domains" target="*/Entitlements-Debug.plist">
<array>
<string>applinks:$APP_DOMAIN</string>
</array>
</config-file>
<config-file parent="com.apple.developer.associated-domains" target="*/Entitlements-Release.plist">
<array>
<string>applinks:$APP_DOMAIN</string>
</array>
</config-file>
<resource-file src="src/ios/GoogleService-Info.plist" />
<header-file src="src/ios/AppDelegate+FirebasePlugin.h" />
<source-file src="src/ios/AppDelegate+FirebasePlugin.m" />
<header-file src="src/ios/FirebasePlugin.h" />
<source-file src="src/ios/FirebasePlugin.m" />
<header-file src="src/ios/Firebase/Firebase.h" />
<framework custom="true" src="src/ios/Crashlytics/Crashlytics.framework" />
<framework custom="true" src="src/ios/Crashlytics/Fabric.framework" />
<framework custom="true" src="src/ios/Firebase/Analytics/GoogleAppMeasurement.framework" />
<framework custom="true" src="src/ios/Firebase/Analytics/FirebaseCore.framework" />
<framework custom="true" src="src/ios/Firebase/Analytics/FirebaseAnalytics.framework" />
<framework custom="true" src="src/ios/Firebase/Analytics/GoogleUtilities.framework" />
<framework custom="true" src="src/ios/Firebase/Analytics/nanopb.framework" />
<framework custom="true" src="src/ios/Firebase/Analytics/FirebaseInstanceID.framework" />
<framework custom="true" src="src/ios/Firebase/Analytics/FirebaseCoreDiagnostics.framework" />
<framework custom="true" src="src/ios/Firebase/Auth/GTMSessionFetcher.framework" />
<framework custom="true" src="src/ios/Firebase/Auth/FirebaseAuth.framework" />
<framework custom="true" src="src/ios/Firebase/Messaging/FirebaseMessaging.framework" />
<framework custom="true" src="src/ios/Firebase/Performance/GoogleToolboxForMac.framework" />
<framework custom="true" src="src/ios/Firebase/Performance/FirebasePerformance.framework" />
<framework custom="true" src="src/ios/Firebase/RemoteConfig/Protobuf.framework" />
<framework custom="true" src="src/ios/Firebase/RemoteConfig/FirebaseRemoteConfig.framework" />
<framework custom="true" src="src/ios/Firebase/RemoteConfig/FirebaseABTesting.framework" />
<framework custom="true" src="src/ios/Firebase/DynamicLinks/FirebaseDynamicLinks.framework" />
</platform>
<platform name="browser">
<js-module name="FirebasePlugin" src="www/firebase-browser.js">
<clobbers target="FirebasePlugin" />
</js-module>
</platform>
<hook type="after_prepare" src="scripts/after_prepare.js" />
</plugin>