OpenPoGoUI icon indicating copy to clipboard operation
OpenPoGoUI copied to clipboard

Not working on safari iphone 6 ios 9

Open maithanhtan opened this issue 10 years ago • 17 comments

Hi the web not working on my iphone. Try to click setting but do not show anything

maithanhtan avatar Aug 09 '16 15:08 maithanhtan

Steps to make UI work on all non ES6 browsers: cd OpenPoGoUI echo '{ "presets": ["es2015"] }' > .babelrc mv scripts scripts.es6 babel scripts.es6 --out-dir scripts

that translates all the es6 scripts to es2015 - then just start node: node server.js and then on iPhone: use safari to point to http://:8080/, select the config icon (bottom right) and set the web socket host to http://:8000, with being the ipaddress or name of the machine running the web socket server.

Recommendation: in ./scripts/config.js line 18: set the websocket: "http://localhost:8000/" to be a host variable set by the build.

OhJayGee avatar Aug 11 '16 07:08 OhJayGee

by the way, I've made a gulp task that create a minified babelified vesion to deploy. it just hasn't hit production yet :)

niicojs avatar Aug 11 '16 07:08 niicojs

also, about the config.js, just hit : http://openui.nicontoso.eu?websocket=http://machine:8000 it will do it for you (url for dev, will be replaced by the real one soon)

niicojs avatar Aug 11 '16 07:08 niicojs

Very nice - I was just about to write that you can have gulp do the babel-ization :) Thanks for the URL param. And btw: really nice work on the UI - Thank you!

OhJayGee avatar Aug 11 '16 07:08 OhJayGee

I'll push it into git today

niicojs avatar Aug 11 '16 09:08 niicojs

I try it but still got the same issue on my phone. Still that some javascript is blocked on IOS. My ipad have the same issue

maithanhtan avatar Aug 13 '16 03:08 maithanhtan

Will this work on iCloud tab sharing?

Rlewisrlou666 avatar Aug 13 '16 09:08 Rlewisrlou666

Could you try it again it should be better but nor tested. Don't know about tab sharing I don't own a Mac.

niicojs avatar Aug 13 '16 10:08 niicojs

It just says connecting to bot

Rlewisrlou666 avatar Aug 13 '16 10:08 Rlewisrlou666

image

Rlewisrlou666 avatar Aug 13 '16 10:08 Rlewisrlou666

If you could take a look at http://openui.nicontoso.eu. Did not really work on iphone compatibility but I changed something that could help. Also, it may be easy to directly access http://openui.nicontoso.eu?websocket=http://bothostname:8000 to connect directly to the bot without having to go to settings.

niicojs avatar Aug 13 '16 21:08 niicojs

I can confirm that this works on mobile safari on IOS 9.3.3 and IOS 9.3.4 on both iphone and iPad. Note that if you use http://openui.nicontoso.eu you get a green screen trying to connect to bot. The bot machine needs to be network accessible by the device showing the map. If you are at home that's easy, if you want the map to work while out and about with your device, then you have to make the bot machine internet accessible (open port forwarding in your home firewall for port 8000 to the bot machine). img_2974

OhJayGee avatar Aug 14 '16 08:08 OhJayGee

Level 42???

niicojs avatar Aug 14 '16 08:08 niicojs

Regarding icloud tab sharing and handoff: both work - still your mobile device will need to be able to establish a network connecting with the machine you are running the bot on.

OhJayGee avatar Aug 14 '16 08:08 OhJayGee

And the Lvl42 is a joke - nice work spotting that - I didn't want my account and measly level to be public on a screenshot :)

OhJayGee avatar Aug 14 '16 08:08 OhJayGee

http://openui.nicontoso.eu/ --> site not found can you please help

maithanhtan avatar Aug 14 '16 12:08 maithanhtan

Should be fixed sorry.

niicojs avatar Aug 14 '16 12:08 niicojs