resetAppData

fun resetAppData(context: Context)

This function clears all the data for the app from the device, cancels all background tasks, deletes the logged in user account from device accounts and finally clear all data stored in shared preferences.