Add mehtod scan to QrCode