* 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 |
||
|---|---|---|
| .. | ||
| advanced | ||
| .gitignore | ||
| readme.md | ||
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.