mirror of
https://github.com/status-im/status-mobile.git
synced 2025-02-04 21:05:18 +00:00
App asks for Microphone access while user tries to scan QR or capture an image (#1148)
This commit is contained in:
parent
08247698c3
commit
808aa46f4f
@ -17,7 +17,7 @@
|
||||
(defn request-access [callback]
|
||||
(if platform/android?
|
||||
(callback true)
|
||||
(let [result (.checkDeviceAuthorizationStatus camera-default)
|
||||
(let [result (.checkVideoAuthorizationStatus camera-default)
|
||||
result (.then result #(callback %))
|
||||
result (.catch result #(callback false))])))
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user