Is there any API, library or known pattern to detect when room DB got corrupted? And in such a case ...
p
Is there any API, library or known pattern to detect when room DB got corrupted? And in such a case what is the best approach: 1- Show the user a message to uninstall, reinstall the App, sending to clear storage settings and so on. 2- Login the user out and trying to programatically recreate the same DB or a new DB.