❓ Issue: Session Disconnects When Switching From Wi-Fi to Mobile Data #1828
Unanswered
vishalblueberry
asked this question in
Q&A
Replies: 1 comment 3 replies
-
|
I think you may want to listen for network changes and reconnect if necessary. I am also applying the same logic in my app. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi team,
I’m facing an issue with network switching while using the HashKit Library on iOS.
I'm using this commit id 6b445c2
Scenario:
My iPhone has both Wi-Fi and Mobile Data turned ON.
The app is currently using Wi-Fi for the HashKit session.
When I turn OFF Wi-Fi, the device should automatically switch to Mobile Data.
Problem:
As soon as I turn off Wi-Fi, the HashKit session gets disconnected and the library does not automatically reconnect using the available Mobile Data network.
Expected Behavior:
The session should stay connected or automatically reconnect when the network switches from Wi-Fi to Mobile Data.
Question:
Is this expected behavior in HashKit, or is there any setting/configuration required to support automatic reconnection on network change?
Thanks for your help!
Beta Was this translation helpful? Give feedback.
All reactions