Raven icon indicating copy to clipboard operation
Raven copied to clipboard

Add to Home (mobile)

Open blaggacao opened this issue 1 year ago • 3 comments

There seems to be a conflict between various Frappe apps when adding to home ("installing app").

Here is the sequence on Android:

Screenshot_20240802-141142.png

... when clicking on the first ...

Screenshot_20240802-141258.png

The problem doesn't seem unique to Raven. It also happens with other new-style Frappe apps.

blaggacao avatar Aug 02 '24 12:08 blaggacao

I use both the Frappe HR app and Raven on my phone and it works 🤔

nikkothari22 avatar Aug 02 '24 12:08 nikkothari22

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

blaggacao avatar Aug 02 '24 13:08 blaggacao

Looks like an issue on Android. Works fine on my iPhone 🫠

Will test it on Android.

nikkothari22 avatar Aug 02 '24 15:08 nikkothari22

@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.

nikkothari22 avatar Oct 11 '24 14:10 nikkothari22