Question: How to force re-update/reload widget?
longb1997 opened this issue · comments
Hello, first of all thank you for a great library.
In my case I needed to force a reload/re-update of data in the widget. For example, when a user logs out, they log in to another account, the widget will be reloaded. Is there any method to help me call in Logout/Login function?
You can call requestWidgetUpdate
at any time.
See https://saleksovski.github.io/react-native-android-widget/docs/update-widget#requestwidgetupdate