I’m not sure about the root cause, it might be the async storage thing.
A simple workaround would be to create a subdirectory inside documentDirectory and just delete contents of that subdirectory. This makes everything more clear and easy for further modifications (e.g. storing a file which you do not want to delete).
You may also try-catch (or catch() when using then()) the deletion call and skip non-deletable directories.