Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

Add method to set connectivity status manually #6617

Closed
danswick opened this issue Oct 6, 2016 · 1 comment
Closed

Add method to set connectivity status manually #6617

danswick opened this issue Oct 6, 2016 · 1 comment
Labels
Android Mapbox Maps SDK for Android feature

Comments

@danswick
Copy link
Contributor

danswick commented Oct 6, 2016

We've heard from a few SDK users that the recently added ConnectivityManager check in Android is too aggressive for devices using alternate methods to connect to a network. These users would benefit from a method that manually sets connectivity status. @tobrun recommended looking into https://developer.android.com/training/monitoring-device-state/manifest-receivers.html as a starting point.

cc @zugaldia @ivovandongen

@danswick danswick added feature Android Mapbox Maps SDK for Android labels Oct 6, 2016
@zugaldia
Copy link
Member

zugaldia commented Oct 6, 2016

Picking this one up.

zugaldia added a commit that referenced this issue Oct 11, 2016
…onnected flag

* [android] introduce a setConnected method to manually set a connected flag

* extend connected state to ConnectivityReceiver

* extend connected state to ConnectivityReceiver
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Android Mapbox Maps SDK for Android feature
Projects
None yet
Development

No branches or pull requests

2 participants