We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
ExposureInformationのAttenuationDurationsおよびAttenuationDurationsが、iOSでは「秒単位」であるのに対して、Androidでは「分単位」と定義が異なる。
AttenuationDurations
ExposureInformation https://developers.google.com/android/reference/com/google/android/gms/nearby/exposurenotification/ExposureInformation
ENExposureInfo.attenuationDurations https://developer.apple.com/documentation/exposurenotification/enexposureinfo
An array that contains the duration, in seconds, at certain attenuations, using an aggregated maximum exposures of 30 minutes.
これらの違いを吸収する仕組みが現在のchinoに実装されておらず、iOSではInMinutesと言う変数名で値を取得しているので、接触確認後の処理が共通化できない。
InMinutes
Android版
chino/Chino.Android/ExposureInformation.cs
Lines 18 to 20 in 698eb4f
"exposure_informations": [ { "AttenuationDurationsInMinutes": [ 1436, 0, 0 ], "AttenuationValue": 26, "DateMillisSinceEpoch": 1622851200000, "Duration": 30.0, "TotalRiskScore": 256, "TransmissionRiskLevel": 4 },
iOS版
chino/Chino.iOS/ExposureInformation.cs
Lines 17 to 19 in 698eb4f
"exposure_informations": [ { "AttenuationDurationsInMinutes": [ 1800, 0, 0, 0 ], "AttenuationValue": 4, "DateMillisSinceEpoch": 1622764800000, "Duration": 1800.0, "TotalRiskScore": 255, "TransmissionRiskLevel": 4 },
The text was updated successfully, but these errors were encountered:
ExposureInformationのAttenuationDurationsInMillisにする。
ExposureInformation
AttenuationDurationsInMillis
Chinoを通せば全部millisで取り扱えるようになっているようにする。
Sorry, something went wrong.
No branches or pull requests
ExposureInformationの
AttenuationDurations
およびAttenuationDurations
が、iOSでは「秒単位」であるのに対して、Androidでは「分単位」と定義が異なる。ExposureInformation
https://developers.google.com/android/reference/com/google/android/gms/nearby/exposurenotification/ExposureInformation
ENExposureInfo.attenuationDurations
https://developer.apple.com/documentation/exposurenotification/enexposureinfo
これらの違いを吸収する仕組みが現在のchinoに実装されておらず、iOSでは
InMinutes
と言う変数名で値を取得しているので、接触確認後の処理が共通化できない。Android版
chino/Chino.Android/ExposureInformation.cs
Lines 18 to 20 in 698eb4f
iOS版
chino/Chino.iOS/ExposureInformation.cs
Lines 17 to 19 in 698eb4f
Close条件
The text was updated successfully, but these errors were encountered: