forked from EddyVerbruggen/cordova-plugin-googleplus
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathplugin.xml
More file actions
executable file
·103 lines (79 loc) · 3.76 KB
/
Copy pathplugin.xml
File metadata and controls
executable file
·103 lines (79 loc) · 3.76 KB
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
<?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-google-api"
version="5.1.4">
<name>Google SignIn</name>
<description>Use your Google account to authenticate with the app.</description>
<author>Eddy Verbruggen</author>
<license>MIT</license>
<keywords>Google, Google SignIn, GoogleSignIn, Google Login, Login, OAuth, Identity, Authentication</keywords>
<repo>https://github.com/EddyVerbruggen/cordova-plugin-googleplus.git</repo>
<issue>https://github.com/EddyVerbruggen/cordova-plugin-googleplus/issues</issue>
<engines>
<engine name="cordova" version=">=3.5.0"/>
</engines>
<js-module src="www/GooglePlus.js" name="GooglePlus">
<clobbers target="window.plugins.googleplus" />
</js-module>
<!-- android -->
<platform name="android">
<framework src="com.google.android.gms:play-services-auth:10.0.0" />
<framework src="com.google.android.gms:play-services-identity:10.0.0" />
<framework src="com.google.code.gson:gson:2.8.2" />
<framework src="com.google.api-client:google-api-client-android:1.23.0" />
<framework src="com.google.apis:google-api-services-gmail:v1-rev76-1.23.0" />
<framework src="build-extras.gradle" custom="true" type="gradleReference" />
<config-file target="res/xml/config.xml" parent="/*">
<feature name="GooglePlus">
<param name="android-package" value="nl.xservices.plugins.GooglePlus" />
<param name="onload" value="true" />
</feature>
<access origin="https://accounts.google.com/*" />
</config-file>
<config-file target="AndroidManifest.xml" parent="/manifest">
<uses-permission android:name="android.permission.GET_ACCOUNTS" />
<uses-permission android:name="android.permission.USE_CREDENTIALS" />
</config-file>
<source-file src="src/android/GooglePlus.java" target-dir="src/nl/xservices/plugins"/>
<source-file src="src/android/BasicHttpContent.java" target-dir="src/nl/xservices/plugins"/>
<source-file src="src/android/BatchRequestPojo.java" target-dir="src/nl/xservices/plugins"/>
<source-file src="src/android/GoogleApiRequest.java" target-dir="src/nl/xservices/plugins"/>
</platform>
<!-- ios -->
<platform name="ios">
<config-file target="config.xml" parent="/*">
<feature name="GooglePlus">
<param name="ios-package" value="GooglePlus"/>
<param name="onload" value="true" />
</feature>
<access origin="https://accounts.google.com/*" />
</config-file>
<source-file src="src/ios/GooglePlus.swift" />
<dependency id="cordova-plugin-add-swift-support" version="*" />
<dependency id="cordova-plugin-cocoapod-support" version="*" />
<preference name="REVERSED_CLIENT_ID" />
<config-file target="*-Info.plist" parent="CFBundleURLTypes">
<array>
<dict>
<key>CFBundleTypeRole</key>
<string>Editor</string>
<key>CFBundleURLName</key>
<string>REVERSED_CLIENT_ID</string>
<key>CFBundleURLSchemes</key>
<array>
<string>$REVERSED_CLIENT_ID</string>
</array>
</dict>
</array>
</config-file>
<!-- Google frameworks -->
<pods-config ios-min-version="8.0" use-frameworks="true"></pods-config>
<pod name="GoogleSignIn" spec="~> 4.4.0"/>
<pod name="GoogleAPIClientForREST" spec="~> 1.3.7"/>
<!-- <framework src="GoogleSignIn" type="podspec" spec="~> 4.4.0" />
<framework src="GoogleAPIClientForREST" type="podspec" spec="~> 1.3.7" />
<hook type="after_plugin_install" src="hooks/ios/prerequisites.js"/>
<hook type="after_plugin_install" src="hooks/ios/install_entitlements.js" />-->
</platform>
</plugin>