I created an application (https://play.google.com/store/apps/details?id=com.widget.analytics) that displays one Google Analytics statistic on the Android home screen using AppWidget.
Unfortunately, after updating the application to the new version, users need to remove all the widgets that they created earlier and reinstall them. This is very annoying. However, I am convinced that there is a way.
After updating the application, the widgets will not be destroyed, they simply are in the "default" state, which they inherit from the layout.
Are there any of the four widget callbacks that I can use to update widgets? Is there an after-gradepgrade-callback that I can act on and update widgets?
source share