mirror of
https://github.com/status-im/react-native-camera.git
synced 2025-02-24 09:48:17 +00:00
Merge pull request #957 from geoffreyc/master
Added info about autofocus/taptofocus for android
This commit is contained in:
commit
7c796d767e
@ -285,6 +285,15 @@ Android: This callback is not yet implemented. However, Android will
|
||||
automatically do tap-to-focus if the device supports auto-focus; there is
|
||||
currently no way to manage this from javascript.
|
||||
|
||||
To get autofocus/tap to focus functionalities working correctly in android
|
||||
make sure that the proper permissions are set in your `AndroidManifest.xml`:
|
||||
```java
|
||||
<uses-feature android:name="android.hardware.camera" />
|
||||
<uses-feature android:name="android.hardware.camera.autofocus" />
|
||||
```
|
||||
|
||||
|
||||
|
||||
#### `iOS` `defaultOnFocusComponent`
|
||||
|
||||
Values:
|
||||
|
Loading…
x
Reference in New Issue
Block a user