Is Firebase Cloud Messaging free?

AndroidPush NotificationFirebaseGoogle Cloud-MessagingFirebase Cloud-Messaging

Android Problem Overview


I need to implement push notification feature in my application. Exploring some options.

Google recently recommends Firebase platform, but this is not completely a free service. So I thought of using GCM again. Will google stop support for GCM in future?

Android Solutions


Solution 1 - Android

Firebase Cloud Messaging is free of charge, just like Google Cloud Messaging was. The Firebase pricing page shows exactly what Firebase features are paid.

Solution 2 - Android

Yes, it's free. You can use Analytics for advanced messaging - out of the box.

> Which products are paid? Which are free? > > Firebase's paid infrastructure products are the Realtime Database, > Firebase Storage, Hosting, and Test Lab. We offer a free tier for all > of these products except Test Lab. > > Firebase also has many free products: Analytics, Notifications, Crash > Reporting, Authentication, Remote Config, Dynamic Links, Firebase > Invites, and App Indexing. You can use an unlimited amount of these in > all plans, including our free Spark Plan.

Solution 3 - Android

As of April 10, 2018, Google has deprecated GCM. The GCM server and client APIs are deprecated and will be removed as soon as April 11, 2019. Migrate GCM apps to Firebase Cloud Messaging (FCM), which inherits the reliable and scalable GCM infrastructure.

Solution 4 - Android

https://firebase.google.com/pricing/

This link should help you understand better. If you are implementing push notifications my suggestion would be that maintain your own database for the generated device tokens instead of using topic messaging.

Two reasons why I avoided topic subscription is :

  1. There is a limit to the number of topics you can subscribe in free plan
  2. Topics are not subscribed immediately

Although the number of active users allowed in parallel connection has a limit but its too much to exceed that easily.

P.S. I use the spark plan by the way

Solution 5 - Android

There is no such thing "unlimited" for free. If you will send billions of billions messages a day, you will likely hit the maximum throughput limits and get blocked, or perhaps some sales man will contact you.

Solution 6 - Android

Not completely free. This is the pricing strategy.

https://firebase.google.com/pricing

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionKakeyView Question on Stackoverflow
Solution 1 - AndroidFrank van PuffelenView Answer on Stackoverflow
Solution 2 - AndroidMichael AndreevView Answer on Stackoverflow
Solution 3 - AndroidVijaya AdityaView Answer on Stackoverflow
Solution 4 - AndroidDinesh ShekhawatView Answer on Stackoverflow
Solution 5 - AndroidKfir FershtView Answer on Stackoverflow
Solution 6 - Androiduser2818066View Answer on Stackoverflow