google / exposure-notifications-android

Exposure Notifications Android Reference Design
https://www.google.com/covid19/exposurenotifications
Apache License 2.0
528 stars 116 forks source link

There are messages shown in app, which we have no control over #27

Open antasmishra opened 4 years ago

antasmishra commented 4 years ago

Notification issue

In above image we see two notification being shown. The first one we can find in the Sample Code shared. Issue is with second notification. We couldn't find it in the sample code and have no control on when it shows.

Please share more details on the behavior of second notification and if can we control it.

antasmishra commented 4 years ago

Interestingly, from other device we see below set of notification: IMG_20200608_192434

  1. The expected notification from app.
  2. The custom notification we have scheduled for debug purpose
  3. The notification on redmi note 8 pro shows title as "Google Play Service". The same notification on pixel 3a shows title as "Sample Public Health Authority App".

Also the icon for 3rd notification is slightly Pink in color. The inner circle (nucleus) of icon is larger than inner circle of other two icons.

Markus270390 commented 4 years ago

Edit: Resolved by last update. https://github.com/google/exposure-notifications-android/blob/765dab0af327d92cc6f5b7f16f5ad80d29361370/app/src/main/java/com/google/android/apps/exposurenotification/nearby/StateUpdatedWorker.java

I got this notification in the style, which is shown in the first comment on my Samsung Galaxy S10e with Android 10, saying, there was No contact with an infected Person. Almost gave me a heart attack because I read "eine" (a /one) instead of "keine"(no/none) Screenshot_20200623-152921_Settings~2