After updating my app sometimes all old widgets disappear from home screen. And in app launcher/widget chooser my three widgets appear twice - until reboot!
Any suggestions?
The most common reason for a widget to disappear is when Android users transfer applications to a memory card. Widgets may also disappear after the hard reboot of your device. To return it, you need to transfer them again to the phone's memory.
If a widget that previously existed happily on your iPhone home screen has all of a sudden vanished, leaving an empty space behind, you're in the right place and the fix is very simple. Press and hold the space where the missing widget once was and it will reappear.
To re-add the same widget, tap and hold on an empty space on your home screen, tap Widgets, and select the one you want.
On this page there is a long article talking about this issue.
The core of the issue seems to be this:
It is important that we use our own keys with the widget update action, if we use AppWidgetManager.EXTRA_WIDGET_IDS we will not only break our own widget, but others as well.
Unfortunately my code is not affected by this issue but I still have users reporting the issue. Also found this report
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With