Skip to content

Incompatible with endroid/qr-code > 5.0.0 #114

Closed
@Mattie112

Description

@Mattie112

When using this project with endroid/qr-code version 5.0.2 I get the following error:

Exception {"message":"Class \"Endroid\\QrCode\\ErrorCorrectionLevel\\ErrorCorrectionLevelHigh\" not found"} 
            $qr_provider = new EndroidQrCodeProvider();
            $tfa = new TwoFactorAuth(issuer: "xx", qrcodeprovider: $qr_provider);
            $qr = $tfa->getQRCodeImageAsDataUri("uid", $secret);

With version 4.8.5 it works just fine.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions