forked from HughIsaacs2/Cordova-Android-TV-Plugin
-
Notifications
You must be signed in to change notification settings - Fork 1
/
plugin.xml
51 lines (45 loc) · 2.49 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
<?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.comrat.cordova.plugins.androidtvplugin"
version="1.0.3">
<name>AndroidTVPlugin</name>
<description>Cordova Android TV Plugin</description>
<author email="[email protected]" href="http://pureqml.com">comrat</author>
<license>MIT</license>
<keywords>ecosystem:cordova,cordova-android</keywords>
<engines>
<engine name="cordova" version=">=3.0.0" />
</engines>
<platform name="android">
<config-file target="config.xml" parent="/*">
<feature name="AndroidTV">
<param name="android-package" value="org.apache.cordova.plugin.AndroidTV"/>
</feature>
</config-file>
<source-file src="src/android/androidtv-plugin/AndroidTV.java" target-dir="src/org/apache/cordova/plugin" />
<source-file src="src/res/drawable/banner.png" target-dir="res/drawable/"/>
<config-file target="AndroidManifest.xml" parent="/manifest">
<uses-feature android:name="android.software.leanback" android:required="true" />
<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>
<edit-config file="AndroidManifest.xml" target="/manifest/application" mode="merge">
<application android:banner="@drawable/banner"/>
</edit-config>
<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>
</platform>
</plugin>