I’m using many forums based on Discourse and the hub provides one convenient view of new replies and notifications across them all.
I usually open the hub, and then open a specific forum with new content, but since it is opened inside the hub I then have to navigate all the way back to the start page of the hub to access other forums.
If each forum opened in their corresponding PWA it would make navigation between different forums much easier.
I actually support this change cause we get to junk the whole chrome tab thing that people seem to dislike. It means the Android build of the app becomes simpler and has less moving parts.
@pmusaraj I am curious how simple it would be just to junk chrome tab? I recall @tgxworld showed me how slow chorme tab was compared to the PWA, it is not fun and simply opening a PWA if it exists and default browser if it does not seems like a far better default.
I think that’s easy to do, in fact we trigger a browser prompt now if Chrome isn’t installed. I have not tested with a PWA installed, curious to see if it picks that up automatically or if it still triggers the prompt.
A installed PWA via WebAPK will automatically register in the OS to handle URLs under the service worker scope. So it will work provided DiscourseHub doesn’t use webviews anymore and use normal links.
What about the push notifications? Users will see double notifications if they use both
I have posted a beta version (1.6.2) of DiscourseHub for Android that removes Chrome Custom Tabs and triggers a browser prompt, which in turn will display the installed PWA matching the site.
For push notifications, I have made no changes, I think users using both the app and its PWA will need to disable at the system level notifications for one of the two.