Single PWA for a Frappe Site

Can we have single PWA for frappe site?

Now we are having N number of PWA for M frappe apps.

Even we are not able to login to PWA, if we have set different authentication, other than Frappe’s native authentication.

Also see:

Will try adding LDAP support on Raven. We support all other auth methods (OAuth, 2FA, Email link) on the Raven login page.

This won’t be an issue with the upcoming Raven native mobile app since it uses OAuth, and it will redirect to the standard Frappe login page.

1 Like

@nikkothari22

That will be great.

But I raised another issue. Can we have a only one PWA for any frappe site.

looks odd?

A single PWA won’t be possible since all of the apps are using different frontend technologies/codebases under the hood.

@nikkothari22

You should be right.

But my expericenc is as:

On laptop, in Google-chrome, I opened Frappe-Derive app, and insralled it as PWA:

I make it launchable, and I got:

I installed Drive PWA, but it allow me to open raven, Ganeplan or anyother app.

Is it not already there?

May be a small element missing, like [Slow all apps].

or am I missing something.

Similar experience was on mobile phone.

I think that might be a bug or it just redirects to the apps page available in Frappe.

For context, Raven’s PWA registers a service worker for delivering push notifications; and to do that it needs to be installed as a PWA separately.

PWAs have other shortcomings though, so we’re just moving to a native mobile app that you could download from the App Store.

1 Like

Too good.

However, things looks like cyclic.

There used to ERPNext mobile app, which was abandoned to favour PWA.

Raven has PWA, but now you are moving towards mobile native app.

Will there be any chance that ERPNext mobile app, may take rebirth?

1 Like

For most use cases PWAs are fine - these include apps like ERPNext, HR etc.

Chat apps however, are different. You need them to have reliable and better push notifications, haptics, background jobs to sync messages, offline persistence of data in case someone wants to view messages when offline and better scroll performance among other things. Hence, we decided to make a native app.

1 Like