Unable to scan QR code on Android

Checklist
:check_box_with_check: I have read intro post: https://community.passbolt.com/t/about-the-installation-issues-category/12
:check_box_with_check: I have read the tutorials, help and searched for similar issues
I provide relevant information about my server (component names and versions, etc.)
:check_box_with_check: I provide a copy of my logs and healthcheck
:check_box_with_check: I describe the steps I have taken to trouble shoot the problem
I describe the steps on how to reproduce the issue

Hi there,

On android I’ve no success in Transfering a user account (works well with firefox extension).
Following the documented process, it fails at the very begining when parsing the QRCode

Error log Device: Xiaomi M2012K11G Android 14 (34) Passbolt 2.4.0-43

16:32:58 kotlinx.coroutines.JobCancellationException: StandaloneCoroutine was cancelled; job=StandaloneCoroutine{Cancelling}@bf61be5

kotlinx.coroutines.JobCancellationException: StandaloneCoroutine was cancelled; job=StandaloneCoroutine{Cancelling}@bf61be5
16:32:58 Error during qr code scan
16:34:22 Could not process reserved bytes from QR code
java.lang.NumberFormatException: For input string: “h” under radix 16
at java.lang.Integer.parseInt(Integer.java:781)
at com.passbolt.mobile.android.feature.setup.scanqr.qrparser.QrScanResultsMapper.createReservedBytesDto(SourceFile:63)
at com.passbolt.mobile.android.feature.setup.scanqr.qrparser.QrScanResultsMapper.isPassboltQr(SourceFile:74)
at com.passbolt.mobile.android.feature.setup.scanqr.qrparser.QrScanResultsMapper.apply(SourceFile:24)
at com.passbolt.mobile.android.feature.setup.scanqr.qrparser.ScanQrParser$startParsing$$inlined$map$1$2.emit(SourceFile:57)
at kotlinx.coroutines.flow.StateFlowImpl.collect(SourceFile:401)
at kotlinx.coroutines.flow.StateFlowImpl$collect$1.invokeSuspend(Unknown Source:12)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(SourceFile:33)
at kotlinx.coroutines.DispatchedTask.run(SourceFile:101)
at android.os.Handler.handleCallback(Handler.java:958)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loopOnce(Looper.java:224)
at android.os.Looper.loop(Looper.java:318)
at android.app.ActivityThread.main(ActivityThread.java:8790)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:561)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1013)

java.lang.NumberFormatException: For input string: “h” under radix 16
at java.lang.Integer.parseInt(Integer.java:781)
at com.passbolt.mobile.android.feature.setup.scanqr.qrparser.QrScanResultsMapper.createReservedBytesDto(SourceFile:63)
at com.passbolt.mobile.android.feature.setup.scanqr.qrparser.QrScanResultsMapper.isPassboltQr(SourceFile:74)
at com.passbolt.mobile.android.feature.setup.scanqr.qrparser.QrScanResultsMapper.apply(SourceFile:24)
at com.passbolt.mobile.android.feature.setup.scanqr.qrparser.ScanQrParser$startParsing$$inlined$map$1$2.emit(SourceFile:57)
at kotlinx.coroutines.flow.StateFlowImpl.collect(SourceFile:401)
at kotlinx.coroutines.flow.StateFlowImpl$collect$1.invokeSuspend(Unknown Source:12)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(SourceFile:33)
at kotlinx.coroutines.DispatchedTask.run(SourceFile:101)
at android.os.Handler.handleCallback(Handler.java:958)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loopOnce(Looper.java:224)
at android.os.Looper.loop(Looper.java:318)
at android.app.ActivityThread.main(ActivityThread.java:8790)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:561)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1013)

Any known compatiblity issue ?

Fixed since version 2.5.0 :+1: