News for hackers. Stuff that matters.
Re:Svelte Native: The Svelte Mobile Development Experience by sacrosanct on Monday January 29, 2024 @01:58PM (#39180721)
> The only major hurdle to this is Apple continuing to treat web apps as second class citizens on iOS

If you add a site to iOS' homescreen it automatically becomes a PWA. The best example I found of a site fully leveraging this feature is Cryptee[0]. They talk about the PWA thing here: https://crypt.ee/download

[0] https://crypt.ee/

Re:Svelte Native: The Svelte Mobile Development Experience by throwitaway1123 on Monday January 29, 2024 @02:54PM (#39181567)
The whole add to home screen process is needlessly convoluted. It would be nice if there was something similar to Smart Banners for PWAs: https://developer.apple.com/documentation/webkit/promoting_a...
Re:Svelte Native: The Svelte Mobile Development Experience by ezfe on Monday January 29, 2024 @04:47PM (#39183163)
You just click "Share -> Add To Home Screen." I understand that that's technically more clicks than a smart banner but hardly "convoluted"
Re:Svelte Native: The Svelte Mobile Development Experience by throwitaway1123 on Monday January 29, 2024 @05:35PM (#39183715)
I think it's convoluted relative to a Smart Banner. Smart Banners give users a clear call to action, and they're not buried in a menu somewhere.

It's hard to make this point without linking to a screenshot, but the share menu is incredibly bloated. To get to the add to home screen button a user has to know it's in the share menu (which is just an unlabeled icon), and then scroll past the following menu items:

- An options button (which leads to another menu)

- Air Drop

- Share via text message (with several different contacts listed individually to share with)

- Copy

- Add to Reading List

- Add Bookmark

- Add to Favorites

- Add to Quick Note

- Find on Page

Re:Svelte Native: The Svelte Mobile Development Experience by oh_sigh on Monday January 29, 2024 @08:39PM (#39185359)
Adding to your own home screen under a "share" menu is something probably 90% of users would never think of.
Re:Svelte Native: The Svelte Mobile Development Experience by dangerlibrary on Monday January 29, 2024 @07:10PM (#39184589)
Fastmail does this too, and it works extremely well.
Re:Svelte Native: The Svelte Mobile Development Experience by woahitsraj on Monday January 29, 2024 @08:13PM (#39185152)
I agree it's MUCH better than it used to be (and huge credit to Jen Simmons and her team for making this possible). However Safari APIs are still WAY behind Chrome/Android and I think this is probably intentional to push developers into using the App Store so Apple can collect their 30% tax

https://fugu-tracker.web.app/

Re:Svelte Native: The Svelte Mobile Development Experience by willsmith72 on Monday January 29, 2024 @08:57PM (#39185497)
It's absolutely intentional, but going to slowly get better even as they drag their feet
Re:Svelte Native: The Svelte Mobile Development Experience by bsaul on Tuesday January 30, 2024 @05:02PM (#39196495)
i wonder when someone is going to sue apple over this absurd limit. There's 0 justification for it, it's almost the definition of racket.