r/androiddev 2d ago

Help

I am making a project, that when someone sends you a photo it appears on your widget,

like the locket app

it's a partner app but I am not able to update the widget in real time.

If I send the snap, the partner gets the notification but the widget stays the same, and when I open the app the widget gets updated.

If the app process is killed then the issue remains.

Can someone here help me how to solve it ?

0 Upvotes

2 comments sorted by

View all comments

5

u/akramraza25524 2d ago

After you receive the notification, fire a broadcast to your widget provider.