-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathplugin.xml
61 lines (51 loc) · 2.86 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
<?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="cordova-plugin-firebase-auth-google" version="1.3.1">
<name>Firebase Authentication</name>
<description>Adds support for Firebase Authenication to your Cordova/PhoneGap apps.</description>
<license>Apache 2.0</license>
<keywords>firebase,cordova,authentication</keywords>
<author>Carlos "blakgeek" Lawton</author>
<repo>https://github.com/blakgeek/cordova-plugin-firebase-auth-google.git</repo>
<issue>https://github.com/blakgeek/cordova-plugin-firebase-auth-google/issues</issue>
<js-module src="www/firebaseAuthGooglePlugin.js" name="FirebaseAuthGooglePlugin">
<!-- todo: remove this clobber it's only here for backward compatibility -->
<clobbers target="FirebaseAuth"/>
<clobbers target="FirebaseAuthGoogle"/>
</js-module>
<engines>
<engine name="cordova" version=">=7.0.0"/>
<engine name="cordova-android" version=">=4.0.0"/>
<engine name="cordova-plugman" version=">=4.2.0"/>
</engines>
<dependency id="cordova-plugin-cocoapod-support"/>
<dependency id="cordova-plugin-firebase-core"/>
<platform name="ios">
<config-file target="config.xml" parent="/*">
<feature name="FirebaseAuthGooglePlugin">
<param name="ios-package" value="FirebaseAuthGooglePlugin"/>
</feature>
</config-file>
<header-file src="src/ios/FirebaseAuthGooglePlugin.h"/>
<source-file src="src/ios/FirebaseAuthGooglePlugin.m"/>
<header-file src="src/ios/AppDelegate+FirebaseAuthGooglePlugin.h"/>
<source-file src="src/ios/AppDelegate+FirebaseAuthGooglePlugin.m"/>
<pod id="Firebase/Auth" version="~> 6"/>
<pod id="GoogleSignIn"/>
</platform>
<platform name="android">
<preference name="FIREBASE_VERSION" default="16.+"/>
<preference name="PLAY_SERVICES_VERSION" default="15.+"/>
<config-file target="res/xml/config.xml" parent="/*">
<feature name="FirebaseAuthGooglePlugin">
<param name="android-package" value="com.blakgeek.cordova.plugin.FirebaseAuthGooglePlugin"/>
</feature>
</config-file>
<framework src="src/android/plugin.gradle" custom="true" type="gradleReference"/>
<framework src="com.google.firebase:firebase-auth:$FIREBASE_VERSION"/>
<framework src="com.google.android.gms:play-services-auth:$PLAY_SERVICES_VERSION"/>
<source-file src="src/android/com/blakgeek/cordova/plugin/FirebaseAuthGooglePlugin.java" target-dir="src/com/blakgeek/cordova/plugin/"/>
<config-file target="AndroidManifest.xml" parent="/*">
<uses-permission android:name="android.permission.INTERNET"/>
</config-file>
</platform>
</plugin>