Forum Cross Platform with Xamarin

Announcement:

The Xamarin Forums have officially moved to the new Microsoft Q&A experience. Microsoft Q&A is the home for technical questions and answers at across all products at Microsoft now including Xamarin!

To create new threads and ask questions head over to Microsoft Q&A for .NET and get involved today.

Remote Notifications

Are there any packages / libraries which abstract the differences in the Android and iOS remote notification architectures such that a single API can be used from Xamarin.iOS and Xamarin.Android to use remote notifications.

If not there is not a single interface which can be used from both programming platforms, what packages are available for remote notifications. for each of Xamarin.iOS and Xamarin.Android.

Thanks.

Posts

  • rzee7rzee7 INUniversity ✭✭✭✭✭

    Hello @Marthughie

    Please have a look Here It might help you.

    Cheers!!
    RIYAZ

  • AdamPAdamP AUUniversity ✭✭✭✭✭

    You might find some further help here: http://www.xamarinhelp.com/push-notifications/

    Where it details setting it up with Azure Notification Hubs but also shows how to deal with it on each platform.

  • MarthughieMarthughie GBMember ✭✭

    @rzee7 Thank you for this link. A couple of question though. The step by step instructions are for Xamarin.Forms rather than for .iOS and .Andriod platforms - is that right. Also the step by step instructions suggest that all platforms need to 'Create a Google APIs Project'. Why is that.
    Thanks.

  • rzee7rzee7 INUniversity ✭✭✭✭✭

    Hello @Marthughie

    Well, Provided link has a sample for forms actually, but there is nothing specific for forms, as you can see there all things going platform specific; take this like they are using PCL library instead forms. It means you can implement this plugin with PCL library and able to reuse in your iOS and Android projects.

    Google API project work with Android only.

    1. [Android] Create a Google APIs Project. Droid Ref
    2. [iOS] Create an iOS Provisioning Profile with Push Notifications enabled. iOS Ref

    By following above steps you are doing kinda registration both platforms Android and iOS server to push the sent notification for the devices registered to received notification.

    You can setup your app api project configuration as following:

    1. Android
    2. iOS

    For both setup you should have valid account.

    Please let me know if you have any question.

    Thanks!
    RIYAZ

Sign In or Register to comment.