question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Support OS location service on macOS

See original GitHub issue

Upstream already has CoreLocationProvider. However, it doesn’t work if Brave is not inserted in allowed list of Location Service. If Brave is not inserted, we should use NetworkLocationProvider as a fallback

On Windows, if user doesn’t enable OS location service, NetworkLocationProvider is set even if LocationProviderWinrt flag is on. However, NetworkLocationProvider is not used on macOS as a fallback.

STR:

  1. Check MacCoreLocationBackendStudy is enabled from brave://version
  2. Load https://www.gps-coordinates.net/my-location
  3. Allow location permission via site settings bubble below Screen Shot 2021-07-29 at 10 24 34 AM
  4. Allow Brave browser for accessing os location via Preferences Screen Shot 2021-07-29 at 10 26 24 AM
  5. Reload and check it shows correct location

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:8 (6 by maintainers)

github_iconTop GitHub Comments

2reactions
simonhongcommented, Jul 29, 2021

Set 1.27.x milestone as MacCoreLocationBackendStudy is also applied to current release channel. I can see MacCoreLocationBackendStudy is enabled via brave://version like below and can get accurate location. STR is added in the description. cc @kjozwiak @rebron

Screen Shot 2021-07-29 at 10 17 43 AM
0reactions
kjozwiakcommented, Aug 5, 2021

Going to exclude this from the notes as this already went out via Griffin. This was more of a double check to make sure things are working as expected.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to turn Location Services on or off on Mac - MacPaw
How to turn on Location Services on Mac · Click on the Apple menu and choose System Preferences. · Select the Security &...
Read more >
How to Turn on Location Services on a Mac Computer
1. Click on the Apple symbol in the upper left corner. 2. Click on "System Preferences." 3. Click on "Security & Privacy" in...
Read more >
How to Fix If Location Services Is Not Working on Mac
Turn off Location Services: Apple menu > System Preferences, click Security & Privacy, then click Privacy and click Location Services. You may ...
Read more >
5 Best Ways to Fix Location Services Not Working on Mac
5 Best Ways to Fix Location Services Not Working on Mac · Press Command + Spacebar to open Spotlight Search, type System Preferences,...
Read more >
7 Fixes Location Services Not Working On Mac (M1/2 & Ventura)
On macOS Monterey & Earlier:- Go to the Apple logo from the top Mac menu > System Preferences > Security & Privacy >...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found