Skip to content
New issue

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

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

Already on GitHub? # to your account

Geolocation doesn't show user location #783

Closed
srirambv opened this issue Aug 20, 2018 · 5 comments
Closed

Geolocation doesn't show user location #783

srirambv opened this issue Aug 20, 2018 · 5 comments

Comments

@srirambv
Copy link
Contributor

Description

Geolocation doesn't show user location

Steps to Reproduce

  1. Clean install 0.54.0
  2. Visit https://browserleaks.com/geo in a new tab
  3. Click allow to capture location, doesn't work

Actual result:

geo

Expected result:

Should show user location when access to location is allowed

Reproduces how often:

100%

Brave version (about:brave info)

Brave 0.54.0 Chromium: 69.0.3497.32 (Official Build) dev (64-bit)
Revision bf910299d07564d66b36991ebc7dbdc7e26fe897-refs/branch-heads/3497@{#514}
OS Windows
JavaScript V8 6.9.427.14
Flash (Disabled)

Reproducible on current release:

No, b-l shows proper location

Website problems only:

  • Does the issue resolve itself when disabling Brave Shields? No still fails on shields down
  • Is the issue reproducible on the latest version of Chrome? Chrome shows user location when allowed

Additional Information

#48

@mbacchi
Copy link
Contributor

mbacchi commented Aug 20, 2018

I've added (the equivalent of) this to all 3 platform build jobs:

export npm_config_brave_google_api_endpoint="https://location.services.mozilla.com/v1/geolocate?key="

@mbacchi mbacchi closed this as completed Aug 20, 2018
@GeetaSarvadnya
Copy link

GeetaSarvadnya commented Aug 28, 2018

Re-validated the issue on latest build 0.54.2. The web view is getting crashed for step 2.
Please find the crash ID below:
Crash Report ID 10c6e5933aeb78fb

Brave 0.54.2 Chromium: 69.0.3497.42 (Official Build) dev (64-bit)
Revision 9c4613c66dfeb2b76ef6dd4b15884c15db3b4969-refs/branch-heads/3497@{#655}
OS Windows
JavaScript V8 6.9.427.14
Flash 30.0.0.154

@bbondy
Copy link
Member

bbondy commented Sep 13, 2018

This is working for me now on macOS, so resolving.
Thanks @mbacchi!

@btlechowski
Copy link

btlechowski commented Sep 20, 2018

Verification passed on

Brave 0.55.5 Chromium: 70.0.3538.16 (Official Build) dev (64-bit)
Revision 16ed95b41bb05e565b11fb66ac33c660b721f778-refs/branch-heads/3538@{#306}
OS Windows 7

Also checked:
https://developer.mozilla.org/en-US/docs/Web/API/Geolocation/Using_geolocation
https://html5demos.com/geo/

Verification Passed on

Brave 0.55.5 Chromium: 70.0.3538.16 (Official Build) dev (64-bit)
Revision 16ed95b41bb05e565b11fb66ac33c660b721f778-refs/branch-heads/3538@{#306}
OS Linux

Verification Pass with

Brave 0.55.5 Chromium: 70.0.3538.16 (Official Build) dev (64-bit)
Revision 16ed95b41bb05e565b11fb66ac33c660b721f778-refs/branch-heads/3538@{#306}
OS Mac OS X

@felipenmoura
Copy link

felipenmoura commented Nov 16, 2020

Hi.
I might be missing something here!
I'm currently using version Version 1.16.76 Chromium: 86.0.4240.198 (Official Build) (x86_64) on a MacOS Catalina 10.15.5.
I see the browser asking for permissions.
I allow access to my location.
The JavaScript promise takes a long time and then fails catching the error:

{
  "message": "Network location provider at 'https://www.googleapis.com/' : No response received.",
  "code": 2
}

By these last comments, it should be also using Mozilla's geolocation and should be working, right?

The same code works on chrome.

@mbacchi mbacchi removed their assignment Nov 16, 2020
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

7 participants