react-native/Libraries/CameraRoll
Dave Miller c9a1956c4f 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
ImagePickerIOS.js fix camera roll lint warnings 2015-11-30 16:25:41 -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
RCTImagePickerManager.h Moved CameraRoll-related classes into CameraRoll folder instead of Image 2015-09-08 09:48:19 -08:00
RCTImagePickerManager.m Use media url instead of reference url when picking movie types in image picker 2016-02-09 04:45:33 -08:00
RCTPhotoLibraryImageLoader.h Moved CameraRoll-related classes into CameraRoll folder instead of Image 2015-09-08 09:48:19 -08:00
RCTPhotoLibraryImageLoader.m Generalized image decoding and resizing logic 2016-01-20 11:11:13 -08:00