简体   繁体   中英

Trusted Web Activity: Navigating back to the Main Activity reveals the website URL during the period of transition

The website I am redirecting to takes a few seconds to load due to runtime activities. During the load, if I try navigating back to the main activity (on pressing the back button on my android phone), the URL of the website is revealed (for a brief moment) during the transition phase from the website to the app. This shouldn't be the case as it would defeat the purpose of TWA and hiding of the URL bar. How do I avoid this issue?

Note: The URL bar is hidden rest of the time, meaning the application and the website has established a connection and the TWA is working as it is supposed to.

I don't understand much about it, the little I understand would be to establish a connection between the website and the Android application in order to use 'digital asset links' linking the website to the application and the application to the website as well. I'm sorry if I didn't understand you correctly and I'm sorry for the English too.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM