-
Notifications
You must be signed in to change notification settings - Fork 61
/
Copy pathplugin.xml
47 lines (41 loc) · 2.25 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
<?xml version="1.0" encoding="UTF-8" ?>
<plugin xmlns="http://cordova.apache.org/ns/plugins/1.0"
xmlns:android="http://schemas.android.com/apk/res/android"
id="com.hughisaacs2.cordova.plugins.androidtvplugin"
version="1.0.3">
<name>AndroidTVPlugin</name>
<description>Cordova Android TV Plugin</description>
<author email="[email protected]" href="http://hughisaacs2.acrylicstyle.com">Hugh Isaacs II</author>
<license>MIT</license>
<keywords>ecosystem:cordova,cordova-android</keywords>
<!--
<preference name="is_game" />
<preference name="uses_gamepad" />
-->
<engines>
<engine name="cordova" version=">=3.0.0" />
</engines>
<platform name="android">
<config-file target="AndroidManifest.xml" parent="/manifest">
<uses-feature android:name="android.software.leanback" android:required="false" />
<uses-feature android:name="android.hardware.touchscreen" android:required="false" />
<uses-feature android:name="android.hardware.camera" android:required="false" />
<uses-feature android:name="android.hardware.camera.autofocus" android:required="false" />
<uses-feature android:name="android.hardware.microphone" android:required="false" />
<uses-feature android:name="android.hardware.wifi" android:required="false" />
<uses-feature android:name="android.hardware.bluetooth" android:required="false" />
<uses-feature android:name="android.hardware.location" android:required="false" />
<uses-feature android:name="android.hardware.location.gps" android:required="false" />
<uses-feature android:name="android.hardware.location.network" android:required="false" />
<uses-feature android:name="android.hardware.telephony" android:required="false" />
<!-- <uses-feature android:name="android.hardware.gamepad" android:required="false"/> -->
</config-file>
<config-file target="AndroidManifest.xml" parent="/manifest/application/activity/intent-filter">
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.LAUNCHER" />
<category android:name="tv.ouya.intent.category.GAME" />
<category android:name="android.intent.category.LEANBACK_LAUNCHER" />
</config-file>
<hook type="after_prepare" src="isgame.js" />
</platform>
</plugin>