CameraRoll is a react-native native module that provides access to the local camera roll or photo library.
Go to file
Edgar Aroutiounian 58503ff2c9 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
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 Implement deletion of asset-library files 2017-11-29 12:18:08 -08:00