TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: Alternative to Firebase FCM

22 pointsby diazcalmost 2 years ago
This is the message I received from Firebase on FCM deprecation:<p>&quot;We’re writing to let you know that starting June 20, 2024 the legacy Firebase Cloud Messaging (FCM) APIs will be discontinued.<p>What do you need to know?<p>On June 20, 2024, we’re reducing the number of Firebase Cloud Messaging (FCM) legacy register APIs and legacy send APIs that provide similar functionality. This step will allow us to provide you with a more consistent experience and align with Google security standards to improve security, reliability and performance.<p>Because of these API decommissions, some already-deprecated SDKs and features will stop working after June 20, 2024.<p>Please consult the tables below to find which Firebase Cloud Messaging (FCM) APIs and corresponding services&#x2F;SDKs&#x2F;features will be discontinued and replaced with new alternatives.<p>This one is more relevant to me in the email<p>Discontinued Send API: Batch send API<p>Decommissioned service: Including multiple send requests in a single HTTP request to FCM known as Batch Send.<p>New alternative: Send messages via the HTTP v1 API, which has been optimized for fanout performance.&quot;<p>The deprecations are listed here:<p>https:&#x2F;&#x2F;firebase.google.com&#x2F;support&#x2F;faq#fcm-23-deprecation<p>I believe the topics solution they have isn&#x27;t reliable for me as I have around 50,000 users on an application I work on and I send time sensitive notifications to them on a daily basis.<p>Is there an alternative to FCM that allows me to send to multiple devices at once almost instantly, perhaps like how WhatsApp or Twitter does their notifications?<p>Thanks.

4 comments

gdeglinalmost 2 years ago
Hi! I&#x27;m the co-founder of OneSignal, a push notification and marketing automation service.<p>Here are some of the batching mechanisms we support:<p>1. Sending to a list of devices based on push tokens, onesignal identifier, or your own customer identifers.<p>2. Sending to a segment that you create via our dashboard or API. Segments can combine filters such as device type, language, country code, activity in your application, or custom attributes you define<p>3. Sending to a list based on filters that you provide to our API &quot;eg: Send to all devices that have launched my app in the last week&quot;<p>4. Automated Messages - Automatically send messages to devices that match certain criteria (e.g. adding an item to their cart)<p>In addition, we provide some useful quality-of-live features, including:<p>* Idempotent notifications<p>* Tracking when notifications are received by a device (&quot;Confirmed Delivery&quot;)<p>* Targeting notifications based on a user&#x27;s interactions with previous messages<p>* Very fast notification delivery<p>Here&#x27;s our API documentation for sending notifications: <a href="https:&#x2F;&#x2F;documentation.onesignal.com&#x2F;reference&#x2F;create-notification" rel="nofollow noreferrer">https:&#x2F;&#x2F;documentation.onesignal.com&#x2F;reference&#x2F;create-notific...</a><p>We also provide client libraries for most popular programming languages: <a href="https:&#x2F;&#x2F;documentation.onesignal.com&#x2F;docs&#x2F;ruby-client-sdk" rel="nofollow noreferrer">https:&#x2F;&#x2F;documentation.onesignal.com&#x2F;docs&#x2F;ruby-client-sdk</a><p>These features are all available on our free plan. Our free plan has no limit on API calls, push tokens, or push messages. It&#x27;s designed to be equal to or better than Firebase&#x27;s notification console and FCM API in most dimensions. We also have paid features that provide deeper message analytics, marketing automation features, and other channels (email &amp; sms).<p>Please feel free to reach out to me directly if you have questions or need help migrating over: george[@]onesignal.com
评论 #36436497 未加载
评论 #36436018 未加载
评论 #36436841 未加载
jonas-walmost 2 years ago
I have my own selfhosted <a href="https:&#x2F;&#x2F;ntfy.sh" rel="nofollow noreferrer">https:&#x2F;&#x2F;ntfy.sh</a> instance that I use as my UnifiedPush provider (<a href="https:&#x2F;&#x2F;unifiedpush.org&#x2F;" rel="nofollow noreferrer">https:&#x2F;&#x2F;unifiedpush.org&#x2F;</a>), and to me it feels near instant. But I don&#x27;t have any knowledge about how good this scales or fits your needs.
评论 #36445370 未加载
teknologalmost 2 years ago
Since you&#x27;re already in Google Cloud, perhaps try their PubSub. Not sure what features you need but that should cover most.
panda888888almost 2 years ago
Amazon SNS or Google Pub&#x2F;Sub