quikkly / react-native

React Native plugin for the Quikkly iOS and Android SDKs.
Apache License 2.0
3 stars 6 forks source link

Denying runtime permission closes app #12

Open amit3vedi opened 4 years ago

amit3vedi commented 4 years ago

If we deny runtime camera permission on android we get alert with message to ask user to allow permission if we deny that as well in my case app closes because i have only one activity and i'm showing embedded quickkly view <QuikklyView /> and as per current android code activity.finish(); will be called and whole app will close.

This should not happen there should be some sort of callback to notify developer that permission is not granted and developer should be allowed to manage scenario where user deny permissions instead of just closing the whole app.