Firebase messaging in Xamarin - xamarin

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.

Related

TokBox OpenTok SDK for Xamarin Forms

I have made proof of concept app for a video chat application in Xamarin Native using the below nuget packages (it works like a charm the source code is done by provider available here https://github.com/DreamTeamMobile/Xamarin.Opentok.Samples/tree/code-improvements)
https://www.nuget.org/packages/Xamarin.OpenTok.Android/
https://www.nuget.org/packages/Xamarin.OpenTok.iOS/
These nuget packages are basically a port of the native iOS/Android SDK's by TokBox for Xamarin, Created by DreamTeamMobile. I want to make use of them to for creating a Xamarin Forms application, I need some guidance how I can make the same functionality available to a Forms Project, considering that the package provider doesn't provides Xamarin Forms implementation. Would custom renderers help here.
In my case using Xamarin Forms (Shared Project), I used native views ref to made Room page and I used the given services to streaming from the Sample code ref, basically was copy and paste the services. Each service and whatever I needed from Android or iOS was included with Conditional compiler ref.
I hope it's useful.

LoginWithAmazon SDK for Xamarin?

I'm making app with using Xamarin.Forms.
I want to integrate Amazon login so that I could use Amazon echo with my app.
There is a component here.
https://components.xamarin.com/view/amazonlogin?version=2.1.0.0
but It's way out of date.
I don't think I could use this.
Any idea how can I resolve my issue?
There are some Amazon SDK for xamarin made by Amazon.
https://developer.amazon.com/sdk-download
But it also does not seem usable. This have two folder named inapp and amazonad. and .xam file without documents.
Only option seems like a create webpage with using javascript provided from Amazon and use it via a webview.
https://developer.amazon.com/public/apis/engage/login-with-amazon/content/web_docs
Am I right?
Thanks.
The library on Xamarin Components website is a binding for the official Amazon SDKs.
You can create your own bindings for the native SDK to use them in Xamarin App, we have detailed instructions on our website here for both Android and iOS

Can Xamarin be used to produce a iOS, Android AND WEB app?

Xamarin is designed to create native iOS, Android, and Windows apps by coding it in C#. But can it also produce a web app?
If not, is there some solution that would enable us to do that?
You can write your backend code (services, data, domain, business logic, etc) in PCL libraries that can be shared between your Mobile apps and your website. But the web frontend would need to be written separately than the mobile front-ends.

Does firebase support Xamarin.iOS

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.

Mvvmcross iOS Push Notification Setup

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

Resources