react-native-camera/examples/advanced
SimonErm dc4f65702f
feat(touch): Feature/add on tap events (#2827)
* add TouchEvent on android

* add GestureHandler to detect touches on android

* add property to enable touchDetector on android

* add onTouch event to ios

* add GestureRecognizer to ios

* add onTouch property and js setup

* add missing semicolons

* fix literal notation

* add missing ":"

* fix copy-paste error (wrong var-name)

* pass the native event to the onTouch callback

* replace : with ;

* add onTouch type defs

* add documentation for onTouch property

* scale postion before emitting since the event coordinates are raw pixels

* migrate advanced example to native pinch zoom and onTouch

* split onTouch property into onTap and onDoubleTap
2020-05-12 17:56:42 -03:00
..
advanced feat(touch): Feature/add on tap events (#2827) 2020-05-12 17:56:42 -03:00
.gitignore feat(example): New example app using RN 0.61, native-base, and react-navigation. (#2588) 2019-11-15 11:15:19 -03:00
readme.md feat(docs): update example readme and ios splash screen text (#2589) 2019-11-18 09:53:26 -03:00

RNCamera example app 2

Example app that uses all of the commonly used camera features, either by using RNCamera features or implementing the ones not available by default (e.g., tap to focus and pinch to zoom).

As opposed to the basic example, we will link directly to RNCamera from npm's last version. This means that the example can be run as a stand alone project.

Running

cd advanced

npm install (no linking is required)

iOS: react-native run-ios Android: react-native run-android

Note: A real device is required to test most camera features.