If you call RNPhotosFramework.deleteAssets manually with an array of ImageAssets it will work but not if you call the delete function on an individual ImageAsset. I modified src/asset.js to the above and both calls work correctly. I can submit a PR if you would like.
If you have an
ImageAsset
and call thedelete
function on it you'll receiveunreocgnized selector sent to instance
.This is due to the problem with following code -
src/asset.js
-src/index.js
If you call
RNPhotosFramework.deleteAssets
manually with an array of ImageAssets it will work but not if you call thedelete
function on an individual ImageAsset. I modifiedsrc/asset.js
to the above and both calls work correctly. I can submit a PR if you would like.