Reputation: 4332
I am working on Xamarin forms. I had been searching for Push notification in Xamarin forms, some said there is no such implementation for Xamarin forms but there are Xamarin.iOS and Xamarin.Android. I am a newbie I may miss many development news on this subject.
I would like to know:
1) Is there any latest development for Xamarin forms for Push Notification?
2) Any sample app to learn from , any tutorial for xamarin form?
3) What are requirements to build this kind of app, what SDK or tools required.
Please help
Upvotes: 1
Views: 977
Reputation: 477
Push Notifications have slightly different requirements for each platform. You will need to write platform specific code for each of the platforms you wish to target in your Xamarin.Forms App.
The best way to achieve this is with a DependencyService
. There is a great overview of how to do this with a number of examples in the Xamarin.Forms guides.
Unfortunately one of the examples is not for Push Notifications. However, there is a great (free) book that contains loads of useful walkthroughs and examples for Xamarin.Forms including a chapter (5) on Push Notifications. There are code recipes for Android, iOS and Windows which should provide you with what you need.
For SDKs/tools I would recommend using an Azure Notification Hub, this can be integrated with each of the major platforms notifications services:
Once configured, this will allow you to send the same notifications to multiple users without worrying which platform they are on.
Upvotes: 1
Reputation: 1538
I'm assuming you are talking about Azure push notifications. If that's the case there is a detailed Xamarin guide to help you for this matter: https://developer.xamarin.com/guides/xamarin-forms/cloud-services/push-notifications/azure/
Also checkout the sidebar since that also include interesting posts about this service.
Good Luck
Upvotes: 1