This repository has been archived by the owner on Sep 9, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathplugin.xml
60 lines (51 loc) · 2.23 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
<?xml version="1.0" encoding="UTF-8" ?>
<!--
Copyright (c) 2013 The Chromium Authors. All rights reserved.
Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file.
-->
<plugin xmlns="http://cordova.apache.org/ns/plugins/1.0"
id="cordova-plugin-chrome-apps-identity"
version="1.4.7-dev">
<engines>
<engine name="cordova-android" version=">=4" />
</engines>
<name>Chrome Apps Identity API</name>
<keywords>chrome,identity,OAuth</keywords>
<repo>https://github.com/MobileChromeApps/cordova-plugin-chrome-apps-identity.git</repo>
<issue>https://github.com/MobileChromeApps/cordova-plugin-chrome-apps-identity/issues</issue>
<dependency id="cordova-plugin-chrome-apps-common@1" />
<dependency id="cordova-plugin-chrome-apps-runtime@1" />
<dependency id="cordova-plugin-inappbrowser@1" />
<dependency id="cordova-plugin-google-open-source-ios" />
<dependency id="cordova-plugin-google-plus-ios" />
<js-module src="identity.js" name="Identity">
<clobbers target="chrome.identity" />
</js-module>
<platform name="android">
<framework src="com.google.android.gms:play-services-identity:+" />
<framework src="com.google.android.gms:play-services-auth:+" />
<source-file src="src/android/ChromeIdentity.java" target-dir="src/org/chromium" />
<config-file target="res/xml/config.xml" parent="/widget">
<feature name="ChromeIdentity">
<param name="android-package" value="org.chromium.ChromeIdentity"/>
</feature>
<access origin="https://accounts.google.com/*" />
</config-file>
<config-file target="AndroidManifest.xml" parent="/*">
<uses-permission android:name="android.permission.USE_CREDENTIALS" />
</config-file>
<config-file target="AndroidManifest.xml" parent="/*">
<uses-permission android:name="android.permission.GET_ACCOUNTS" />
</config-file>
</platform>
<platform name="ios">
<source-file src="src/ios/ChromeIdentity.m" />
<config-file target="config.xml" parent="/widget">
<feature name="ChromeIdentity">
<param name="ios-package" value="ChromeIdentity"/>
</feature>
<access origin="https://accounts.google.com/*" />
</config-file>
</platform>
</plugin>