Skip to content

DimitarStoyanoff/Notifications

Repository files navigation

FCM Notifications with image

This example presents a solution on how to receive Firebase notifications with image received while the app is in foreground.

Notifications received in app background are sent to system tray and handled by Firebase SDK as usual.

The examle utilizes Glide for image fetching and caching, as well as coroutines for handling the background work with a timeout of 5 seconds, which is the approximate life of the Notification Service (FCM SDK has the same timeout when handling foreground).

If you're interested in how FCM used to work:

My old Pluralsight tutorial (outdated)

Screenshot_1669296547

About

FCM Notifications with images in app foreground

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages