jQuery.stayInWebApp icon indicating copy to clipboard operation
jQuery.stayInWebApp copied to clipboard

Can't let your plugin work with my site

Open Geppie opened this issue 12 years ago • 5 comments

Hi mrmoses,

Having the issue that the link moves to safari instead keep using full screen mode so i found your plugin but can't figure out how i can let it work. The website i'm testing everything is thegoodplace.nl/websites/ipad/ I hope you can give me some tips.

Cheers in advance mrmoses,

Geppie

Geppie avatar Aug 22 '12 12:08 Geppie

Did you get this figured out, or do you still need some help?

mrmoses avatar Jan 25 '13 16:01 mrmoses

Hi, Thanks for making this but I feel that some kind of how-to guide is needed. I cant figure out how this is supposed to be used. For example: do i need the code

<meta name="viewport" content="width=device-width user-scalable=yes" />
<meta name="apple-touch-fullscreen" content="yes" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black" />

still or is it enough to just do:

<script src="js/jquery.stayInWebApp.js"></script>

jweymarn avatar Feb 07 '13 19:02 jweymarn

What error are you still getting?

You'll definitely need <meta name="apple-mobile-web-app-capable" content="yes" /> otherwise window.navigator.standalone won't be set to true and the plugin won't work. You'll probably find the apple iOS web app documentation quite helpful as well.

maxfi avatar Feb 18 '13 07:02 maxfi

I don't recall getting any error at all. I read the iOS web app documentation you linked and made my own version of this based on that.

jweymarn avatar Feb 18 '13 08:02 jweymarn

Great. So it's all working nicely now?

maxfi avatar Feb 19 '13 04:02 maxfi