Can phonegap just display my mobile website in an embedded browser?

前端 未结 4 881
夕颜
夕颜 2021-01-31 04:58

I have a website built in django, its responsive so works from 320px to 960px.

I\'ve noticed when i tell people the first thing they do is go to their native app-stores

4条回答
  •  情歌与酒
    2021-01-31 05:17

    You can do it - whether or not Apple will let you do it is up for debate...

    This blog post details 3 different approaches to building an app that wraps a website:

    • Option 1 - Package your website inside the app
    • Option 2 - launch your external website inside the app
    • Option 3 - launch your external website but fail back to local version

    and as an additional note, you can access plugins that are installed in your app (e.g. geolocation) while on the external site... if the external site is in your whitelisted sites list).

提交回复
热议问题