Country list on Risiko-Ermittlung AFTER WLAN ON (EXPOSUREAPP-3152) #1372
Conversation
@Oliver-Zimmerman Hi Oliver, I just did a quick look. I think without somekind of callback or observer this would indicate another problem: wifi usually needs some seconds to establish a connection. If you return to the App or Onboarding before having a connection, it could result in country list not showing... |
@BMItter interesting, I didn't consider this. I will test it again to see if this issue occurs and adjust based on my findings. Did you test to see if this issue was occurring? I imagine it would only appear if you enable WLAN right before going to the country list screen. |
Yes, I did a quick test.. maybe it would be a solution to leave the callback there and combine it with you enhencement (ConnectivityHelper).. |
@BMItter I put the registerNetworkCallback within the ConnectivityHelper check and this now seems to be working as expected. |
…-warn-app/cwa-app-android into fix/3152-country-list-bug
Kudos, SonarCloud Quality Gate passed! 0 Bugs |
lgtm. quicktest on Android 10,11 passed. |
Description
Small fix for issue 3152 where the country list would not appear after switching Wifi off and then back on again because the network callbacks defined were not working properly.
Adjusted the network connectivity check and is now working as expected.
Test