Can't try this on Android. Wtf.
Try Galaxy: A web app to demo Samsung’s OS on an iPhone
21–30 of 180 posts
Re: Try Galaxy: A web app to demo Samsung’s OS on an iPhone
#22Re: Try Galaxy: A web app to demo Samsung’s OS on an iPhone
#23How did they make it soooo crisp and native looking???
Re: Try Galaxy: A web app to demo Samsung’s OS on an iPhone
#24It would be good to let android users and desktop users (even if only through changing user-agents) to browse the website. Even if I emulate the user-agent of an iPhone, it needs me to run it from the homescreen.
- open developer tools, Toggle device toolbar, pick an iPhone dimension
- Network > More network conditions ("wifi" icon) > User-agent > Custom > "iPhone Safari"
- in Sources, set a breakpoint on the 1st line, refresh the page, when the debugger breaks, type "window.navigator.standalone = true" in the Console, and continue
Re: Try Galaxy: A web app to demo Samsung’s OS on an iPhone
#25Re: Try Galaxy: A web app to demo Samsung’s OS on an iPhone
#26Earlier quoted context omitted.
It works on desktop Chrome if you emulate a iPhone display and user agent. They're just detecting "add to Home Screen" by looking for window.navigator.standalone which you can manually set using a breakpoint.
can you explain more about manually setting a breakpoint. I am little noob
The page will freeze, go to the Console, type window.navigator.standalone = true; and unfreeze the page clicking on the blue arrow.
Re: Try Galaxy: A web app to demo Samsung’s OS on an iPhone
#27Re: Try Galaxy: A web app to demo Samsung’s OS on an iPhone
#28Re: Try Galaxy: A web app to demo Samsung’s OS on an iPhone
#29Re: Try Galaxy: A web app to demo Samsung’s OS on an iPhone
#30It's restricted to Safari on the iPhone, the language cannot be changed, the demo cannot launch, and I have an iPhone for a reason, I know that I don't like Android and Samsung. The fact that it's broken confirms it. I don't know what they are trying to do with this.