GoogleChromeLabs / bubblewrap

Bubblewrap is a Command Line Interface (CLI) that helps developers to create a Project for an Android application that launches an existing Progressive Web App (PWAs) using a Trusted Web Activity.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

twa manifest enhancement - launch_handler

alokbhat123 opened this issue · comments

Is your feature request related to a problem? Please describe.
Request for addition of support for "launch_handler" in twa manifest json to bring it in parity with PWA.

The launch_handler feature in TWA will help control the number of instances of TWA application that gets opened in a given session.

Problem: Currently, a new TWA application instance gets opened everytime a handler URL is clicked on browser.
Expectation: is to have a single instance of TWA application that handles multiple URL navigations.
OS: ChromeOS

Describe the solution you'd like
The support is already live for >= chrome 110 PWA. https://developer.chrome.com/docs/web-platform/launch-handler/
We can probably add same/similar key name for twa manifest json and give the same capability as that of PWA.