Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Geolocation doesn't work #5

Closed
revanmj opened this issue Jan 21, 2015 · 5 comments
Closed

Geolocation doesn't work #5

revanmj opened this issue Jan 21, 2015 · 5 comments
Labels

Comments

@revanmj
Copy link

revanmj commented Jan 21, 2015

Could you add some support for geolocation? Right now, trying to enable support for it via normal means (like the ones discussed here: http://stackoverflow.com/questions/5329662/android-webview-geolocation ) results in breaking file uploads.

@ocram ocram added the bug label Jan 21, 2015
@ocram
Copy link
Contributor

ocram commented Jan 21, 2015

Thank you very much!

This should now have been fixed with 373edd5 and ae5d237 should have introduced a convenience method.

With the latest JAR, it should be sufficient to add the permission <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" /> and call mWebView.setGeolocationEnabled(true);.

Please try this and report if it works :) Thanks!

@revanmj
Copy link
Author

revanmj commented Jan 22, 2015

Just tried and it works fine, thanks for such a quick fix :)

@ocram
Copy link
Contributor

ocram commented Jan 22, 2015

Great, thanks for testing :)

@ocram ocram closed this as completed Jan 22, 2015
@LevelMaxBR
Copy link

Hello friends, I did the procedure you mentioned just above, but I did not get results. The alert does not appear to allow or deny the location.
Could you help me?

  • Excuse my English, and congratulations on your work!

@ocram
Copy link
Contributor

ocram commented Jan 29, 2018

@LevelMaxBR Let’s keep the discussion regarding your problem in #173

@1170762202 1170762202 mentioned this issue Dec 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants