home_widget icon indicating copy to clipboard operation
home_widget copied to clipboard

Can I display the FCM message on the widget?

Open GanZhiXiong opened this issue 1 year ago • 1 comments

We want to update the widget in time, but since the update frequency of the widget is limited to at least 15 minutes, I want to display the mobile phone's message push on the widget.

GanZhiXiong avatar Jan 25 '24 09:01 GanZhiXiong

It should be possible. Please have a look at this section https://github.com/ABausG/home_widget?tab=readme-ov-file#background-update

I believe it should not make a difference if you use Workmanager or FCM to trigger Widget Changes while the app is in the background. Please note that you might need to ensure that the FCM Plugin has the ability to register other plugins (home_widget) in this case

ABausG avatar Mar 05 '24 21:03 ABausG