question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Please add support for TWA WebView Fallback

See original GitHub issue

When a user starts a Trusted Web Activity (TWA) based application, a browser that supports TWAs may not be available on the device. In those situations, the default implementation will fallback to opening the URL in a Custom Tab or the default browser, if a browser that supports Custom Tabs is not found. This approach may be undesirable as it breaks the full-screen experience for users.

I would therefore suggest you to please add an option to the CLI that allow user to enable WebView Fallback with a single switch.

This could be based on https://github.com/GoogleChrome/android-browser-helper/tree/5a0accde2341108fcc7eb7d0b0e0d7ce45a29962/demos/twa-webview-fallback

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:8

github_iconTop GitHub Comments

1reaction
andrebancommented, Mar 23, 2020

We havent’ published a version with the feature yet. Will publish it this week.

1reaction
andrebancommented, Mar 19, 2020

Work on more comprehensive docs will start soon.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Please add support for TWA WebView Fallback #105 - GitHub
The goal is to add the WebView fallback directly to android-browser-helper. The issue we're tracking this is here: GoogleChrome/android-browser- ...
Read more >
Minimum Chrome version for TWA - options? - Stack Overflow
It's not possible to set a browser version requirement on the Play Console. Besides falling back to a WebView, or showing the application ......
Read more >
Trusted Web Activities (or TWA) — A complete implementation ...
Soon I am going to write about “webview as a fallback”, “android shortcuts” and “app install tracking” that can be done in TWA...
Read more >
Android Trusted Web Activities overview - Chrome Developers
Today, if the user's version of Chrome doesn't support Trusted Web activities, Chrome will fall back to a simple toolbar using a Custom...
Read more >
Taking Chrome Full Screen with Trusted Web Activities ...
Although Android apps routinely include web content using a Chrome Custom Tab (CCT) or WebView, a TWA offers unique advantages when you need ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found