forked from andrewvmail/cordova-plugin-jc-googledrive
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplugin.xml
73 lines (59 loc) · 2.6 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
<?xml version='1.0' encoding='utf-8'?>
<plugin id="cordova-plugin-jc-googledrive" version="1.1.0" xmlns="http://apache.org/cordova/ns/plugins/1.0" xmlns:android="http://schemas.android.com/apk/res/android">
<name>GoogleDrive</name>
<description>Access Google Drive</description>
<author>LexiconMe team</author>
<keywords>google drive</keywords>
<license>MIT</license>
<engines>
<engine name="cordova" version=">=3.0.0" />
</engines>
<js-module src="www/googleDrive.js" name="GoogleDrive">
<clobbers target="window.plugins.gdrive" />
</js-module>
<platform name="android">
<!--<framework src="com.android.support:appcompat-v7:23.0.1" />-->
<!-- Gradle recommends fixed versions, see build.gradle in IntelliJ -->
<framework src="com.google.android.gms:play-services-drive:11.6.0" type="gradleReference" />
<config-file target="res/xml/config.xml" parent="/*">
<feature name="GoogleDrive" >
<param name="android-package" value="gr.jcdenton.GoogleDrive"/>
</feature>
</config-file>
<!--No classes atm-->
<source-file src="android/GoogleDrive.java" target-dir="src/gr/jcdenton" />
<framework src="android/build-extras.gradle" custom="true" type="gradleReference" />
</platform>
<platform name="ios">
<preference name="IOS_CLIENT_ID" />
<preference name="IOS_REVERSED_CLIENT_ID" />
<config-file target="config.xml" parent="/*">
<feature name="GoogleDrive">
<param name="ios-package" value="GoogleDrive" />
<param name="onload" value="true" />
</feature>
</config-file>
<config-file target="*-Info.plist" parent="CFBundleURLTypes">
<array>
<dict>
<key>CFBundleURLName</key>
<string>reversedClientId</string>
<key>CFBundleURLSchemes</key>
<array>
<string name="reversedClientId">$IOS_REVERSED_CLIENT_ID</string>
</array>
</dict>
<dict>
<key>CFBundleURLName</key>
<string>clientId</string>
<key>CFBundleURLSchemes</key>
<array>
<string name="clientId">$IOS_CLIENT_ID</string>
</array>
</dict>
</array>
</config-file>
<header-file src="ios/GoogleDrive.h"/>
<source-file src="ios/GoogleDrive.m"/>
</platform>
</plugin>