Add to Home (mobile)
There seems to be a conflict between various Frappe apps when adding to home ("installing app").
Here is the sequence on Android:
... when clicking on the first ...
The problem doesn't seem unique to Raven. It also happens with other new-style Frappe apps.
I use both the Frappe HR app and Raven on my phone and it works 🤔
https://web.dev/articles/building-multiple-pwas-on-the-same-domain
The service worker API and manifest format allow you to do either of the above, using path-level scoping. However, in both cases, using the same origin presents many problems and limitations, the root of which stems from the fact that the browser won't fully consider these to be distinct "apps", therefore this approach is discouraged.
My scenario is:
example.com/crm
example.com/raven
Looks like an issue on Android. Works fine on my iPhone 🫠
Will test it on Android.
@blaggacao Closing this since it seems to be an issue with PWAs in general. We'll have a native app soon, so no point in investigating this.