getTimeline called twice on load

When I run my widget from xcode I see getTimeline is called twice for some reason.

It's called the first time, then after it returns a timeline it's called again. The logs have the following message:

"-[EXSwiftUI_Subsystem beginUsing:withBundle:] unexpectedly called multiple times."

It takes about 0.5 seconds for the first getTimeline call to return so it doesn't seem like the OS should try to call this method again so quickly (my timeline entries all have times in the future so they shouldn't request the widget to load immediately)

Is this a bug, or expected? Seems to happen every time I run the widget.
Might be the same to me ios 14 widget + REST api
Same
Mark here.
So it's been 4 month and still no answer or fix from Apple, what a shame.
In my device it's getting called 3 times, regardless if I returned a quick time line or not.

Not sure if I answer your question but I found out that getTimeline gets called for each widget size.

  • If I have only small widget (one or two or more) getTimeline called once.
  • If I have small widget and medium widget, getTimeline called twice.
  • If I have small, medium, large widgets, getTimeline called three times.

Took me couple of days to know this. It might be helpful to you.

Same here. Any news about it?

Same here in 2023

Hello, Any resolution for this issue, I am still facing in Nov. 2023?

getTimeline called twice on load
 
 
Q