react-native-camera/ios
Abe Botros 20b0721850 iOS: minor focus and zoom changes (#578)
* iOS: minor focus and zoom changes

RCTCameraManager focusAtThePoint improvements
- Dynamicaly get size from bounds of camera view, instead of full screen, since
  it might not always be the case that the Camera react component is taking up
  the entire device screen.
- Also add setting exposure to the same point of interest we are focusing on.

Example
- Add onFocusChanged and onZoomChanged empty callback functions by default to
  Example app, allowing tap-to-focus and pinch-to-zoom to be readily
  experienced/experimented with.
- Updated react/react-native dependencies to match root package.json.

TODO/Other remarks
- Tap-to-focus seems to still not work perfectly... From logging, it always seems
  to get the right location in the view (meaning its getting the right location
  from the user touch and transforming it to the {0, 1} range appropriately), and
  does indeed engage the focus process, but it seems it sometimes refocuses on the
  center-ish region of what's in the camera instead of the location that was actually
  pressed. I thought this might be related to the subjectAreaDidChange getting called,
  which in turn sets the focus mode to continuous auto-focus at the view center, but
  from my experimenting, this method never actually gets called. I wasn't able to
  figure out if there's somewhere else in the library that's forcing continuous auto-focus,
  or if there's just some bug in our current focus procedure within focusAtThePoint.

* Reset Example/package.json dependency versions to master
2017-04-23 14:01:04 -07:00
..
RCTCamera.xcodeproj (ios): fix header search paths (#577) 2017-01-30 17:42:51 -08:00
CameraFocusSquare.h Fixed location of CameraFocusSquare files 2015-09-22 20:02:53 -07:00
CameraFocusSquare.m Fixed location of CameraFocusSquare files 2015-09-22 20:02:53 -07:00
NSMutableDictionary+ImageMetadata.m Removed all dependencies! Removed podspec. Bumped npm version. 💃 2015-09-21 20:10:43 -07:00
RCTCamera.h fix memory leak on iOS 2016-03-23 21:13:35 +02:00
RCTCamera.m (ios): fix header search paths (#577) 2017-01-30 17:42:51 -08:00
RCTCameraManager.h Revert "Revert "[iOS]: fix for breaking iOS header change in RN 0.40.0 (#544)"" 2017-01-22 19:34:09 -08:00
RCTCameraManager.m iOS: minor focus and zoom changes (#578) 2017-04-23 14:01:04 -07:00
RCTSensorOrientationChecker.h make orientation public 2016-03-24 10:25:45 +02:00
RCTSensorOrientationChecker.m Fix iOS orientation logic typo (#573) 2017-01-28 01:49:11 -08:00