Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

17: API: Nearby.EXPOSURE_NOTIFICATION_API is not avaliabe on this device. #135

Closed
Khyta opened this issue Jun 25, 2020 · 8 comments
Closed

Comments

@Khyta
Copy link

Khyta commented Jun 25, 2020

Hello there.
I wanted to install the SwissCovid app on my Honor 6x (Android 8.0.0, EMUI 8.0.0) but I got this Error:
17: API: Nearby.EXPOSURE_NOTIFICATION_API is not available on this device. and below:
Connection failed with: ConnectionResult{statusCode=UNKOWN_ERROR_CODE(39501), resolution=null, message=null}
The Google PlayStore is Version 20.5.19-all [0] [PR] 316024227
Bluetooth is activated and I tried to reinstall the application.
Anybody knows what's happening?

@trembel
Copy link

trembel commented Jun 25, 2020

The EXPOSURE_NOTIFICATION_API is pretty new and was published by Google and Apple on 20 May 2020.
Probably you have to update you PlayStore to a newer version.

@stefanriesen
Copy link

See also #51. What is the version of your Google Play Services (Not PlayStore)?

@Khyta
Copy link
Author

Khyta commented Jun 25, 2020

Google Play Services: 20.21.17 (040408-316502805)
Google Services Framework: 8.0.0-5280164
Google PlayStore has been updated today and it's still not working: 20.5.19-all [0] [PR] 316024227
Android Security Patch Level: 01.01.2020
Build Number: BLN-AL10 8.0.0.550(C00)

@jctian
Copy link

jctian commented Jun 27, 2020

I have the same problem. I tried to install the app on two different phones (Samsung S10 and Oneplus 5, both Android 10), but on S10 the app would return such error whereas on Oneplus it works fine.

The version of Google Play Services on both devices are exactly the same: 20.21.17(120400-316502805)

Using the adb command mentioned in #51 gets similar output

Oneplus:

com.google.android.gms.nearby_en [v202304013]

Samsung (same line but twice...):

com.google.android.gms.nearby_en [v202304013]
com.google.android.gms.nearby_en [v202304013]

Also on Samsung there is no 'COVID-19 Exposure Notifications' in the Google settings, I wonder if this could caused by other apps rather than the Google Play Service...

@haonase05189
Copy link

The experts can help me fix the error :
17: APIL Nearby.Exposure _Notification_API is not avaliable on this device
or someone has run the complete app, guide me

@simonroesch
Copy link
Contributor

One more reason for this error could be, that you are trying to run the app as a secondary user. Unfortunately, the ExposureNotification framework of Google only works for the primary (system) user of the device. We will add an explizit error message for this case in a future version.

@Khyta
Copy link
Author

Khyta commented Jul 13, 2020

I didn't know that you could run apps as a secondary user. How do I know, that I am running this app as a secondary user?

@simonroesch
Copy link
Contributor

In version 1.0.7 we included a check if the app is running as the primary (system) user and show a corresponding error message. On how to switch users see https://support.google.com/nexus/answer/2865483?hl=en

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants