5 ms·
While I'm a huge Svelte fan, this project hasn't really gotten very much care and attention over the last few years. Which is honestly fine. React and React Na
by woahitsraj 3y ago
While I'm a huge Svelte fan, this project hasn't really gotten very much care and attention over the last few years.
Which is honestly fine. React and React Native I think do a much better job of filling the niche of people who want to build native apps with web tech.
That being said, I think with the progress that Safari has made in implementing PWA support, the increased hostility of Apple toward native developers, and browser improvements like WebGPU coming out soon, I really hope that we no longer have to build native apps for like 95% of use cases. The only major hurdle to this is Apple continuing to treat web apps as second class citizens on iOS and only begrudgingly adding APIs to Safari to make good native experiences.
- sacrosanct 3y ago> 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 https://crypt.ee/download [0] https://crypt.ee/ https://crypt.ee/
- throwitaway1123 3y agoThe 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_apps_with_smart_app_banners https://developer.apple.com/documentation/webkit/promoting_a...
- ezfe 3y agoYou just click "Share -> Add To Home Screen." I understand that that's technically more clicks than a smart banner but hardly "convoluted"
- throwitaway1123 3y agoI 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
- oh_sigh 3y agoAdding to your own home screen under a "share" menu is something probably 90% of users would never think of.
- dangerlibrary 3y agoFastmail does this too, and it works extremely well.
- woahitsraj 3y agoI 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/ https://fugu-tracker.web.app/
- willsmith72 3y agoIt's absolutely intentional, but going to slowly get better even as they drag their feet
- bsaul 3y agoi 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.
- tootie 3y agoWe've been working with Capacitor recently which is the current iteration of webview-to-native. Basically you just build a website and run it through a compile step to output iOS and Android. The ergonomics of the build process and integration with native features is definitely a bit lumpy, but we've been very successful at building an all-in-one codebase that will power web, ios and android with minimal drift.
- kevinak 3y agoNot sure what you built but for anyone interested in going down this venue there's a blog post by a Svelte Ambassador that you can read here: https://khromov.se/how-i-published-a-gratitude-journaling-app-for-ios-and-android-using-sveltekit-and-capacitor/ https://khromov.se/how-i-published-a-gratitude-journaling-ap...
- roldyclark 3y agoCapacitor is great! Did Svelte + Capacitor for my last app. Highly recommend.
- dickersnoodle 3y ago> increased hostility of Apple toward native developers Chortle.