this post was submitted on 03 Jul 2023
24 points (85.3% liked)
wefwef
4215 readers
1 users here now
wefwef is now Voyager! Subscribe to [email protected].
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Not if you want to have it on the homescreen and not open safari when you tap on it, that only works for apps not web apps and even for apps it’s not ideal.
Ah, I guess because you’d have to make the change before saving to home, right ?
So we can’t programmatically update the PWA manifest and favicons, since “save to home” isn’t a logged in user?
Unless… maybe a query param for theming? 🧐
Yeah, I’m pretty sure on iOS you‘d have to delete and add it again (which I certainly wouldn’t mind). If you can actually switch the icon that way I‘d be more than happy to have that, though.
Yeah that would be limitation unfortunately.
That maaaay change with upcoming iOS versions, not sure.
On iOS 17 at least I don’t think it does. I’m pretty sure there was an option to choose a custom image when adding a website to your homepage, but that sadly doesn’t work anymore.
You can do it with the Apple app Shortcuts
This is the best you can do on iOS right now if you want to have a web app with a custom icon on your homescreen that doesn’t open safari if you tap on it: video.
It opens a little safari window which reloads from scratch every time you open it via the icon. Not ideal.
Adding it the normal way (which doesn’t let you customize the icon) makes it behave pretty much like a native app: full screen and keeps its state every time you tap on the icon.
Turns out it actually is possible: link
error loading comment
Turns out it actually is possible: link
Well I’ll be. Bless!