I am creating a widget for my app that get's info from API, such as car battery percentage, range remaining and so on.. I understand that after iOS 14 Today Extension has been deprecated where you could run code every time the widget appear on the screen. How can I do something like this when using Widget Extension? What would be the best approach here?
EDIT: (Since @El Tomato complains about my phrasing)
How would you guys suggest I do this, in this case?