CameraRoll is a react-native native module that provides access to the local camera roll or photo library.
Go to file
Dave Miller 9f4522f139 Fix promises on iOS to no longer wrap values in Arrays
Summary:
public
In 9baff8f437 (diff-8d9841e5b53fd6c9cf3a7f431827e319R331), I incorrectly assumed that iOS was wrapping promises in an extra Array.  What was really happening is that all the callers were doing this.  I removed the wrapping in the callers and the special case handling MessageQueue.

Now one can pass whatever object one wants to resolve and it will show properly in the resolve call on the js side.  This fixes issue https://github.com/facebook/react-native/issues/5851

Reviewed By: nicklockwood

Differential Revision: D2921565

fb-gh-sync-id: 9f81e2a87f6a48e9197413b843e452db345a7ff9
shipit-source-id: 9f81e2a87f6a48e9197413b843e452db345a7ff9
2016-02-10 07:25:35 -08:00
RCTCameraRoll.xcodeproj Generalized image decoding and resizing logic 2016-01-20 11:11:13 -08:00
CameraRoll.js Tweak docs before releasing 0.19 2016-01-30 17:11:28 -08:00
CameraRollManager.java Open source Android date and time pickers 2016-01-26 10:31:17 -08:00
RCTAssetsLibraryRequestHandler.h Generalized image decoding and resizing logic 2016-01-20 11:11:13 -08:00
RCTAssetsLibraryRequestHandler.m Generalized image decoding and resizing logic 2016-01-20 11:11:13 -08:00
RCTCameraRollManager.h Added lightweight generic annotations 2015-11-03 14:49:30 -08:00
RCTCameraRollManager.m Fix promises on iOS to no longer wrap values in Arrays 2016-02-10 07:25:35 -08:00