web applications - Can't update manifest.json for my android homescreen webapp -


i can't seem manifest.json (associated webapp on android phone) updated.

i created web page
created needed manifest.json file as:

{     "lang": "en",     "display": "fullscreen", } 

included link in html of web page

<link rel="manifest" href="http://yoursite.com/manifest.json"> 

brought web page on samsung android phone in browser (samsung internet 2.1) , clicked "add shortcut home screen"
looked good. shortcut on homescreen icon , took me webpage in fullscreen mode.

now trying change things in manifest.json. wanted add start_url , add url parameters. deleted icon on home screen, changed code in manifest.json on webserver. loaded webapge in browser , added shortcut homescreen. url parameters not passed webpage.

i did same steps again, manifest.json different url. no dice.
tried changing "fullscreen" "browser". delete icon, add homescreen, try again. nope - still in full screen mode. tried different file name manifest.json. different <title> on webpage.

try might, can't seem different manifest.json saved.

what missing/doing wrong????
assume manifest.json saved on phone. can/should manually delete (although can't find it).

ok think figured out. bad in thinking manifest.json applicable more chrome. looks manifest.json has nothing webapp behaving does. rather meta tag:

<meta name="apple-mobile-web-app-capable" content="yes" /> 

this tag makes shortcut on homescreen open browser in fullscreen mode. believe made safari(?) adopted samsung browser using.


Comments

Popular posts from this blog

java - Run spring boot application error: Cannot instantiate interface org.springframework.context.ApplicationListener -

reactjs - React router and this.props.children - how to pass state to this.props.children -

Excel VBA "Microsoft Windows Common Controls 6.0 (SP6)" Location Changes -