forked from 37d/cordova-plugin-firebase-hooks
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplugin.xml
39 lines (31 loc) · 1.53 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
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
xmlns:android="http://schemas.android.com/apk/res/android"
id="cordova-plugin-firebase-hooks"
version="0.9.6">
<name>FirebaseHooks</name>
<description>Cordova firebase plugin starter</description>
<license>MIT</license>
<keywords>cordova</keywords>
<repo>https://github.com/chemerisuk/cordova-plugin-firebase-hooks</repo>
<issue>https://github.com/chemerisuk/cordova-plugin-firebase-hooks/issues</issue>
<engines>
<engine name="cordova" version=">=3.5.0"/>
</engines>
<platform name="ios">
<config-file parent="FirebaseAppDelegateProxyEnabled" target="*-Info.plist">
<true/>
</config-file>
<pods-config ios-min-version="7.0" uses-frameworks="true"/>
<hook type="before_plugin_install" src="hooks/ios/copy-google-services.js"/>
</platform>
<platform name="android">
<framework src="src/android/build.gradle" custom="true" type="gradleReference"/>
<edit-file file="res/values/strings.xml" target="resources/string[name='google_app_id']" mode="merge">
<string name="google_app_id">@string/google_app_id</string>
</edit-file>
<edit-file file="res/values/strings.xml" target="resources/string[name='google_api_key']" mode="merge">
<string name="google_api_key">@string/google_api_key</string>
</edit-file>
<hook type="before_plugin_install" src="hooks/android/copy-google-services.js"/>
</platform>
</plugin>