Fire TV Web App bugs in appstore submission

Hello, I am building a FireTV application via the Packaged Web App approach. Following the Amazon developer documentation, the application I have built works perfectly in the Amazon Web App Tester, however upon submission to the app store, it completely breaks (black screen).

To reproduce the bugs that the Amazon Appstore QA team have reported, I have been using the Debug Package (i.e the apk) that is created with every submission and I can reproduce the issues (on the same device in which the Web App Tester build works perfectly).

I am wondering if anyone else has encountered this dissonance between the Web App tester and actual submission, and how this can be resolved.

The packaged app approach can work when I submit a bare-bones HTML document with very little javascript, however lots of functionality (e.g styling, DOM manipulation with Javascript) doesn’t work. I’ve yet to lock down exactly what causes issue.

If this thread gets some traction, I can share the logs I’ve captured from device when it runs, but it seems like there are some fundamental issues with whatever build process happens in the Web App submission process.

So found a workaround, it seems that the build process ignores and files/folders than are > 1 deep. So I’ve changed my bundling procedure to keep all linked files at the root of the .zip, all linked to relatively in HTML.

Hi there,

Given the nature of the issue, here are a few suggestions that may help address this problem:
Fortunately, you have already discovered a helpful workaround:
“So found a workaround, it seems that the build process ignores and files/folders than are > 1 deep. So I’ve changed my bundling procedure to keep all linked files at the root of the .zip, all linked to relatively in HTML.”

Could you try the below steps?

  1. Ensure all files and folders in your web app package are kept at the root level, with no nesting more than 1 level deep.
  2. Link all assets (CSS, JS, images, etc.) relatively within the HTML, rather than using deeper folder structures.
  3. Thoroughly test the packaged app in the Amazon Web App Tester to validate it works as expected before submitting to the Appstore.

Please let me know if implementing these steps resolves the issues you were facing.

Thanks