Advanced
pal@pal
12/27/2023

If you were to build a mobile app today, would you build it in Swift or React Native (or other)? What are the current trade-offs?

dev
In reply to @pal
Justin Hunter@polluterofminds
12/27/2023

If cross-platform is no issue, I’d build it in Swift. I prefer it over React Native plus there’s less build and distribution headaches. Tradeoff is obviously that it’s iOS only.

dev
In reply to @pal
0xAli@4li
12/27/2023

Flutter is the best choice for most of usecases

dev
In reply to @pal
NCOOKIΞ@ncookie.eth
12/27/2023

Unless you really have a need for native-only features, build a PWA.

dev
In reply to @pal
Alex Loukissas@futureartist
12/27/2023

Unless you have very specific use cases (e.g. A/V or gaming), RN (Expo specifically) will get you really far and give you x-platform reach, as well as over-the-air updates.

dev
In reply to @pal
j3@j3
12/27/2023

Flutter

dev
In reply to @pal
raquo@raquo
12/28/2023

Build RN for both platforms to ship fast, plan to write a Swift version for iOS once you have traction and need that sweet performance and aesthetics. Then keep RN as single platform for android, deeper talent pool than native android

dev
In reply to @pal
عمر.eth@omarperacha
12/28/2023

These days the default option would be to built natively (swift for iOS, kotlin for Android). It simply keeps your options much more open to evolve long term. If you’re confident the lifetime scope of your app is limited, e.g. in a way that doesn’t need thread-level control, hybrid is the faster approach for you!

dev
In reply to @pal
Rafi 🍋@rafi
12/28/2023

Swift if iOS is your main target If you have an experience with C/Java/similar, it's easier to learn and use than RN

dev
In reply to @pal
limone.eth - z/esty@limone.eth
12/28/2023

flutter, but doesn’t have much support for web3 stuff rn i believe

dev