Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

This is surprisingly detailed! I didn't expect there to be such nice animations and for there to be an emoji panel in the messaging app.

It's interesting that they're using Safari's “add to Home Screen” feature so they can use fullscreen. I think that might be why that's the only browser which is supported.



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.


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.

Edit: found out that Kiwi browser allows access to the Chrome extension store and to the Chrome dev tools so I got it to work despite all of Samsung's best efforts.


can you explain more about manually setting a breakpoint. I am little noob


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.


Thanks




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: