CameraRoll is a react-native native module that provides access to the local camera roll or photo library.
Go to file
Hristo Hristov 33525fcc98 iOS: Fix Crash when CameraRoll is getting assets from iCloud and no filename is provided. #13671
Summary:
RCTCameraRollManager.m crashes when there is no filename provided for the asset (usually from iCloud). #13671

Tested on real device with iCloud library using the library without and after my fix. It worked after my changes.

[IOS] [BUGFIX] [CameraRoll] - Changed the filename if nil to be empty when the asset is coming from iCloud.
Closes https://github.com/facebook/react-native/pull/17549

Differential Revision: D6710665

Pulled By: hramos

fbshipit-source-id: 319865b0a71728798c62ee380e7bee4af584b3e3
2018-01-12 00:16:07 -08:00
RCTCameraRoll.xcodeproj Standardize project indentation settings on 2 spaces 2017-07-31 05:20:03 -07:00
CameraRoll.js Fix some flow errors that appear 2017-12-07 08:31:37 -08:00
CameraRollManager.java Handling exceptions in video player 2017-10-09 22:45:48 -07:00
RCTAssetsLibraryRequestHandler.h Move all header imports to "<React/..>" 2016-11-23 07:58:39 -08:00
RCTAssetsLibraryRequestHandler.m CameraRoll: Use C atomic instead of OSAtomic 2017-07-31 03:35:28 -07:00
RCTCameraRollManager.h Move all header imports to "<React/..>" 2016-11-23 07:58:39 -08:00
RCTCameraRollManager.m iOS: Fix Crash when CameraRoll is getting assets from iCloud and no filename is provided. #13671 2018-01-12 00:16:07 -08:00