Blocking Nextcloud server availability checks only in the Nextcloud Talk for Android.
Hi, everyone.
Is your feature request related to a problem? Please describe. Over the past few weeks, Nextcloud Talk for Android has been unable to verify the availability of the Nextcloud server due to DPI (false positive?). However, push notifications are delivered to the Talk for Android, Nextcloud Talk for Desktop and the Nextcloud for Android on the same network continue to function correctly. This block can be easily bypassed by launching PCAPdroid.
Describe the solution you'd like Is it possible to improve the mechanism for checking the availability of server in the Nextcloud Talk for Android?
Additional context
Thanks
Hi @onminonA
if i understand you correctly, the "No connection to server" is permanently shown although you have internet connection on your mobile? The warning is about the internet connection of the phone (I agree the wording is not the best for this case).
Related code is
https://github.com/nextcloud/talk-android/blob/f5e5c7df254b271c9156a56e7783d44f41cc1bd0/app/src/main/java/com/nextcloud/talk/conversationlist/ConversationsListActivity.kt#L371
and
https://github.com/nextcloud/talk-android/blob/8c74a3c41e80184424d3d2ae0562e57a1526c8c4/app/src/main/java/com/nextcloud/talk/data/network/NetworkMonitorImpl.kt
So it sounds like NetworkMonitorImpl has bugs.
@mahibi that's right. In addition, the Talk is in Offline mode when “No connection to server” is displayed.
Enabling PCAPdroid traffic capture restores Online mode in the Talk.