Closed maithanhtan closed 8 years ago
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://
Recommendation: in ./scripts/config.js line 18: set the websocket: "http://localhost:8000/" to be a host variable set by the build.
by the way, I've made a gulp task that create a minified babelified vesion to deploy. it just hasn't hit production yet :)
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)
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!
I'll push it into git today
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
Will this work on iCloud tab sharing?
Could you try it again it should be better but nor tested. Don't know about tab sharing I don't own a Mac.
It just says connecting to bot
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.
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).
Level 42???
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.
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 :)
http://openui.nicontoso.eu/ --> site not found can you please help
Should be fixed sorry.
Hi the web not working on my iphone. Try to click setting but do not show anything