App store struck at opening the app

We have implemented a force update mechanism for our Fire TV app. In the code, we compare the app’s version code with the version from our backend servers. If the app version is lower than the latest version, we prompt the user to update by showing a dialog at app launch. If the user clicks the update button, they are redirected to the App Store to update their app. For redirection, I am using the following code:

val url: String = "amzn://apps/android?asin=asin&intent=app_update"
val viewIntent = Intent(Intent.ACTION_VIEW, url.toUri())
startActivity(viewIntent)

Users reported that after updating, clicking on the Open button from the Appstore keeps showing an Opening… message, but the app does not open. What might be the issue? It’s a Fire TV app where we are providing an activity with a filter of leanback_launcher.

Hello TV2Z,

Welcome to the forum, and thanks for posting! Is the “Opening…” message displayed in the Appstore interface, or is it part of your app? Do you have a screenshot of what it looks like? Do you know whether all users are affected or only some?

Otherwise, first, suggest clearing the app data and cache by going to Settings > Applications > Manage Installed Applications, selecting the app, then selecting Clear Cache followed by Clear Data.

If the issue persists, they can try uninstalling and reinstalling the app completely. To uninstall, go to Settings > Applications > Manage Installed Applications, select the app and choose Uninstall.

After uninstalling, you can install the app again by navigating to Apps from the Home screen, searching for your app, and downloading it.

If users are stuck in an update loop that prevents the app from opening properly, they should try either uninstalling and reinstalling the app, or clearing the Appstore data by going to Settings > Application > Appstore > Clear Data.