moaazsidat / react-native-qrcode-scanner

A QR code scanner component for React Native.
MIT License
2.04k stars 517 forks source link

Check if user has denied or accepted camera permission in real time #388

Open sakshikumarii opened 2 years ago

sakshikumarii commented 2 years ago

Currently there is no listener to recognise the camera permission in realtime

What's happening?

I want to perform certain changes when the user has denied or granted the native android/ios camera permission. But there is no listener in the package to know it's current state in real time.