I have already developed push notifications for Xamarin.Android & Xamari.iOS. How can this help me to develop notifications in Xamarin.Forms?
So many functionalities are there which plugins doesn't seems to fulfill.
Actually i think Firebase push notification plugin can meet almost our requirement , What specific functionalities do you want ?
Surely , you can refer the project code and complete it in your own implementation.
Core code as following
Answers
Refer https://forums.xamarin.com/discussion/89731/how-to-implement-fcm-in-xamarin-forms
@ColeX - I hardly believe in any plugin in for push notifications. I am interested to use my existing functionality of Xam.Android & Xam.iOS in Xam.Forms Push notifications. Is that can help me? So many functionalities are there which plugins doesn't seems to fulfill.
Thank you.
Actually i think Firebase push notification plugin can meet almost our requirement , What specific functionalities do you want ?
Surely , you can refer the project code and complete it in your own implementation.
Core code as following
iOS :https://github.com/CrossGeeks/FirebasePushNotificationPlugin/blob/master/src/Plugin.FirebasePushNotification.iOS/FirebasePushNotificationManager.cs
Android :https://github.com/CrossGeeks/FirebasePushNotificationPlugin/blob/master/src/Plugin.FirebasePushNotification.Android/FirebasePushNotificationManager.cs
@ColeX - I ended up implementing notification for android using https://github.com/CrossGeeks/FirebasePushNotificationPlugin with an issue that, when app in foreground(killed from taskbar) notification tap not opening specific screen, it is just opening
MainPage
. I raised a ticket GitHub https://github.com/CrossGeeks/FirebasePushNotificationPlugin/issues/197. Is there any way to solve this issue?Try to change payload.
Refer https://github.com/CrossGeeks/FirebasePushNotificationPlugin/issues/50#issuecomment-340078710
@ColeX - This still not working. This is my payload. I tried click action Page name & activity name as well. I am using postman to send push notifications.
You can check this ticket as well https://stackoverflow.com/questions/53594512/specific-view-not-opening-on-notification-tap-when-app-in-foreground
Implement firebase in xamarin forms step by step: