Is there any way to know in "real-time", via broadcast I guess, when a user has cleared data of the app?
I have a widget showing some user details, which are stored in the Preferences, but when the user clear the app data, I am not able to know it until the next refresh/update (the onUpdate() call) which is every 30min.
During that time, the widget is showing useless values. So I need to trigger somehow any broadcast to capture it from a receiver and update the widget when that happens.
Is that possible?