WidgetExamples
WidgetExamples copied to clipboard
Manage and refresh widget without opening app
Basically, need to manage widget based on silent push-notification, please share your review @pawello2222
when app is in kill state and refresh the widget
Hi @aakash-patel-dev
Apologies for the late response.
I haven't tested the below solution but you can try adding:
WidgetCenter.shared.reloadTimelines(ofKind: <WIDGET_KIND>)
to didReceiveRemoteNotification in the AppDelegate:
application(_:didReceiveRemoteNotification:fetchCompletionHandler:)