Thank you for this awesome library. I am running into an issue deleting an asset from a smart album. I am trying to delete an image from the Screenshots album to be exact. I am getting back this error as a Promise rejection when calling:
album.removeAsset(myAsset)
I am getting back this error:
Error: The operation couldn’t be completed. (Cocoa error -1.)
at createErrorFromErrorData (NativeModules.js:116)
at NativeModules.js:79
at MessageQueue.__invokeCallback (MessageQueue.js:290)
at MessageQueue.js:127
at guard (MessageQueue.js:46)
at MessageQueue.invokeCallbackAndReturnFlushedQueue (MessageQueue.js:126)
at debuggerWorker.js:71
I googled Cocoa error -1, but I am not sure I found anything helpful.
Thank you for this awesome library. I am running into an issue deleting an asset from a smart album. I am trying to delete an image from the Screenshots album to be exact. I am getting back this error as a Promise rejection when calling:
I am getting back this error:
I googled Cocoa error -1, but I am not sure I found anything helpful.
Any help would be appreciated. Thanks again!