Skip to content

Latest commit

 

History

History
20 lines (12 loc) · 941 Bytes

README.md

File metadata and controls

20 lines (12 loc) · 941 Bytes

widget-onesignal-auto-update

Isolating effect on widget updates that seems to be related with OneSignal

To reproduce the effect:

  • clone the project
  • install the app
  • add the widget - go home screen and hold an empty area, search for "BlankProject" widget and add it
  • run the project - run in debug mode with a breakpoint in WidgetProvider class to make the process quicker like in the image below:

image

  • with this proccess we can see that the breakpoint is called multiple times when opening and closing the app once OneSignal is initialized:

image

  • simply doing this the widget updates as normally:

image