On a related note; Why is it up to Facebook to develop something like this? Why aren't Apple and Google making it this easy to develop apps? ObjC is a nightmare, 90% of apps out there don't need that level of control.
On a related note; Why is it up to Facebook to develop something like this? Why aren't Apple and Google making it this easy to develop apps? ObjC is a nightmare, 90% of apps out there don't need that level of control.
Apple has no incentive to make it easier for app developers to port their code to other platforms.
Are there any "unicorn" apps that are Android only and intend to stay that way?
[1] https://play.google.com/store/apps/details?id=org.prowl.torq... [2] https://itunes.apple.com/us/app/foreflight-mobile/id33325263...
Chrome? Also Gmail, Google Now, and Facebook Messenger on iOS are garbage compared to Android.
It's just stuck being the Chrome around UIWebView instead of fully featured Chrome, which is unfortunate.
I could be wrong but I am pretty sure I am typing this response in Chrome on a Windows box right now, so maybe not the best example of an Android only app.
Why Google hasn't done this, I don't know. Seems like it is in their best interest and something they're already doing internally. They use the shared web/Android/iOS code concept for Inbox (but not HTML/JS)[1] and probably other projects.
[1] http://arstechnica.com/information-technology/2014/11/how-go...
You have to learn a whole new Apple-only programming language to do iOS (Swift or Objective-C) in addition to the iOS framework/libraries. Not to mention buying a Mac and paying Apple $100 for a developer account.
Android, on the other hand, was pretty straightforward to get started with for me as someone with Java experience.
https://github.com/domokit/sky_engine and https://github.com/dart-lang/fletch
Right now Fletch looks pretty awkward/painful to use though. Writing views completely natively (ObjC/Swift/Java) and then calling into a DartVM for business logic doesn't sound like a fun way to develop to me. I could be wrong, I haven't tried to use Fletch - just read some examples, but right now I don't see the benefit.
Sky is basically Cordova as far as I can tell. It dumps native looking views into a webview and calls it a day. The demo app on Google Play (https://play.google.com/store/apps/details?id=org.domokit.sk...) does not make me terribly excited for it :(
Also, looks like they will name it as Flutter: https://flutter.github.io/getting-started/
If you don't need to push the features envelope of the mobile platforms you are targeting, and if you are OK with having L&F that isn't native, and if you are OK with the pace at which your cross-platform tools chase the native platforms, then cross-platform tools like React Native can be fine for you.
The only reason you think it's not easy is because you're using Titanium, and not embracing the different platforms' native toolkits.