This question already has an answer here:
How to setup FCM in Xamarin forms
(1 answer)
Closed 3 years ago.
I'm need to send my Web API notification when user order something on my app, but i dont know how to send Notification to Firebase on Xamarin.Forms.
Does anyone have some sample or source code to follow ?
You need to set up the Notification in specific Xamarin.Android project and Xamarin.iOS project.
For Xamarin.Android:
You can have a look at official document here and Remote Notifications with Firebase Cloud Messaging, there are step-by-step explanations of how to use Firebase Cloud Messaging to implement remote notifications (also called push notifications) in a Xamarin.Android application.
For Xamarin.iOS:
You can use Xamarin.Firebase.iOS.CloudMessaging to send iOS push notification by FCM.
There are also steps here: Firebase Cloud Messaging on iOS
Firebase document for push notification to native app is here: cloud-messaging
Related
I have a client that created a custom mail server that has the calendars feature and wants the users to be able to sync their calendars in iOS Calendars built-in app.
I do not know how do this using the built-in iOS Calendars App.
I tried to setup in the Apple Development Account an app that use the Apple Push Notifications service but it looks like I have to create an application.
I didn't find any information on web.
Any suggestion where to start?
Thank you.
The "native" protocol for the iOS Calendars app is CalDAV. So what you really want is to have your server implement https://www.rfc-editor.org/rfc/rfc4791
The Calconnect Developer's guide is a good source of information for such a project: https://devguide.calconnect.org/Table-of-Contents
It lists some server side libraries that you probably want to build your implementation on top of: https://devguide.calconnect.org/CalDAV/libraries/
How to manage Push Notification from Web API to Android App using Firebase?
I have a web application,and want a Push Notification, while any changes on web application database then it will show a notification to my android app.
How to do this?
Check this link https://forums.xamarin.com/discussion/89731/how-to-implement-fcm-in-xamarin-forms I followed this for my app and worked perfectly!
I want to built a rest service by using parse.com. My mobile app will interact with parse via rest api by send http request. Without integrating parse SDK into my app, how can i setup push notification from parse to my app?Thank you a lot.
I think you can not do that, because for handle the push notification in your app, you need parse SDK for PFPUSH object.
I am planning to use ionic to to create a hybrid chat app. Which one should i use to implement push notification and realtime chat. Either parse or pubnub or both. can i just use pubnub to achieve both functionality?
Ionic has it´s own push notification service in alpha state. You should give it a try. Seems pretty awesome and easy to implement.
Personally I have built a chat app with firebase and it works out of the box. There is also a full tutorial how to implement it.
Parse is a great choice for push, but you can send push notifications using PubNub JavaScript APIs too.
I actually write a few tutorials on hybrid mobile chat apps (using Cordova), also tuts for push notifications with GCM and APNs:
http://www.pubnub.com/blog/converting-your-javascript-app-to-an-ios-app-w-phonegap/
http://www.pubnub.com/blog/sending-ios-push-notifications-via-apns-javascript-using-apns-phonegap/
I wrote a tut for for Android with GCM too, if you want to check out :-)
I have successfully implemented the Parse Push Notifications.
Now, I want to add event listeners such as onNotificationReceived onNotificationClick or so in Angular JS. The Parse API doesn't have any documentation about this.
Please share a documentation link or an API is present.
Note: I am building the App on Ionic Framework. Also, I am trying to avoid native android coding.