Hello,
I’ve created a custom widget for my app, and I’m experiencing a strange issue. When the widget is placed on the home screen and I touch it, the colors of the widget unexpectedly change. This issue only affects the widget as displayed on the home screen — not within the app itself.
Once this happens, the widget retains the incorrect colors until the phone is restarted. After a restart, the colors return to their intended appearance, but the issue reoccurs as soon as the widget is touched again.
It seems like the system is somehow caching or altering the rendering of the widget after interaction.
Please let me know if there’s any workaround or if additional information is needed to help resolve this.
Thanks in advance!