Demian Renzulli

Results 15 comments of Demian Renzulli

Hi Sebastian, yes! We can add that functionality to the page as well. Which of these options are you thinking about? - Somehow sending as a parameter the token (endpoint...

So, we can experiment with something like: 1. Storing the token/keys on IndexedDB when subscription takes place. 2. Intercepting the fetch request on the SW for the backend call issued...

Update: - I could make this work on top of the [PWA Webpush Codelab](https://developers.google.com/web/ilt/pwa/lab-integrating-web-push). - Then, integrated it with this [amp-web-push](https://github.com/ampproject/amphtml/blob/master/examples/amp-web-push.amp.html) example. The problem I found was not with the...

If you think that adding all the VAPID webpush logic to the SW might be too complex, another thing we could do is to use the SW only to persist...

Adding the related bubblewrap implementation that we can use as inspiration for iteration 2: https://github.com/GoogleChromeLabs/bubblewrap/blob/main/packages/core/src/lib/features/FirstRunFlagFeature.ts

As discussed, we'll first work in getting the iteration 1 approved and uploaded to the repo, and then we'll work on iteration 2 on top of it. @andreban: question about...

Also adding here Andre's idea of checking when the TWA connects to the host app's service: [DelegationService](https://github.com/GoogleChrome/android-browser-helper/blob/main/androidbrowserhelper/src/main/java/com/google/androidbrowserhelper/trusted/DelegationService.java), to make sure that the TWA has successfully launched.