mirror of
https://github.com/status-im/status-mobile.git
synced 2025-01-30 02:15:40 +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
|
||||
(: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]))
|
||||
|
||||
(def permissions-class (.-PermissionsAndroid js-dependencies/react-native))
|
||||
@ -27,7 +25,4 @@
|
||||
(on-allowed)
|
||||
(on-denied)))
|
||||
(.catch on-denied)))
|
||||
|
||||
(if ((set permissions) :camera)
|
||||
(camera/request-access-ios on-allowed on-denied)
|
||||
(on-allowed))))
|
||||
(on-allowed)))
|
||||
|
Loading…
x
Reference in New Issue
Block a user