Cwa-app-android: "Risiko-Ermittlung dauerhaft aktiv" despite BlueTooth being disabled

Created on 24 Jul 2020  路  22Comments  路  Source: corona-warn-app/cwa-app-android

Avoid duplicates

  • [x] Bug is not mentioned in the FAQ
  • [x] Bug is specific for Android only, for general issues / questions that apply to iOS and Android please raise them in the documentation repository
  • [x] Bug is not already reported in another issue

Describe the bug


The green risk status box shows "Risiko-Ermittlung dauerhaft aktiv" despite the fact that I disabled BlueTooth a bit more than one day ago. The app correctly recognized that BlueTooth is disabled (shows "BLUETOOTH DEAKTIVIERT" and a red strike-through BlueTooth icon at the top of the screen).

Side note: I reported something similar in #840. Back then, the app incorrectly showed "14 von 14 Tagen aktiv". In the meantime, you seem to have changed the text, no longer give the (anyway incorrect) number of active days. But in essence, the information shown to the user is still wrong. Personally I think it would be better to completely remove this information from the screen. Better no info than wrong/misleading/confusing/frustrating info. I know from private conversations with less technically affine people that they ARE confused and in the worst case, they might decide to deinstall the app:-( Don't get me wrong, I really appreciate what you achieved and I am happy with the app. That's the very reason why I beg to make it less confusing for other people who might not ask "why" and give the app a second chance.

In #840, I was told the behavior couldn't be improved due to limitations of the Google API. Plus that Android apps were unable to detect the fact that BlueTooth is disabled. At least the latter doesn't seem to be true (anymore), as written above, the app correctly tells me "BLUETOOTH DEAKTIVIERT", so it correctly detected this situation.

Expected behaviour


If BlueTooth is disabled (at least if disabled for an extended period of time), the app shouldn't say "Risiko-Ermittlung dauerhaft aktiv", rather give some warning or alike.

Steps to reproduce the issue

  • Disable BlueTooth, leave it disabled for a while (> 1 day to be sure)
  • Look at the app's main screen, here the green risk status box
  • Technical details

    • Mobile device: Galaxy S10
    • Android version: 10
    • Google COVID-19 API: 15202902003
    • App version 1.1.1

    Possible Fix

    Additional context


    Internal Tracking ID: EXPOSUREAPP-1925

    bug further input needed mirrored-to-jira

    All 22 comments

    Thanks for the report. We'll have a look at that and discuss that with the dev team.

    Mit freundlichen Gr眉脽en/Best regards,
    SW
    Corona Warn-App Open Source Team

    If one switches off "COVID-19-Benachrichtigungen" for some days the message "Risiko-Ermittlung dauerhaft aktiv" will be displayed, too if one turns on COVID-19-Benachrichtigungen and opens CWA (Version 1.2.1 on Android 9). This is an error. A message like "Risiko-Ermittlung war f眉r 13 der letzten 14 Tage aktiv" or something like this should be shown instead.

    Best regards
    Chris

    The problem still exists with CWA Version 1.3.0 and Google Play Services 20.30.19.
    When will it be fixed?

    Best regards
    Chris

    I am also experiencing this issue. The app claims "exposure logging permanently active" even though I had Bluetooth disabled for 3 days.

    There are lots of issues which concern this display of "active days", imho it would make sense to just drop it and be done with it (other ENF apps also don't have this): https://github.com/corona-warn-app/cwa-wishlist/issues/102
    Feel free to upvote 馃檪.

    If either Bluetooth or "Standortdienste" or "COVID-19-Benachrichtigungen" is switched off for a whole day no TEK (Temporary Exposure Key, t盲glicher Diagnoseschl眉ssel) will be generated for that day. However the message "Risiko-Ermittlung dauerhaft aktiv" will be displayed anyway. Even if one switches off Bluetooth for three weeks this message will be displayed. That is wrong! What would happen if one would get tested COVID-19 positive? For those days with Bluetooth off no TEK will be available to upload. Or will the app tell one that 13 TEKs have been uploaded successfully anyway? In my opinion the number of "active days" should be equal to the number of available TEKs.

    It will be helpful to see the correct number of active days in order to see if the app is still working correctly. Just remember the problems with "Aktualisierung". If you don't even have some indications how can you tell if it is still working?

    @Mtagxx

    In my opinion the number of "active days" should be equal to the number of available TEKs.

    Tbh I don't think the presence of TEK's is a good indicator for proper "active days". TEKs might be generated even w/o BT being active or BT only being active for a brief moment.

    Apart from that: afaik CWA can't even access the TEKs unless you're tested positive and decide to share your keys.

    It will be helpful to see the correct number of active days in order to see if the app is still working correctly. Just remember the problems with "Aktualisierung". If you don't even have some indications how can you tell if it is still working?

    What kind of scenario do you have in mind here?

    Hallo @daimpi,

    no: TEKs are only generated if BT is on (and "Standort" and "COVID-19-Benachrichtigung" (sorry, I don't know the english words for that))!

    Please note that you don't have to access the TEK to find out if new ones are generated.
    A message is written to the systemlog when a new one is generated. So for example one could parse the logfile to find it out ... :-)
    I'm sure there is a more elegant method than that - just ask Google.

    An interested and curious user of the CWA will be eager to see if the app is still working correctly. If she never gets any new informations, sees some counters raising etc. she will quit opening the app daily. Why should one look at it anymore?
    Therefore it is important that there are some indicators which are updated correctly.

    But it is really bad if there are some numbers like "active days" which are obviously wrong like in the case with BT off for days. Users will totally loose confidence that the app is working correctly if even such an elementary thing is not handled adequately.

    @Mtagxx

    no: TEKs are only generated if BT is on (and "Standort" and "COVID-19-Benachrichtigung" (sorry, I don't know the english words for that))!

    That's interesting to know 馃檪. But even in this case you'll get a TEK if BT was only enabled for a brief moment that day which would mean that you didn't really broadcast any useful rolling proximity identifiers (RPIs) even though you generated a TEK.

    So for example one could parse the logfile to find it out ... :-)

    Does CWA have permissions to parse this logfile?

    I'm sure there is a more elegant method than that - just ask Google.

    Googles API is documented here: https://developers.google.com/android/exposure-notifications/exposure-notifications-api. Tbh I'm not aware of a call which would provide this functionality.

    An interested and curious user of the CWA will be eager to see if the app is still working correctly. If she never gets any new informations, sees some counters raising etc. she will quit opening the app daily. Why should one look at it anymore?
    Therefore it is important that there are some indicators which are updated correctly.

    I agree that the app should be made more engaging but I'd prefer this to come in form of enhanced functionality e.g.

    But it is really bad if there are some numbers like "active days" which are obviously wrong like in the case with BT off for days

    As stated above: I personally don't think that presence of TEKs is a reliable indicator of "days active" and given that "days active" causes all kinds of trouble I've come around on the idea to have it removed for good.

    Maybe it would be good to have the info on number of stored TEKs (if it can actually be assessed by CWA) shown in some menu within CWA for debugging purposes though or alternatively Google could maybe be asked to expose this info in their ENF settings menu 馃檪.

    Fixed in CWA version 1.5. Since there haven't been new reports in two months, I'll close this issue.


    Corona-Warn-App Open Source Team

    That's really funny: I'm using CWA version 1.6.0. I have switched off bluetooth for a couple of days and still get: "Risiko-Ermittlung dauerhaft aktiv". What is the meaning of the phrase "Risiko-Ermittlung dauerhaft aktiv"? Maybe I just understand it wrong?
    sc20201126

    Reopened due to user feedback. We will investigate the issue again.


    Corona-Warn-App Open Source Team

    I have 1.7.1 in the meantime. The issue still exists. Here how it looks after having Bluetooth disabled for a bit more than 24 hours. It says "BLUETOOTH DEAKTIVIERT", shows the red alert in the notification bar, but nevertheless, pretends "Risiko-Ermittlung dauerhaft aktiv":

    Screenshot_20201129-084714_Corona-Warn

    Dear @icrf2000,

    Thanks for reporting. Please let us know

    • Android version
    • Phone model:

    Thanks.

    Dear community,

    • Please confirm, if you can reproduce this issue on your Android phone. Feedback very much appreciated.

    Best wishes,
    DS


    Corona-Warn-App Open Source Team

    I'm using CWA version 1.7.1 in the meantime, too and the problem still exists.
    My Android version is 9, COVID-19-Benachrichtigungen Version 18204217000.
    Phone model is Samsung Galaxy J3.

    Please let me know, if additional informations are required.

    Regards
    Chris

    phone: Samsung Galaxy S10
    os: Android 10

    Am 30. November 2020 10:08:37 MEZ schrieb dsarkar notifications@github.com:

    Dear @icrf2000,

    Thanks for reporting. Please let us know

    • Android version
    • Phone model:

    Thanks.

    Dear community,

    • can you reproduce this issue on your Android phone. Feedback very
      much appreciated.

    Best wishes,
    DS


    Corona-Warn-App Open Source Team

    --
    You are receiving this because you were mentioned.
    Reply to this email directly or view it on GitHub:
    https://github.com/corona-warn-app/cwa-app-android/issues/920#issuecomment-735655990

    --
    Diese Nachricht wurde von meinem Android-Ger盲t mit K-9 Mail gesendet.

    @icrf2000, @Mtagxx, thanks for the feedback, could you upload screenshots showing this. I the meantime we will forward this information to the developers. Many thanks! Best wishes,
    DS


    Corona-Warn-App Open Source Team

    What Screenshots would help you from me? Apart from the one I sent already I mean.

    @icrf2000, the one you sent is good enough so far. Thanks. Best wishes,
    DS


    Corona-Warn-App Open Source Team

    @icrf2000, @Mtagxx,

    Thanks again for contributing here. Do you still have this issue with CWA version 1.9.1? Thanks. DS


    Corona-Warn-App Open Source Team

    hi! i just disabled bluetooth and will check tomorrow morning.

    Hello,
    I'm using now cwa 1.9.1 (on Android 9), too. Still looks the same. However, if one switches off "COVID-19-Benachrichtigungen" then the view has changed: with version 1.7.1 something like "Bisher keine Risiko-Begegnungen Risiko-Ermittlung war f眉r 9 der letzten 14 Tage aktiv" is displayed but not with 1.9.1.
    (Actually I got one "Risiko-Begegnung" with low risk, which is not shown anymore with version 1.7.1 and version 1.9.1 like in previous versions:
    12-20 17:58:18.048 I ExposureNotificationJni: Matching done, total 433791 keys, find 1 keys match
    12-21 16:14:03.157 I ExposureNotificationJni: Matching done, total 450759 keys, find 1 keys match
    12-21 21:32:55.531 I ExposureNotificationJni: Matching done, total 450759 keys, find 1 keys match
    )

    Best regards
    Chris

    Version 1.7.1:
    sc_20201219-233032

    Version 1.9.1:
    sc_20201222-114117

    sc_20201222-114033

    Was this page helpful?
    0 / 5 - 0 ratings

    Related issues

    HuiiBuh picture HuiiBuh  路  3Comments

    marceljay picture marceljay  路  3Comments

    Teddy265 picture Teddy265  路  3Comments

    tandreb picture tandreb  路  3Comments

    zeus24 picture zeus24  路  3Comments