You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(copied from facebook/react-native#17)
We have a Camera component and it should check for the Camera permission before mounting.
In my app's AndroidManifest.xml I have the line, along with many other permissions:
<uses-permission android:name="android.permission.CAMERA"/>
In our component's componentDidMount() we call a function that should return true if we have permission and false if we do not have, here is the relevant snippet of the function:
A dialog with my title and message should appear, if the user clicks on "Allow", the promise should resolve and my component should render as expected.
Environment
React Native Navigation version: 1.1.408
React Native version: 0.49.3
Platform(s) (iOS, Android, or both?): Android
Device info (Simulator/Device? OS version? Debug/Release?): API > 23
The text was updated successfully, but these errors were encountered:
Issue Description
react-native-navigation
is preventing theonRequestPermissionsResult
method in the application'sMainActivity
from being called.This is causing facebook/react-native#17985
Steps to Reproduce / Code Snippets / Screenshots
(copied from facebook/react-native#17)
We have a Camera component and it should check for the Camera permission before mounting.
In my app's AndroidManifest.xml I have the line, along with many other permissions:
<uses-permission android:name="android.permission.CAMERA"/>
In our component's componentDidMount() we call a function that should return true if we have permission and false if we do not have, here is the relevant snippet of the function:
Expected Behavior
A dialog with my title and message should appear, if the user clicks on "Allow", the promise should resolve and my component should render as expected.
Environment
The text was updated successfully, but these errors were encountered: