diff --git a/src/status_im/qr_scanner/handlers.cljs b/src/status_im/qr_scanner/handlers.cljs index 6a6452ffd1..d19a81d6db 100644 --- a/src/status_im/qr_scanner/handlers.cljs +++ b/src/status_im/qr_scanner/handlers.cljs @@ -13,7 +13,9 @@ (defn navigate-to-scanner [_ [_ identifier]] - (dispatch [:navigate-to :qr-scanner identifier])) + (dispatch [:request-permissions + [:camera] + #(dispatch [:navigate-to :qr-scanner identifier])])) (register-handler :scan-qr-code (after navigate-to-scanner)