How would the PWA be any better than the actual native iOS app?
Selfhosted
A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.
Rules:
-
Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.
-
No spam posting.
-
Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.
-
Don't duplicate the full text of your blog or github here. Just post the link for folks to click.
-
Submission headline should match the article title (donβt cherry-pick information from the title to fit your agenda).
-
No trolling.
Resources:
- selfh.st Newsletter and index of selfhosted software and apps
- awesome-selfhosted software
- awesome-sysadmin resources
- Self-Hosted Podcast from Jupiter Broadcasting
Any issues on the community? Report it using the report flag.
Questions? DM the mods!
The biggest reason is that PWA allows for web push notifications.
iOS is pretty strict when it comes to background apps keeping open connections, that's one of the reasons why there is no gotify app on iOS. They list the possible workaround with apple's APN service, but that would kind of defeat the purpose of selfhosting,
I'm afraid the biggest obstacle would be Apple's strict restrictions on background services. We cannot keep a persistent WebSocket connection in the background without abusing some APIs, which will absolutely disqualify the app from going onto the App Store and drain the battery significantly. Notifications could only be delivered through APN, which requires a developer account and a central server to manage notifications and send them to Apple before reaching the user, but this is not what gotify is designed for.
https://github.com/gotify/server/issues/87#issuecomment-457453135
//edit: If you check the ntfy docs, you'll see that instant delivery is not supported on iOS. So if you have uses that are time-sensitive, PWA with web push definitely has the advantage.
Is there plans to add integrations to other self host apps? I could see it being useful for integrations with Lemmy and arr software specifically. Doing this would increase popularity with it since it increases use cases.
It's already integrated into a bunch of things, especially the *arrs, but if you have suggestions, please let me or the maintainers of the other software know.
Here's a list: https://docs.ntfy.sh/integrations/
Hey I looked into this some more, and.had a question. If I locked the web part behind my own auth provider and keep API part open but not exposed externally, would that be the way to keep publishing and subscribing private? I'd plan on using PWA, so breaking app versions wouldn't be a concern.
Just try it out. I make no guarantees for odd setups like that though. :-)