News for hackers. Stuff that matters.
Re:Try Galaxy: A web app to demo Samsung’s OS on an iPhone by vbitz on Wednesday May 10, 2023 @08:23AM (#35886333)
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.

Re:Try Galaxy: A web app to demo Samsung’s OS on an iPhone by jeroenhd on Wednesday May 10, 2023 @08:36AM (#35886445)
That explains why I couldn't get it to work on my Android phone despite spoofing the user agent.

Kind of annoying, I was wondering what Samsungs's phone UI looks like these days but I guess they don't want my money. Samsung's marketing department can be weird like that for no well explained reason.

Re:Try Galaxy: A web app to demo Samsung’s OS on an iPhone by prhrb on Wednesday May 10, 2023 @08:34AM (#35886428)
can you explain more about manually setting a breakpoint. I am little noob
Re:Try Galaxy: A web app to demo Samsung’s OS on an iPhone by cthulberg on Wednesday May 10, 2023 @08:47AM (#35886531)
Chrome DevTools -> Sources -> trygalaxy.com -> _next/static -> pages -> index_... -> CTRL + F and search window.navigator.standalone -> click on the dash to the right (a blue arrow will appear) and refresh the page

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 by prhrb on Wednesday May 10, 2023 @09:14AM (#35886877)
Thanks