android-browser-helper
android-browser-helper copied to clipboard
TWA toast error
Hello,
We're currently using AppAuth library and defining a CustomTabsIntent with the property : TrustedWebUtils.EXTRA_LAUNCH_AS_TRUSTED_WEB_ACTIVITY
It allows us to use TWA. It works pretty well (same app / endpoint for all the tests) but sometimes, we have an error with the TWA. We have no idea why, sometimes a Toast appears saying " Digital asset links verification failed on $MY_URL".
First: why sometimes do we have an error ? We are always using the same app / endpoint, so same fingerprint, same place for the digital asset links...
Second: is there anyway to remove this toast ? Because it will display the custom tab intent with the bar etc.. but this toast is really annoying and provides a really poor UX.
Thank you,
Did you set up the digital asset link for your TWA[1]? Is the address bar visible while the toast appears?
Besides, the toast only appear when the TWA is install for debugging, it will not show up if a user install the app from a store.
Hello @EiraGe
Yes, everything is correctly defined, as said before it's working 95% of the time probably... but sometimes it fails and we have no idea why, only the toast saying the verification has failed.
Could you tell me where is it mentionned in a documentation abut this toast behaviour ? (only in DEBUG?)
Thank you!
Hello,
We had a few times the issue in PRODUCTION, with app installed from playstore.
Could you give more inputs please ?
This is really annoying for user experience.