diff --git a/RCTCameraRollManager.m b/RCTCameraRollManager.m index 1e0b5c23e..e02e447d6 100644 --- a/RCTCameraRollManager.m +++ b/RCTCameraRollManager.m @@ -185,12 +185,14 @@ RCT_EXPORT_METHOD(getPhotos:(NSDictionary *)params CGSize dimensions = [result defaultRepresentation].dimensions; CLLocation *loc = [result valueForProperty:ALAssetPropertyLocation]; NSDate *date = [result valueForProperty:ALAssetPropertyDate]; + NSString *filename = [result defaultRepresentation].filename; [assets addObject:@{ @"node": @{ @"type": [result valueForProperty:ALAssetPropertyType], @"group_name": [group valueForProperty:ALAssetsGroupPropertyName], @"image": @{ @"uri": uri, + @"filename" : filename, @"height": @(dimensions.height), @"width": @(dimensions.width), @"isStored": @YES,