JadenGeller / Helium

A floating browser window for OS X
MIT License
3.58k stars 241 forks source link

Enabling location services #265

Open jeffreycrow opened 5 years ago

jeffreycrow commented 5 years ago

Hulu's Live TV functionality requires enabling location services so they can verify your geolocation in order to work. As far as I can tell, this isn't possible currently in Helium. Would love to have this functionality.

slashlos commented 5 years ago

I think I have a working version but can you provide steps so I can test before I upload?

jeffreycrow commented 5 years ago

Awesome. Heres how it works for me.

1/ Log in 2/ Get prompted to turn on location services in Hulu's UI, click button to trigger location request from browser 3/ Accept location request in browser 4/ Get redirected to main Hulu site in logged in state

slashlos commented 5 years ago

Not sure how I get it to make the location request, but in signing on with Helium, Hulu complains about an unsupported browser; I suspect the user-agent - known issue.

Also if I ignore this I eventually get an alert re: unsupported browser. Trying to initiate from Safari and then hand off to Helium via the share menu eventually gets to the unsupported display.

The user-agent aka support / capabilities verification is a separate issue, but the location services does appear to request authentication as expected, and property is properly requested in the app's capabilities and recorded so subsequent invocations do not request authentication. Helium make location active only while app is in use. I'm planning an upload later today.

slashlos commented 5 years ago

p.s., this really applies to my Helium fork only. Please follow-up issue there, thanks.