react-native-macos/Libraries/CameraRoll
Albert Sun 63769518e0 Fix selecting videos from library in iOS 13
Summary:
In iOS 13, Apple made a change that results in video URLs returned by UIImagePickerController becoming invalidated as soon as the info object from the delegate callback is released. This commit works around this issue by retaining these info objects by default and giving the application a way to release them once it is done processing the video.

See also https://stackoverflow.com/questions/57798968/didfinishpickingmediawithinfo-returns-different-url-in-ios-13

Reviewed By: olegbl, mmmulani

Differential Revision: D17845889

fbshipit-source-id: 12d0e496508dafa2581ef12730f7537ef98c60e2
2019-10-11 16:33:19 -07:00
..
RCTAssetsLibraryRequestHandler.h Un-revert D13513777: Replace ALAssets* with PHPhoto* in RCTCameraRoll 2019-01-07 16:15:44 -08:00
RCTAssetsLibraryRequestHandler.mm Make CameraRoll NativeModules TurboModule-compatible 2019-10-01 11:15:09 -07:00
RCTCameraRollManager.h Un-revert D13513777: Replace ALAssets* with PHPhoto* in RCTCameraRoll 2019-01-07 16:15:44 -08:00
RCTCameraRollManager.mm Make CameraRoll NativeModules TurboModule-compatible 2019-10-01 11:15:09 -07:00
RCTCameraRollPlugins.h Ensure internal builds don't use plugin stubs 2019-10-07 14:55:39 -07:00
RCTCameraRollPlugins.mm Make CameraRoll NativeModules TurboModule-compatible 2019-10-01 11:15:09 -07:00
RCTImagePickerManager.h Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
RCTImagePickerManager.mm Fix selecting videos from library in iOS 13 2019-10-11 16:33:19 -07:00
RCTPhotoLibraryImageLoader.h Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
RCTPhotoLibraryImageLoader.mm Make CameraRoll NativeModules TurboModule-compatible 2019-10-01 11:15:09 -07:00