misskey-dev / misskey

🌎 An interplanetary microblogging platform 🚀
https://misskey-hub.net/
GNU Affero General Public License v3.0
9.76k stars 1.32k forks source link

Progressive Web App,Android & iOS app generation #8403

Open bil-ash opened 2 years ago

bil-ash commented 2 years ago

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). sw 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

tamaina commented 2 years ago

Do we need to be selective about whether or not to make a PWA?

Johann150 commented 2 years ago

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.

bil-ash commented 2 years ago

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.

trymeouteh commented 2 years ago

I think flutter is the best way to make a mobile app. Flutter allows you to compile apps for android, ios and desktop.

Johann150 commented 2 years ago

Making a mobile app is out of the scope of Misskey and this repository.

ThatOneCalculator commented 2 years ago

Related: https://github.com/misskey-dev/misskey/issues/8437