Closed SherylHYX closed 4 years ago
Same issue with me.
I compiled the app and debugged on my phone via Android Studio, when GoogleExplosureNotificationApi::start()
was called at uk/nhs/nhsx/covid19/android/app/exposure/ExposureNotificationManager.kt:L15
, an exception was raised with detail message: "17: API: Nearby.EXPOSURE_NOTIFICATION_API is not available on this device. Connection failed with: ConnectionResult{statusCode=UNKNOWN_ERROR_CODE(39501), resolution=null, message=null}".
Perhaps the problem is more related to Google Exposure Notifications API's compatibility, not the app.
Do you have Google Play Services installed?
If so what version?
Edit: Note self compiled versions won't have permission from Google to use the API so that error may not be related.
Thanks for your interest in the NHS Covid-19 project. We do welcome feedback on device compatibility and issues at - https://faq.covid19.nhs.uk/create-case/ and endeavour to respond to technical issues here. We are looking to broaden manufacturer support over time. Google Play Services is currently required to use the application. As @paulchambers mentions - a self-built application will not have permission to use the EN API, as per the Exposure Notifications page at: https://www.google.com/covid19/exposurenotifications/ - "Only public health authorities can use this system. Access to the technology will be granted only to apps from public health authorities."
Describe the bug A clear and concise description of what the bug is.
To Reproduce Steps to reproduce the behavior:
Expected behavior Now the APP should function normally.
Smartphone 1(Mi10 Ultra):
Smartphone 2(HUAWEI P20):
Smartphone 3(HUAWEI P9):
Additional context I have also tried to give as many permissions as I can to this app, but failed. I tried three phones, all failed.