To me a mobile cross platform framework is node.js + sencha touch. You write business logic with node.js, sencha touch for mobile ui.Then you can build this code base to native ios or android. I think under the hood, it use Phonegap to build. So how does this work with React Native. I read that there are React Native for IOS and React Native for Android. Are there two code base? For example, let say I have need to write a mobile app display currency and time zone base on location. With this app, there are two requirements
- Same business logic for get timezone and currency base on location. Do not want to have these logic in two places for Android and IOS.
- Two UI view. 1 for android, and 1 for IOS. Are these what react native for IOS and for Android distinct themself?
How many codebase do I need to have two write such an app as above?