You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Stats Widgets don't update automatically on their own anymore.
Context: p1714038584459619-slack-C0180B5PRJ4
Steps to reproduce
Install Jetpack app
Login
Go to the home screen
Any widget
Notice that it shows zero values when it's loaded
Expected: Widget should load values itself
Investigation
Widget calls StatsServiceRemoteV2.getData by itself to fetch stats info. However, the guard let code fails.
It happens because self is nil since StatsServiceRemoteV2 is not retained in StatsWidgetService. There may have been some internal fixes within StatsServiceRemoteV2 which removed some retain cycles which made the widget code work in the first place.
The text was updated successfully, but these errors were encountered:
Stats Widgets don't update automatically on their own anymore.
Context: p1714038584459619-slack-C0180B5PRJ4
Steps to reproduce
Expected: Widget should load values itself
Investigation
Widget calls
StatsServiceRemoteV2.getData
by itself to fetch stats info. However, theguard let
code fails.It happens because
self
isnil
sinceStatsServiceRemoteV2
is not retained inStatsWidgetService
. There may have been some internal fixes withinStatsServiceRemoteV2
which removed some retain cycles which made the widget code work in the first place.The text was updated successfully, but these errors were encountered: