You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The app cannot attempt to connect if the network connection changes because it is not possible to receive the network change event.
And so has it been posted a couple of times in this bugtacker.
Now I'm not an android dev, so I might just be wrong, but from browsing the android developer reference, I don't think this is true. I looked at:
This brought me to: NetworkInfo
where they indeed talk about some deprecation in API level 28 and I assume this is what was meant by not being able to detect the netowrk state event, however there is also an alternative given:
The android docs say:
And so has it been posted a couple of times in this bugtacker.
Now I'm not an android dev, so I might just be wrong, but from browsing the android developer reference, I don't think this is true. I looked at:
NETWORK_STATE_CHANGED_ACTION
This brought me to:
NetworkInfo
where they indeed talk about some deprecation in API level 28 and I assume this is what was meant by not being able to detect the netowrk state event, however there is also an alternative given:
NetworkCallback
And if I understand this correctly, you can register you own callback functions, that get called on network events.
The text was updated successfully, but these errors were encountered: