Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Widgets gone after app update

Tags:

android

widget

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?

like image 799
almisoft Avatar asked Apr 17 '14 23:04

almisoft


People also ask

Why did my widgets disappear?

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.

Why did my widgets disappeared iPhone?

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.

How do I get my widgets back on my Android?

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.


1 Answers

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

like image 138
BrainCrash Avatar answered Oct 19 '22 11:10

BrainCrash