|
|
|
|
|
by declan
4309 days ago
|
|
I spent some time (>18 months ago) testing PhoneGap for potential use with what would become http://recent.io/, but PhoneGap was too slow on actual devices to be usable. Launching a "Hello, world" app took something like 30 seconds on an iPhone 3GS. Maybe hardware speed increases have helped to fix that problem. I haven't tested Ionic, though the Creator utility looks promising. Do you have any experience in how well Ionic interfaces with native APIs, like Twitter/Facebook on iOS and sharing on Android? And how do Ionic-built HTML apps perform in terms of speed? |
|
Performance is fairly good. I get around 5 seconds on a 4s, and about 8 on a Nexus S, though I haven't tested with recent code on the Android Phone. The only native API I've used has so far been push notifications. While there's a plugin for that, it works as a pretty thin bridge between native code, and a couple of dispatch functions that use stringByEvaluatingJavaScriptFromString. I've had to fix things, so it means having to understand Cocoa code anyway.
There are also some visual issues with the code, in that the view will save its state if the user uses a route in a view to change the current view. Normally this would help, but if it frequently updates the view changes back and then it flickers.
Overall it's ok if you really love web tech, but I'm learning native iOS development in response to my experience.