Is Firebase Cloud Messaging free for unlimited mobile user? - c#

My project already have developed mobile application (hybrid using Cordova). Now we want to support a push notification for Android and iOS. We are planning to support push notification using Firebase Cloud Messaging (FCM). Idea is that our mobile app will be registered with FCM and we will use FCM to send push notifications to (read unlimited) mobile devices.
As per many site, FCM is free for push notification, but I did not see clear guideline by FCM sites.
Additionally FCM pricing model also says that 100 real database connections are free and after that you need pay as per licensing model.
Refer : https://firebase.google.com/pricing/
Question is, do I need a real database connection with FCM if I am interested only in push notification feature? Is push notification feature of FCM is free for unlimited mobile devices connected to same mobile application?
If anybody have official document on this, please share.

Firebase Cloud Messaging is a free Push Notification service (previous version known as Google Cloud Messaging).
Do I need a real database connection with FCM if I am interested only in push notification feature?
No. FCM is a separate service from Firebase Realtime Database.
Is push notification feature of FCM is free for unlimited mobile devices connected to same mobile application?
Like I mentioned initially, the FCM service is included free for any Firebase Plan. The Pricing documentation already shows this:
Included Free
Analytics, App Indexing, Authentication, Cloud Messaging, Crash Reporting, Dynamic Links, Invites, Notifications & Remote Config
And yes. There is no limit to the number of users you plan to connect using FCM. See my answer here.

Related

Azure service to send SMS and Email notifications

I have mainly worked in AWS and there is AWS SNS which can send SMS and email notifications. The alternative in Azure appears to be Azure Notification Hub, which cannot do this. Apparently it only sends push notifications.
Is there a service that I could use to implement SMS and Email notifications (including email templates) in Azure?
Azure Communication Services are cloud-based services with REST APIs and client library SDKs available to help you integrate communication into your applications. You can add communication to your applications without being an expert in underlying technologies such as media encoding or telephony.
From: What is Azure Communication Services?
Azure Communication Services provides quite a few options, among which are chat, email and SMS.
There are decent articles on how you can Send an SMS message or Send an email.
EDIT:
Azure Logic Apps is a cloud platform where you can create and run automated workflows with little to no code. By using the visual designer and selecting from prebuilt operations, you can quickly build a workflow that integrates and manages your apps, data, services, and systems.
So Logic Apps is not a service to send SMS or email. Logic Apps is a low-code platform that enables you to very easily call a service that sends an SMS or an email. And one such service could be Twilio, since ...
Twilio powers personalized interactions and trusted global communications to connect you with customers.
Of course there are other providers, too, like MessageBird, Spryng, CM.com and more.
for sms/emails try Azure Communication Services: https://learn.microsoft.com/en-us/azure/communication-services/quickstarts/sms/send?tabs=windows&pivots=platform-azcli
For email notifications only you have also different choices. You can buy "kiosk" from 365 business licence, so you can create account only for this licence in your tenant, send email from code is standard smtp approach. For templating you can use whatever you want, as you can send html message loaded for example from resx file. You can also use service nammed SendGrid from Twilio. I recomend using SendGrid, only if there are really plenty of emails.

How to obtain GCM registration id using only C# code?

I want to send push notification to Android device using Amazon SNS service.
But as listed on Amazon's official site:
You send push notification messages to both mobile devices and desktops using one of the following supported push notification services:
Amazon Device Messaging (ADM)
Apple Push Notification Service (APNS) for both iOS and Mac OS X
Baidu Cloud Push (Baidu)
Google Cloud Messaging for Android (GCM)
Microsoft Push Notification Service for Windows Phone (MPNS)
Windows Push Notification Services (WNS).
So I am using GCM as an intermediary to send push notification to my Android device.
Here is an another link that states how to create project with GCM: http://docs.aws.amazon.com/sns/latest/dg/mobile-push-gcm.html.
So far I have able to successfully create project in Google with my Server key and project number but only thing I am not getting is how to generate Registration Id and from where.
Do I need to programmatically generate registration id from my C# code?
But I couldn't find any code in C# to generate registration id. I have just find code in Android to generate Registration Id.
Having just set up SNS for a mobile app let me try and clarify a few things about SNS.
Amazon SNS is the intermediary not GCM. The workflow goes like this:
Using the GCM Project Key you set your app up for push notifications
A user downloads your app and when it launches, it connects to GCM
and lets Google know that this app/user combo would like to receive
push notifications.
GCM sends back a device token that represents this individuals device
and app instillation.
You send this device token to your c# server code where you can use
the SNS api to register the token with amazon and save it as a SNS
mobile endpoint.
Then you can use that endpoint Id and your server API key to send out
the notification.
This part of the documentation should be exactly what your looking for.
Hope this helps,
http://docs.aws.amazon.com/sns/latest/dg/mobile-push-gcm.html

Setting up push notification for windows phone. MPNS and its role

I have read this:
http://msdn.microsoft.com/library/windows/apps/ff402558(v=vs.105).aspx
This is the API documentation of the push notification service I want to get pushes from: https://developers.podio.com/examples/push
How do I go about implementing push notifications with Podio if they do not support MPNS. It looks like (from the msdn documentation) that they will have to send the notifications to Microsoft Push Notification Service at stage 5.
Is there a way around this stage? Can I communicate directly with Podios PNS somehow? Why should Podio who are protected by Citrix have to send sensitive data through Microsoft's service when they have a service workflow of their own? I'm struggling to understand this!
Related documentation:
http://forums.wpcentral.com/windows-phone-8-guides-how-tos/234780-how-push-notifications-work-why-sometimes-they-might-not.html
EDIT
If I set up a service of my own that Microsoft's push notification service interacts with... I can then make interactions on behalf of Podio... Is this normal practice?... I'm assuming that the lag of double dosing requests is going to be pretty useless for something like a messaging application.
I noticed that Android seems to also now have a middle man service... But I assume that having the choice means large companies who do not want to make a handshake with a third party company do not have to?
http://developer.android.com/google/gcm/gcm.html

Push Notifications in windows 8 desktop app

Hey i have been developing a windows 8 desktop app using XAML and C#. I have to implement push notification functionality in it. But i cannot keep my database on cloud due to some security reasons. Is there any other solution so that i can keep my database inside my network only but still can write mobile service to implement push notifications. Any link or suggestion is welcome.
Typically in push notification scenarios there are three pieces:
App.
Cloud Service.
Push Notification Service
Where the app registers for notifications, passes the registration to the cloud service which can then use the PNS to send notifications.
However the Cloud Service component doesn't need to be in "the cloud" it can be anywhere the client app can connect to and send the registration. It's just a web service hosted somewhere, be in a cloud platform, your own hosting etc.
There is a company that provides this service for you for free called Notice Software. They provide push within apps at not cost and handle the cloud interaction etc. I think the product site is NativePush.com....also used UrbanAirship but not sure I want to pay that much! Frees always best :)

Android and iPhone PNS details

i am crating a wcf data service for sending notification to iPhone and Android devices. i am writing server side code to register the devices, i just want to know what all information iPhone and Android send to server for registration process and what all things i need to store in my data base for sending notification to iPhone and Android.
Android and iOS PNS are really different, and will not send the same amount or structure of information to handle device registration, unregistration and message handling. You should start from the specific documentations from both those worlds and implement different services for each of them. These two worlds cannot be collapsed into one, I fear ...
WCF Data Service will not allow you to do push notifications to Android and iPhone. WCF Data Service (OData service = REST) offers only request response message exchange pattern where client (Android and iPhone) must ask for data by sending a request.

Categories