[#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:
Andrey Shovkoplyas 2019-10-10 16:44:32 +02:00
parent 2d1fff479a
commit 6b1c30b44c
No known key found for this signature in database
GPG Key ID: EAAB7C8622D860A4
1 changed files with 1 additions and 6 deletions

View File

@ -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)))