Android Mobile SDK to easily integrate communication features (WebRTC, messaging, presence, voice, video, screensharing) based on RestComm into native Mobile Applications
Get in the App, all good, go to settings change push using invalid configuration (for example non existing account), go back to contacts activity (connectivity should show lost). Pull down notification drawer and disable wifi, push up and see status remaining not connected. Pull down notification drawer and enable wifi, push up and see status going back to connected, even though it shouldn't since push configuration is not good.
Some hints:
The problem is that RCDevice.onConnectivityEvent() currently sets RCDevice state and calls onConnectivityUpdate() based ONLY on signaling status; it should also check status of last push registration or take into account if push was disabled.
Scenario:
Get in the App, all good, go to settings change push using invalid configuration (for example non existing account), go back to contacts activity (connectivity should show lost). Pull down notification drawer and disable wifi, push up and see status remaining not connected. Pull down notification drawer and enable wifi, push up and see status going back to connected, even though it shouldn't since push configuration is not good.
Some hints: The problem is that RCDevice.onConnectivityEvent() currently sets RCDevice state and calls onConnectivityUpdate() based ONLY on signaling status; it should also check status of last push registration or take into account if push was disabled.