PEConn

Results 80 comments of PEConn

Sure, I filed https://bugs.chromium.org/p/chromium/issues/detail?id=1358863 to track this.

Using a query parameter is the recommended way of identifying if your site has been launched as a TWA: https://developer.chrome.com/docs/android/trusted-web-activity/query-parameters/

> but this would mean the notification plugin on my website have to listen to this query parameter, remember it in a session cookie and sends out the subscribe request?...

Code looks good to me - I agree with Andre about putting this behind a flag until the Android 13 APIs are fixed.

`I get an Android alert saying that my app "keeps closing"` this implies that something is crashing. Would it be possible to provide an APK? I've tried reproducing this myself...

Or alternatively, could you give the output of `adb logcat` while reproducing this?

So the 100% fullscreen white view is `ReceiverActivity`, which it looks like you aren't doing anything with (as in, it doesn't have any UI that you want the user to...

You should file the Feature Request with Chrome, if there are also bubblewrap changes needed, the Chrome FR will be suitable for them too. It probably won't be picked up...

We're definitely looking at this (there's a [proof of concept CL](https://chromium-review.googlesource.com/c/chromium/src/+/1900805) and we're now onto the design stage). Unfortunately it's a bit more complex because signed bundles expire pretty quickly...

Android KitKat support was finished in Chrome 81. TWAs were launched with Chrome 72 with a few big features (splash screens, notification delegation) coming in Chrome 75. So it's possible...