I am looking at setting my app up with push notifications. Is there currently a mvvmcross demo that uses push notifications across all platforms? I saw some third party libraries such as pushsharp that handles most but was wondering if anyone has a preferred preference to set it up for cross platform development.
I'm still a relative beginner in mobile dev so I've read the basics of push setup in the xamarin docs.
Any sample code would help.
not sure if you have checked Azure Notification Hub
http://msdn.microsoft.com/en-us/library/windowsazure/jj927170.aspx
Related
This question already has an answer here:
How to receive push notifications from Firebase cloud messaging on Windows
(1 answer)
Closed 10 months ago.
Is there a good way to add Firebase server2client FCM messaging to my WPF .net windows app?
We already have it sending GUI-less data messages to our Android/iOS clients, and I would like to recycle the backend integration.
I saw that there is a C++ library, but no mention of anyone using it on Windows.
And I saw that someone put together a hack where they ran the web version inside a .Net app.
But I didn't see any testimonials about using firebase in windows. I don't want to use unofficial solutions which might lose support when a new version is released...
Is there an official way to use FCM in my windows app?
No, there is not. FCM is designed for web and mobile (Android, iOS) applications.
I'm new for Xamarin forms, please let me know the process for firebase messaging(push notifications) implementation process and how to achieve this in Xamarin.forms cross platform development.
Azure Mobile Services has it Baked in.
See: https://azure.microsoft.com/en-in/documentation/learning-paths/appservice-mobileapps/
https://learn.microsoft.com/en-in/azure/app-service-mobile/app-service-mobile-ios-get-started-push
If you specifically want to use a Firebase hub then
https://learn.microsoft.com/en-us/azure/notification-hubs/notification-hubs-android-push-notification-google-fcm-get-started should get you started.
I am going to develop a social media type application for iOS using Xamarin, for chat purpose I want to use firebase.
Can you please tell me if firebase is supported by Xamarin.iOS?
Apparently there is a Xamarin compatible client available: https://github.com/ziyasal/FireSharp
It seems like yes.
check this nuget plugin
There is also a Xamarin.iOS project on github which uses FCM
This one is for Firebase + Crashlytics for iOS only
https://www.nuget.org/packages/Xamarin.Firebase.iOS.Crashlytics/ it is published recently.
Other packages (Xamarin.Firebase.Crash for example) are for Firebase Crash reporting, which is being phased out.
By the time I'm writing this, I'm working on a Xamarin cross-platform app (iOS,Android and Windows Phone), using Azure Mobile Services. There is interest of also developing Mac OS X version of this app.
Is there a way to use the Azure for the OS X app, because I can't find anything on the web? Please, be descriptive as possible :)
There is not currently Xamarin.Mac support in Mobile Services. If you look here (https://github.com/Azure/azure-mobile-apps-net-client/tree/master/sdk) you will see there is a Xam.iOS, Android, and Forms project.
You can add a feature request for Xam.Mac, or make an open PR that adds in a Xam.Mac project. I'd assume the main PCL component will work and its just a matter of adding the Mac specific wrappers where needed. I'm not sure how much dev work that would actually entail though to say if its feasible or not.
I'm a newbie in OSX development.
I'm developing an app in mac which requires receiving notifications similar to the iOS APNS. I am fully aware of the Growl Framework, however many suggested that in order to avoid any future compatibility and/or support issue with Growl, using the Apple Push Notifications (applicable for Apps from Lion onwards) would be better.
Can you suggest a way on how to do this or give some important tutorial regarding this.
Thank you for your help!
Apples own documentation is the best place to start:
https://developer.apple.com/notifications/
Lots of documents there as well as videos from WWDC regarding mac notifications and sample code. In general the implementation is very similar to ios push.