Android webapp integration to fireTV

Hello!

I’m trying to migrate our hosted web app to an Android HTML5 hybrid app.
Generally to do that we created an Android app with a WebView where the web app can run (it works perfect on other android platforms). The issue arises with the Amazon API JavaScript library (we import it from ‘http://resources.amazonwebapps.com/v1/latest/Amazon-Web-App-API.min.js’ as instructed in the developer documentation). When loading, our web app is listening to the amazonPlatformReady event but the Amazon API library never fires it.

We tried lunching our web app through Apache Cordova - which led to the same results.
One thing we could notice is that the Amazon API library uses openWebLoader instead of the wrapperLoader when applying a loader and that in this case _AmazonPlatformUtils.isPlatformEnabled = false and _AmazonPlatformUtils.isCordovaEnabled() = false.

Our testing was done on a Fire TV stick (2nd Gen) - Fire OS 5.2.9.5 (Android 5.1).
When trying to lunch the web app through the ‘Web App Tester’ - the app worked fine and the amazonPlatformReady fired as intended while the wrapperLoader was the loader used by the API library.

Hello myCast,

Thanks for posting. We have messaged the appropriate team for further investigation and will let you know once we receive an update.