Skip to content

QR Code Reader Screen

Use the QR Code Reader Screen screen to retrieve the application configuration during the onboarding process. It can also be used for other purposes.

QR Code Reader


fun QRReaderScreen(
    qrCodeReaderScreenSettings: QRCodeReaderScreenSettings? = null,
    onClose: ViewClickListener = {},
    onCodeNotFound: (() -> Unit)? = null,
    onCodeDetected: (String) -> Unit
) { ... }

onClose is the click event handler that occurs when you click the Close button on the screen, onCodeNotFound is used to handle the error where the QR code is not valid, and onCodeDetected is used to parse the scanned QR code.


QRReaderScreen(onClose = {
}) { code ->
    //parse the code to you need.

Last update: February 20, 2023