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
Risk scores are 0 on Android #79
Risk scores are 0 on Android #79
Comments
What were the scores when they were submitted to the OS (in the files from the server)? It should be using that. I am assuming you are using the same files for iOS and Android? |
I'm not sure what scores you are referring to here. But in the .zip files from the server that we provide with submitBatches, there are keys I have been exposed to with various TransmissionRiskLevels, e.g. Medium and MediumLow (we know this because that's what I get when printing the ExposureInfo objects after running getExposureInfo). iOS uses the same files, so the fact that it's only Android that gets 0 for the various RiskScores probably means it's lost somewhere between receiving it from Play Services and presenting it to our app in ExposureDetectedAsync |
Well, thanks for reporting this. We will have to investigate this. I am looking at the code now and we are just passing the value from Google to the shared code. It could very well be that the beta version of the API has a bug. It is almost 30 days old, and Apple is still changing code. Maybe we are due for an update from Google soon, or they are going stable... I'll try find things out and see where the issue lies. |
Edit: This is not actually a bug because "1 matched key" does not mean "1 exposure incident". There were several exposure incidents to the same key on the same day It is still unkown how we were able to record this anomaly, though: |
There is a new xcode beta out... you could see what ios did there... Maybe they had a bug and fixed it... Also, we haven't heard anything from Android in a long time... |
Oh no... iOS minimum risk score is also capped at 255. I saw this thing in the documentation for minimum risk score: |
I think there is a problem with risk scores on Android. When ExposureNotificationHandler.ExposureDetectedAsync runs, I get a summary with matchedKeyCount 10, but all risk scores are 0. If I run getExposureInfo, I get a bunch of ExposureInfo objects with risk score 0. Doing the same on iOS, gives ExposureDetectionSummary and ExposureInfo objects with risk scores > 0.
Breakpoint here:
This is the summary object in Locals:
The screenshots are for 0.7.0, but it's the same problem on 0.8.0
The text was updated successfully, but these errors were encountered: