When app is in foreground/bacckground function OnMessageReceived is called. When I swipe of the app or click close all then I am not getting the notification message. I am using Data only message ,
Relevant information
Add relevant project settings from *.csproj file:
Please note I have installed Xamarin.Firebase.Messaging in Android project only
Create the apk file with Sigin Identity and installed in Samsung S23. Tested with API call (Legacy) using postmen. I am getting the success repose but app is not displaying anything. After open the app also not receiving any notification message.
I also testing with Notification payload that time system is displaying the message with out restyling defined in OnMessageReceived. Kindly help me to identity the issue and solution
Xamarin.Android Version (eg: 6.0):
Android 13 (API 33)
Operating System & Version (eg: Mac OSX 10.11):
Windows (development)
Google Play Services Version
118.2.0.5
dependencies/Packages Xamarin.AndroidX.Core 1.12.0.4 Xamarin.AndroidX.Lifecycle.Common 2.7.0.1 Xamarin.Essentials 1.7.3 Xamarin.CommunityToolkit 2.0.2 Xamarin.Firebase.Messaging 123.3.1.1 Xamarin.Forms 5.0.0.2478 Xamarin.GooglePlayServices.Base 118.0.1
Describe your Issue
When app is in foreground/bacckground function OnMessageReceived is called. When I swipe of the app or click close all then I am not getting the notification message. I am using Data only message ,
Relevant information
Add relevant project settings from
*.csproj
file:Please note I have installed Xamarin.Firebase.Messaging in Android project only
Android manifest
Messaging Service
MainActivity--> OnStart()
Create the apk file with Sigin Identity and installed in Samsung S23. Tested with API call (Legacy) using postmen. I am getting the success repose but app is not displaying anything. After open the app also not receiving any notification message.
I also testing with Notification payload that time system is displaying the message with out restyling defined in OnMessageReceived. Kindly help me to identity the issue and solution