Camera access permissions (React Native app only)
This page describes the necessary modifications to app permission manifest, necessary to make React Native integration work correctly.
Requirements
Install necessary libraries:
Declaration of necesary access to camera
For operating the camera access should be granted to LIQA.
Start a component where LIQA should be integrated. WebView technology must be imported here. Add following lines in this component:
Set the state of the component for conditional rendering of the Webview. Firstly the application should get the rights to the media, and only then the webview should be rendered.
React Native, component with webview:
Add this line to your ios/Podfile
:
Update your Info.plist
with wanted permissions usage descriptions:
Then run
Build & test the app.
Last updated