0

We implemented the Trusted Web Activity in our app, and configured the Digital Assets just fine. Except we noticed that for the first launch a white screen with address bar flashes for a second or two and then disappears, after which the website launches without address bar.

Code for launching TWA:

val launcher = TwaLauncher(this)
launcher.launch(TrustedWebActivityIntentBuilder(uri), null, null, null, WEBVIEW_FALLBACK_STRATEGY)
    

How can we overcome that, because it still gives the impression that a web URL is launched and not completely a native experience.

0 Answers0