diff --git a/RCTCameraRollManager.m b/RCTCameraRollManager.m index 4b6a78bde..72e128d6e 100644 --- a/RCTCameraRollManager.m +++ b/RCTCameraRollManager.m @@ -199,7 +199,7 @@ RCT_EXPORT_METHOD(getPhotos:(NSDictionary *)params @"group_name": [group valueForProperty:ALAssetsGroupPropertyName], @"image": @{ @"uri": uri, - @"filename" : filename, + @"filename" : filename ?: [NSNull null], @"height": @(dimensions.height), @"width": @(dimensions.width), @"isStored": @YES,