Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 204402

Background and Foreground app and Push Notifications.

$
0
0

Hello developers,

I'm using the plugin https://github.com/CrossGeeks/FirebasePushNotificationPlugin and https://github.com/winstongubantes/MatchaBackgroundService

The plugin work good, I receive the push notification with background, Foreground and too when the app is closed.

The problem is that plugin FirebasePushNotification, with event OnNotificationReceived detect the event when app is background but don't enters the event, without de event OnNotificationReceived, all it works good! when I receive the push notifacion with mi app the background and I have other code, for example show alert and back the app foreground it works!, the alert it's visible.

I need the following:

My app don't' use commercial, only professional.

When receive push notification and my app is foreground, show alert (it works), when my background app receive push notification with de plugin, show alert (when back foreground app).

Any examples?
Where find information?

Thanks advance.


Viewing all articles
Browse latest Browse all 204402

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>