-
Notifications
You must be signed in to change notification settings - Fork 63
/
Copy pathplugin.xml
57 lines (47 loc) · 2.46 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
<?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="com.a42.cordova.googleplaygame"
version="2.0.4">
<name>GooglePlayGame</name>
<description>Google Play Game Service Cordova Plugin</description>
<author>Anh Trinh</author>
<license>MIT</license>
<keywords>google, play, game, cordova</keywords>
<repo>https://github.com/ptgamr/cordova-google-play-game.git</repo>
<issue>https://github.com/ptgamr/cordova-google-play-game/issues</issue>
<engines>
<engine name="cordova" version=">=3.0" />
</engines>
<js-module src="www/google-play-game.js" name="GooglePlayGame">
<clobbers target="googleplaygame" />
</js-module>
<!-- android -->
<platform name="android">
<preference name="APP_ID" />
<config-file target="res/xml/config.xml" parent="/*">
<feature name="GooglePlayGame">
<param name="android-package" value="com.a42.cordova.plugins.GooglePlayGame"/>
</feature>
</config-file>
<config-file target="res/values/strings.xml" parent="/resources">
<string name="app_id">$APP_ID</string>
</config-file>
<dependency id="com.google.playservices" />
<dependency id="android.support.v4" />
<source-file src="src/com/a42/cordova/plugins/GooglePlayGame.java" target-dir="src/com/a42/cordova/plugins/" />
<source-file src="src/com/a42/cordova/plugins/GoogleGameService.java" target-dir="src/com/a42/cordova/plugins/" />
<source-file src="src/com/a42/cordova/plugins/BaseGameActivity.java" target-dir="src/com/a42/cordova/plugins/" />
<source-file src="src/com/a42/cordova/plugins/GameHelper.java" target-dir="src/com/a42/cordova/plugins/" />
<source-file src="src/com/a42/cordova/plugins/GameHelperUtils.java" target-dir="src/com/a42/cordova/plugins/" />
<config-file target="AndroidManifest.xml" parent="/manifest/application">
<meta-data
android:name="com.google.android.gms.games.APP_ID"
android:value="@string/app_id" />
</config-file>
<config-file target="AndroidManifest.xml" parent="/manifest">
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
</config-file>
</platform>
</plugin>