mrmans0n / smart-location-lib

Android library project that lets you manage the location updates to be as painless as possible
1.65k stars 353 forks source link

High Accuracy and Battery Saving modes. #139

Closed nomanr closed 8 years ago

nomanr commented 8 years ago

Hi there It looks like I cannot update location unless High Accuracy or Battery Saving mode of location is enable. Is there a way to check if any of the above modes or enable? I read the stats SmartLocation.with(context).location().state().locationServicesEnabled(); this returns true even if GPS mode is enable.

Also if modes are disable, do I've to create the Turn on location dialog or the library has it?

nomanr commented 8 years ago

The answer is LocationGooglePlayServicesProvider.