Would you recommend using React Native instead of developing Android apps the traditional way if I don't already have experience with Android development?
Would you recommend using React Native instead of developing Android apps the traditional way if I don't already have experience with Android development?
http://complexview.com/apps/rgb-logic/index.html
I code in both Swift and Java (and a little Kotlin) but I think RN was better for this project:
* Cross platform with very little extra effort (it only took a couple of hours to take iOS version, make quite a few improvements to both versions and a few changes for Android and ship it).
* The game relies on a somewhat complex UI with simple updates... React/Javascript makes this kind of thing a lot easier to code than say using some kind of complex custom state/view objects in Java.
* Adding a tutorial was way easier thanks to Javascript's blurring of code and data
* Live reload (and now hot reload!) are amazing. Better than than even Android Studio's new "instant" run.
It sounded too good to be true. I'll give it more time to mature.
I guess reading this thread makes me choose native android.
In other words, do you think it'll be in a usable state once it's polished and matured?
React is awesome and I love the promise of using the same concepts for native apps, but there is still a large commitment required to hand write a lot of extra code for full support on multiple platforms.
For now, Appcelerator Titanium is my tool of choice for cross-platform apps. It has much more stable cross-platform APIs and support, but even it has several quirks here and there, and doesn't support some more modern JavaScript features (ES2015, fetch, Promise) like React Native does out of the box.
This isn't even a comprehensive list as it doesn't include apps like TaskRabbit Tasker App (http://tech.taskrabbit.com/blog/2016/03/24/react-native-andr...) which aren't public-facing.
NFC: Except for payment, I never used NFC for anything, never seen any of my friends use it for any practical purpose. If your app is using payment systems, forget react native.
GPS: Supported by React native.