-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathplugin.xml
72 lines (58 loc) · 2.93 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
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
xmlns:android="http://schemas.android.com/apk/res/android"
id="cordova-plugin-firebase-authentication"
version="4.0.2">
<name>goiarlabs/cordova-plugin-firebase-authentication</name>
<description>Cordova plugin for Firebase Authentication, based on chemerisuk implementation with some fixes for android</description>
<license>MIT</license>
<keywords>cordova</keywords>
<repo>https://github.com/@goiarlabs/cordova-plugin-firebase-authentication</repo>
<issue>https://github.com/@goiarlabs/cordova-plugin-firebase-authentication/issues</issue>
<js-module src="www/FirebaseAuthentication.js" name="FirebaseAuthentication">
<merges target="cordova.plugins.firebase.auth" />
</js-module>
<engines>
<engine name="cordova" version=">=9.0.0"/>
<engine name="cordova-android" version=">=8.0.0"/>
<engine name="cordova-ios" version=">=6.0.0"/>
</engines>
<platform name="ios">
<preference name="IOS_FIREBASE_AUTH_VERSION" default="~> 7.0.0"/>
<config-file target="config.xml" parent="/*">
<feature name="FirebaseAuthentication">
<param name="ios-package" value="FirebaseAuthenticationPlugin" />
<param name="onload" value="false" />
</feature>
</config-file>
<header-file src="src/ios/FirebaseAuthenticationPlugin.h" />
<source-file src="src/ios/FirebaseAuthenticationPlugin.m" />
<podspec>
<config>
<source url="https://cdn.cocoapods.org/"/>
</config>
<pods>
<pod name="Firebase/Auth" spec="$IOS_FIREBASE_AUTH_VERSION" />
</pods>
</podspec>
</platform>
<platform name="android">
<preference name="ANDROID_FIREBASE_AUTH_VERSION" default="20.0.+"/>
<config-file target="res/xml/config.xml" parent="/*">
<feature name="FirebaseAuthentication">
<param name="android-package" value="by.chemerisuk.cordova.firebase.FirebaseAuthenticationPlugin" />
<param name="onload" value="false" />
</feature>
</config-file>
<config-file target="config.xml" parent="/*">
<preference name="GradlePluginGoogleServicesEnabled" value="true" />
<preference name="GradlePluginGoogleServicesVersion" value="4.3.3" />
</config-file>
<dependency id="cordova-support-android-plugin" version="~1.0.0"/>
<dependency id="cordova-support-google-services" version="^1.3.2"/>
<framework src="com.google.firebase:firebase-auth:$ANDROID_FIREBASE_AUTH_VERSION" />
<source-file src="src/android/FirebaseAuthenticationPlugin.java"
target-dir="src/by/chemerisuk/cordova/firebase/" />
<source-file src="src/android/OTPResult.java"
target-dir="src/by/chemerisuk/cordova/firebase/" />
</platform>
</plugin>