iphone - iOS App: webView or PhoneGap? -
we developing html5 mobile app sencha touch.
now want package app, , found have two methods:
the first one use phonegap generate native app based on our html5 code.
the second one create single webview app in xcode, , request url host our html5 code.
i found second method relatively easier. there advantages in using phonegap generate native app?
we use phonegap/cordova when need native function device, example barcode scanner.
of course can create own barcode project, why reinvent wheel. since phonegap/cordova 3.0 effort needed creating app kinda low. follow guide , set.
http://docs.phonegap.com/en/3.4.0/guide_platforms_ios_index.md.html#ios%20platform%20guide
in short:
advantages of phonegap/cordova
- ready different platforms, little effort create android app
- native functionality implemented (plugins)
Comments
Post a Comment