javascript - Convert bootstrap mobile site to phonegap app -


i have mvc4 web application using bootstrap 3 , jquery. mobile design need want create native mobile application replicates mobile site like. there way convert bootstrap site phonegap application know based on html , js?

i wondering if there way of using iframe approach app load mobile site into? thing want use native application push alerts , marketing abilities.

any guidance appreciated.

thanks in advance

if mvc app spa (single page app) uses ajax extensively communicate back-end, might lucky.

first, since mvc server-side gonna have generate static html pages use in cordova app ..this shouldn't problem, go each page , save source-code html file.

also communication need ajax based .. jsonp, lot easier working, can configure cross domain communication.

and need reorganize pages , stuff compatible way cordova organizes directories , stuff.

but ..you generate static pages, make sure ajax works, , reorganize directory structure , likes.

will bit more complicated, , you'll have think of things authentication maybe, , rework code here , there, it's not impossible do.

if can dump of site work off usb drive (pure html, js, ajax), can make cordova app :-)


Comments

Popular posts from this blog

javascript - Bootstrap Popover: iOS Safari strange behaviour -

Magento/PHP - Get phones on all members in a customer group -

session - Logging Out Using PHP -