You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The text was updated successfully, but these errors were encountered:
nc-kano
changed the title
[ExposureNotifications] Crash on Nerby GetStatusAsync method
[ExposureNotifications] Crash on Nearby GetStatusAsync method
Feb 16, 2021
Repro steps:
await NearbyClass.GetExposureNotificationClient(Application.Context).GetStatusAsync()
Expected:
Collection of ExposureNotificationStatus
Actual:
Crash because there is a cast from collection to single Enum. It shoud be casted to AbstractCollection instead of ExposureNotificationStatus
Additional:
EN api should not use the native device API to check the bluetooth/location status. Nearby API should be used instead to get the whole list of possible issues instead of getting only one status that can cover up all other issues. Nearby EN status provides 13 options, Xamarin.EN only 6 (and only 4 are used on Android)
https://developers.google.com/android/reference/com/google/android/gms/nearby/exposurenotification/ExposureNotificationStatus
The text was updated successfully, but these errors were encountered: