forked from HughIsaacs2/Cordova-Android-TV-Plugin
-
Notifications
You must be signed in to change notification settings - Fork 21
/
plugin.xml
41 lines (36 loc) · 2.17 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
<?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="cordova-plugin-android-tv"
version="1.0.0">
<name>AndroidTVPlugin</name>
<description>Cordova Android TV Plugin</description>
<license>MIT</license>
<keywords>ecosystem:cordova,cordova-android</keywords>
<keywords>ecosystem:cordova,cordova-android,androidtv,tv</keywords>
<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"/>
</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.APP"/>
<category android:name="android.intent.category.LEANBACK_LAUNCHER"/>
</config-file>
<hook type="after_prepare" src="patch.js"/>
</platform>
</plugin>