SwissCovid / swisscovid-app-android

SwissCovid is the official contact tracing app of Switzerland.
Mozilla Public License 2.0
222 stars 57 forks source link

There were several issues for active tracking using device OPPO Reno #228

Open Jaitoh opened 4 years ago

Jaitoh commented 4 years ago

There were several issues here:

ApiException 17 with statusCode=39501 was an error in the ExposureNotification framework of Google that happened on devices not supporting [bluetooth multiple advertisement](https://developer.android.com/reference/android/bluetooth/BluetoothAdapter#isMultipleAdvertisementSupported()). This issue has been fixed now by Google and should no longer happen. If it still does happen. on your device, please open a new issue and include the app version, the Google Play Services version as well as the output of adb shell dumpsys activity provider com.google.android.gms.chimera.container.GmsModuleProvider | grep 'nearby_en'

ApiException 17 with statusCode=39507 is due to Google checking the app signature when using the ExposureNotification framework. Only our production signature (used for PlayStore builds only) is whitelisted, therefore it is currently not possible to use the ExposureNotification framework when the app is not downloaded from the PlayStore but build individually. We are hoping for a solution from Google to enable developers to use the framework also with non-whitelisted apps (signatures). We are also working on reproducible builds that will allow to verify that the APK from the PlayStore is built from the source code provided here.

For phones without Google Play Services we do not yet have a solution, the app currently uses the Google ExposureNotification framework distributed as part of the Google Play Services.

_Originally posted by @simonroesch in https://github.com/DP-3T/dp3t-app-android-ch/issue_comments/640279469_

simonroesch commented 4 years ago

Are you installing the app from the Google Play Store?

Jaitoh commented 4 years ago

Are you installing the app from the Google Play Store?

Yes, google play version: 19.5.13-all [0] [PR] 303545793

simonroesch commented 4 years ago

Can you please add a screenshot of the error?

Jaitoh commented 4 years ago

here is the screenshot: https://ibb.co/n0bxXRc

simonroesch commented 4 years ago

Did this error show up after installing the app? Or did it work for some time and just recently showed up?

Jaitoh commented 4 years ago

Did this error show up after installing the app? Or did it work for some time and just recently showed up?

Actually, this application haven't worked since installation and display the same error each time I'm trying to activate.