Google Play Services for Android. Location client not update location if wifi disabled

前端 未结 3 1104
一生所求
一生所求 2020-12-04 22:30

Our app request update location with LocationClient and IntentService. Location doesn\'t update at all if user disable wifi in phone settings.

We tried to test app

3条回答
  •  没有蜡笔的小新
    2020-12-04 23:10

    If someone is still wondering,

    Google documentation says:

    If you are using both NETWORK_PROVIDER and GPS_PROVIDER, then you need to request only the ACCESS_FINE_LOCATION permission, because it includes permission for both providers. Permission for ACCESS_COARSE_LOCATION allows access only to NETWORK_PROVIDER.

提交回复
热议问题