- Mon 11 Feb 2019, 23:11
Ok, if anybody is interested:
I've tried to make my game "Android TV" compatible by using the Cordova plugin "cordova-plugin-android-tv".
I am using build.phonegap.com to build the app, because I can't get Cordova working on my machine.
To use the plugin, export your game from GD by exporting to Android and ios (manual), and simply add this to your config.xml:
<plugin name="cordova-plugin-whitelist" version="1" />
After building the app, it can be side loaded on your "Android TV"-device, and will show as a true "leanback" application.
Unfortunately, I have not found out how to add the Android TV-"banner" to the .apk. Also, I havn't tested if the app is accepted as a leanback app in Google Play.
If anybody has some tips regarding adding the 320x200 tv-banner to the .apk, It would be highly appreciated