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
When trying to validate a device with QR Code using the iPhone camera, I can see the alert "QR code has been successfully validated" but in the logs I see "Failed scanning QR code" without further explanation. The other device with the already validated device is an android phone.
I've tried to debug and it seems like coming from MXQRCodeTransactionV2.swift in the SDK:
Looking further I found that in MatrixSDKCrypto.swift, it seems like rustCall in scanQrCode is returning nil , even if the data passed is not nil. From there I can't really understand why it's happening.
Outcome
What did you expect?
QR Code to be really validated
What happened instead?
QR Code is said validated to the user, but in the logs it's not. And the validation process fails
Your phone model
iPhone 14 Pro Max
Operating system version
iOS 16.6
Application version
1.10.14
Homeserver
Synapse
Will you send logs?
No
The text was updated successfully, but these errors were encountered:
fnwtv
added
the
T-Defect
Something isn't working: bugs, crashes, hangs and other reported problems
label
Sep 20, 2023
fnwtv
changed the title
QR Code validation fails when
QR Code validation fails when trying to validate a device
Sep 20, 2023
Steps to reproduce
When trying to validate a device with QR Code using the iPhone camera, I can see the alert "QR code has been successfully validated" but in the logs I see "Failed scanning QR code" without further explanation. The other device with the already validated device is an android phone.
I've tried to debug and it seems like coming from MXQRCodeTransactionV2.swift in the SDK:
https://github.com/matrix-org/matrix-ios-sdk/blob/8bf871104ef1120135e142cc7cd43701668ac023/MatrixSDK/Crypto/Verification/Transactions/QRCode/MXQRCodeTransactionV2.swift#L108
Looking further I found that in MatrixSDKCrypto.swift, it seems like rustCall in scanQrCode is returning nil , even if the data passed is not nil. From there I can't really understand why it's happening.
Outcome
What did you expect?
QR Code to be really validated
What happened instead?
QR Code is said validated to the user, but in the logs it's not. And the validation process fails
Your phone model
iPhone 14 Pro Max
Operating system version
iOS 16.6
Application version
1.10.14
Homeserver
Synapse
Will you send logs?
No
The text was updated successfully, but these errors were encountered: