RNSS deletes the entire directory instead of just deleting the .mp3 file. Is my content uri structured incorrectly?
It would be a disaster if we accidentally deleted a directory for the user. Shouldn't deleteFile and deleteDirectory be separate functions? That way, in the worst case, deleteFile could be safe-guarded to make sure deleting a directory by accident is not possible.
When I call deleteFile with:
RNSS deletes the entire directory instead of just deleting the .mp3 file. Is my content uri structured incorrectly?
It would be a disaster if we accidentally deleted a directory for the user. Shouldn't deleteFile and deleteDirectory be separate functions? That way, in the worst case, deleteFile could be safe-guarded to make sure deleting a directory by accident is not possible.