-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathplugin.xml
executable file
·35 lines (27 loc) · 1.32 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
<?xml version="1.0" encoding="UTF-8"?>
<plugin xmlns="http://www.phonegap.com/ns/plugins/1.0"
id="com.imran.getuserinfo"
version="1.0.0">
<name>UserDetails</name>
<description>Plugin to Get user details like user's primary email address associated with google, and primary mobile number</description>
<license>MIT</license>
<keywords>phonegap,user email, user details, phonenumber</keywords>
<js-module src="www/user.js" name="user">
<clobbers target="user" />
</js-module>
<!-- android -->
<platform name="android">
<config-file target="res/xml/config.xml" parent="/*">
<feature name="User">
<param name="android-package" value="com.imran.getuserinfo.User"/>
</feature>
</config-file>
<config-file target="AndroidManifest.xml" parent="/*">
<uses-permission android:name="android.permission.READ_PROFILE" />
<uses-permission android:name="android.permission.READ_CONTACTS" />
<uses-permission android:name="android.permission.GET_ACCOUNTS" />
<uses-permission android:name="android.permission.READ_PHONE_STATE" />
</config-file>
<source-file src="src/android/User.java" target-dir="src/com/imran/getuserinfo" />
</platform>
</plugin>