react-native/Libraries/CameraRoll
Edgar Aroutiounian 554e873f58 Implement deletion of asset-library files
Summary:
WIP: Starting point insofar as I'm not sure if there should be an Android equivalent.

My application needs me to delete photos from the photos in iOS.

I have tested this in my application and it works, have a screenshot from iOS asking as well and it does successfully delete the photos from the global Photos app.

Related to https://github.com/facebook/react-native/issues/15253, it kind of continues using the deprecated assets-library framework, but that does need (and will be an bigger and bigger issue coming up) of assets-library URLs being used.

I also assume RN prefers error handling at the JS level? Are the URLs starting with `asset-library`, etc.
Closes https://github.com/facebook/react-native/pull/15481

Differential Revision: D6438016

Pulled By: hramos

fbshipit-source-id: 47512140f62f458c14ad2ade2b358846e168c964
2017-11-29 12:18:08 -08:00
..
RCTCameraRoll.xcodeproj Standardize project indentation settings on 2 spaces 2017-07-31 05:20:03 -07:00
CameraRoll.js Implement deletion of asset-library files 2017-11-29 12:18:08 -08:00
ImagePickerIOS.js fix camera roll lint warnings 2015-11-30 16:25:41 -08: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 Implement deletion of asset-library files 2017-11-29 12:18:08 -08:00
RCTImagePickerManager.h Move all header imports to "<React/..>" 2016-11-23 07:58:39 -08:00
RCTImagePickerManager.m remove unused includes in fbobjc/Libraries 2017-02-19 18:33:49 -08:00
RCTPhotoLibraryImageLoader.h Move all header imports to "<React/..>" 2016-11-23 07:58:39 -08:00
RCTPhotoLibraryImageLoader.m Fix crash when trying to load photo library assets with nil image url 2017-09-14 12:02:27 -07:00