Settings API - uoftblueprint/sistema GitHub Wiki
- Delete all of the app’s data, including everything in RNFS.
- All data are stored in DocumentDirectoryPath/LessonPlans, so we delete the lesson plans folder and all files will be recursively deleted.
- Using RNFS.unlink() with the filepath DocumentDirectoryPath (a constant in RNFS) + "/LessonPlans"
static deleteAllData(): Boolean
- It will return a boolean of True if the deletion was successful