mirror of
https://github.com/status-im/status-mobile.git
synced 2025-02-06 22:04:37 +00:00
[#8997] Error 'Hzb.checkViodeoAuthorizationStatus in not a function' at attempt to scan QR on IOS
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
This commit is contained in:
parent
2d1fff479a
commit
6b1c30b44c
@ -1,7 +1,5 @@
|
|||||||
(ns status-im.ui.components.permissions
|
(ns status-im.ui.components.permissions
|
||||||
(:require [status-im.utils.platform :as platform]
|
(:require [status-im.utils.platform :as platform]
|
||||||
[taoensso.timbre :as log]
|
|
||||||
[status-im.ui.components.camera :as camera]
|
|
||||||
[status-im.react-native.js-dependencies :as js-dependencies]))
|
[status-im.react-native.js-dependencies :as js-dependencies]))
|
||||||
|
|
||||||
(def permissions-class (.-PermissionsAndroid js-dependencies/react-native))
|
(def permissions-class (.-PermissionsAndroid js-dependencies/react-native))
|
||||||
@ -27,7 +25,4 @@
|
|||||||
(on-allowed)
|
(on-allowed)
|
||||||
(on-denied)))
|
(on-denied)))
|
||||||
(.catch on-denied)))
|
(.catch on-denied)))
|
||||||
|
(on-allowed)))
|
||||||
(if ((set permissions) :camera)
|
|
||||||
(camera/request-access-ios on-allowed on-denied)
|
|
||||||
(on-allowed))))
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user