Cwa-app-ios: App shows sometimes "no internet connection"

Created on 24 Jul 2020  路  11Comments  路  Source: corona-warn-app/cwa-app-ios

Describe the bug

Sometimes when I open the App, it shows no Internet connection. I have used other Apps before and afterwards, which did not have any problem with connectivity. The only way to fix it is to swipe the app and start it again.

I didn't find any pattern, when it appears.

Technical details

  • iOS Version: 13.6
  • Device: iPhone 8
  • App Release 1.1.1 (not observed in other releases befor)

    Possible Fix

A
B
Recommend way to go to setting is useless, because Internet was already there:
D

c


Internal Tracking Id: EXPOSUREAPP-1572

bug mirrored-to-jira

Most helpful comment

@JonasHeidelberg checking the internet connection constantly is a bad practice for mobile applications that don't require a constant connection. So whenever internet connection is required (e.g. when submitting yourself as infected), the app will attempt to connect and if that fails, the app will prompt that to the user. If you don't need internet connection, the app will not check it anymore. So you can be "offline", but still have active tracing displayed on the home screen.

All 11 comments

We will remove the connectivity feature completely in 1.3.0. The PR for that feature should come next week.

@inf2381 , could you elaborate a bit more? Are you removing the feature where the app attempts to judge if there is an internet connection? If, is this because there are too many false positives? I can only second @HeiDasGri in that this sometimes happens, both on my phone and on my partner's phone (both iOS).

@JonasHeidelberg checking the internet connection constantly is a bad practice for mobile applications that don't require a constant connection. So whenever internet connection is required (e.g. when submitting yourself as infected), the app will attempt to connect and if that fails, the app will prompt that to the user. If you don't need internet connection, the app will not check it anymore. So you can be "offline", but still have active tracing displayed on the home screen.

@inf2381 that makes sense. The data download of the keys is done by iOS, correct? So as long as I am not being tested, both collecting keys through Bluetooth, and matching them with the keys on the central server, happens without the cwa needing internet connectivity itself?

@JonasHeidelberg No, the app downloads the keys. Accordingly, it requires an Internet connection.

No, the app downloads the keys. Accordingly, it requires an Internet connection.

That's correct.

@JonasHeidelberg: As @ferdinand pointed out, the application needs internet connectivity to download the diagnosis keys from positive COVID tests. These keys are checked on your phone against any exposure keys collected via bluetooth.

We will remove the connectivity feature completely in 1.3.0. The PR for that feature should come next week.

Good, I can confirm this (annoying) behaviour. The only fix is to close and reopen the app.
This warning message does not prevent the app from working correctly, fortunately

When this behaviour happens the phone starts draining the battery. This is in the last 24h. It's the top application using the battery during this time.

0D3B2DA6-8D6A-418F-8547-927E069E5D86

Just opened the App and it was connected as it immediately refreshed at 00:01 but it showed this.

0846A439-01DE-44AA-9250-240065802FBB

Closed and opened the App and the issue was gone.

It happens with Android too. Sometimes the app shows "keine Internetverbindung" while the diagnosis keys are downloaded from the server. I write this comment mainly to make it possible to find this issue by searching for the German text "keine Internetverbindung".

Was this page helpful?
0 / 5 - 0 ratings