Issue 51. PurgeLogs now called in RemoveData and Unregister
MODIFY
BT-Tracking/Interface/Data List/DeleteDataVM.swift
BT-Tracking/Interface/Data List/DeleteDataVM.swift
@@ -30,5 +30,6 @@ class DeleteDataVM {
func deleteAllData() {
scannerStore.deleteAllData()
+ FileLogger.shared.purgeLogs()
}
}

MODIFY
BT-Tracking/Interface/Unregister User/UnregisterUserVC.swift
BT-Tracking/Interface/Unregister User/UnregisterUserVC.swift
@@ -35,6 +35,7 @@ final class UnregisterUserVC: UIViewController {
return
}
+ FileLogger.shared.purgeLogs()
Log.log("deleteUser request success finished")
AppDelegate.shared.advertiser.stop()

Issue 51. PurgeLogs now called in RemoveData and Unregister