Open bil-ash opened 2 years ago
Do we need to be selective about whether or not to make a PWA?
I think if we have the ability it would make more sense to always have it enabled. Or the other way: I do not see a good reason for disabling it.
If the option is provided, I will surely enable it . I thought someone else might not like to enable it,so mentioned about an option. Its completely fine if it is enabled by default.
I think flutter is the best way to make a mobile app. Flutter allows you to compile apps for android, ios and desktop.
Making a mobile app is out of the scope of Misskey and this repository.
Although misskey serves both a manifest and service worker, it is not a progressive web app(PWA) (at least as of version 12.108) . This is because the service worker is registered only after a user sign-in is complete and does not cache any page although almost entire site is static . The service worker is used only for push notifications. Making it a PWA will enable easy android, iOS and windows app generation using https://www.pwabuilder.com which is not possible now as the pwabuilder crawler is not able to detect the service worker(because it acesses the site as a non signed-in user).
The admin panel can be changed to convert the given option(in pic) into two different ones-
a)Make a PWA
b)Enable push notifictions
Enabling (a) will be a prerequisite for enabling (b). At the same time. this will allow a user to generate a PWA without notifications by enabling (a) but disabling (b).
Originally posted by @bil-ash in https://github.com/misskey-dev/misskey/discussions/8402