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.

SETTINGS_CHANGE_UNAVAILABLE when locations are enabled

See original GitHub issue

Steps to reproduce:

  1. Enable Airplane mode (-> cell operator disabled)
  2. Disable Wi-Fi.
  3. Enable locations.
  4. Start “LocationSettings” example from this repositoty.

Expected result: LocationSettingsStatusCodes.SUCCESS or LocationSettingsStatusCodes.RESOLUTION_REQUIRED in onResult callback, because we’re still able to receive updates for the same LocationRequest object.

Actual result: LocationSettingsStatusCodes.SETTINGS_CHANGE_UNAVAILABLE. However, we still can requestLocationUpdates and receive them.

Issue Analytics

  • State:open
  • Created 8 years ago
  • Reactions:8
  • Comments:13

github_iconTop GitHub Comments

2reactions
igor-korotenkocommented, May 27, 2020

+1. Any answer from maintainers? Bug seems to be too easy to reproduce for not being fixed for 4 years.

1reaction
saketcommented, Mar 17, 2017

I’m also struggling with this.

Read more comments on GitHub >

github_iconTop Results From Across the Web

android - LocationServices.SettingsApi Reset ... - Stack Overflow
When this flag is set to true, the dialog will show up if the location settings do not satisfy the request, even if...
Read more >
Manage your Android device's location settings - Google Help
Swipe down from the top of the screen. · Touch and hold Location . If you don't find Location : Tap Edit or...
Read more >
Can't Change Location Services Setting On iPhone, iPad or ...
Open “Settings“. · In iOS12 and higher choose “Screen Time” > “Content Privacy & Restrictions“. · Tap “Location Services“. · Make sure “Allow...
Read more >
How to Fix “Location Not Available” on iPhone - MakeUseOf
To do that, go to Settings > Apple ID > Find My and toggle the switch next to Share My Location off and...
Read more >
Top 6 Ways to Fix Location Services Not Working on Android
If the location services are still not working despite enabling all the right settings, you can try booting your phone in Safe Mode....
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