Skip to content

Commit

Permalink
Added info about autofocus/taptofocus for android
Browse files Browse the repository at this point in the history
Added settings to place into AndroidManifest.xml to get all focus functionalities working 100%
  • Loading branch information
geoffreyc authored Oct 24, 2017
1 parent 52b11f2 commit 4bb3f62
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -281,6 +281,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:
Expand Down

0 comments on commit 4bb3f62

Please sign in to comment.