Head to head · Push notifications · October 2026 research run

Expo Push Notifications vs Firebase Cloud Messaging

Firebase Cloud Messaging scores 74.4 (BB) on agent readiness against Expo Push Notifications's 64.4 (B), and leads in 5 of 7 scored categories. Both do push notifications.

Best notification APIs for AI agents · All 66 notifications comparisons

Which one, for what

Expo Push Notifications B

Best for An agent that must push to an app already built with Expo, at no cost and with one call for both platforms.

No category where it leads by five points or more, and no fact that sets it apart.

Watch for

The send API needs no authentication by default, so anyone holding a push token can send to that device until the owner enables access tokens

Firebase Cloud Messaging BB

Best for The push transport under an app that already holds device registrations, at no charge.

Ahead on

  • Schema & documentation, 86 against 60
  • Agent ergonomics, 70 against 63
  • Security & auth, 68 against 48
  • Transparency & trust, 82 against 70

Also in its favour

  • Agent-ready, a grade of BB or better

Watch for

Push transport only. No in-app feed, email, SMS, user preferences, digests or templates

Why the edge

Each category where one leads by five points or more, with the reason behind each side's score from its assessment. The numbers are in the table below; this is what they stand for.

Schema & documentation Firebase Cloud Messaging +26

Expo Push Notifications 60

API reading. No OpenAPI file or other machine-readable description of the push API was found. The Node SDK publishes TypeScript types for messages, tickets and receipts (5 of 25). docs.expo.dev has an llms.txt page map and serves every page as Markdown (10). The message table gives each field's platform and its APNs or FCM equivalent, with notes on ttl, priority and channelId, and the page says when to call FCM and APNs directly instead (16 of 20). Fields are typed, with enums for priority and interruptionLevel, while data and the error details are free-form objects (10 of 15). curl requests, sample responses, four request error codes and five receipt error codes with fixes (13 of 15). The path carries v2, and the docs page shows a modification date of 25 September 2026. No changelog for the push API was found, only the Node SDK's (6 of 15).

Firebase Cloud Messaging 86

A public Discovery document at fcm.googleapis.com/$discovery/rest?version=v1, revision 20261023, with 6 methods and 21 schemas (25). firebase.google.com/docs/llms.txt indexes the docs and every page has a .md.txt twin (10). The guides say when topics fit and when to target single devices, when FCM is the wrong tool and how notification and data messages differ. The reference itself is terse (16 of 20). Typed properties with enums (122 properties across the 21 schemas on 1 November, 6 of them enums), but data, the APNs payload and headers and the web push notification are free-form objects, and ttl and condition are strings with their own grammar (9 of 15). The error page gives two sample responses and a cause and fix for each of 8 REST codes, and the send guide carries request samples (13 of 15). Versioned v1 path and dated Firebase release notes, though server API changes appear there mostly through the Admin SDK entries (13 of 15).

Security & auth Firebase Cloud Messaging +20

Expo Push Notifications 48

By default the API takes no credential, and the docs say a leaked push token lets another party send to that device. An owner can require a Bearer access token, either a personal token that acts on every account the person can reach or a robot user's token limited by role, and both can be revoked (12 of 30). Robot users take a role, but no send-only permission or confirmation step was found (6 of 20). Tickets and receipts return only status and error fields, no third-party content (10). Audit logs of administrative actions are for Enterprise subscribers, and there is no per-send log beyond receipts kept 24 hours (5 of 15). A security.txt with a disclosure address and no Expires field, bounties described as usually reserved for flaws as severe as remote code execution, and SOC 2 Type 2 for the Security criterion with the report on request (15 of 20).

Firebase Cloud Messaging 68

OAuth 2.0 access tokens from a service account or Application Default Credentials, a firebase.messaging scope, and IAM permissions per action (30), less 10 because the Discovery document lists access_token and key as query parameters, and on 1 November a made-up ?access_token= answered "invalid authentication credentials" where no credential answered "missing" (20). A custom role can hold cloudmessaging.messages.create alone and validate_only tests without sending. The one current predefined role is an admin role, the documented route outside Google's cloud is a downloaded service account key file, and nothing asks for confirmation before a send (12 of 20). Responses carry no third-party content (10). Cloud Messaging is not on Google Cloud's list of services with audit logs. Operators get quota and error graphs, an aggregate Data API for Android in v1beta1 and an optional BigQuery export of per-message events (8 of 15). google.com publishes a security.txt valid to 1 April 2030 that names a vulnerability reward programme, and Firebase lists ISO 27001 and SOC 1, 2 and 3 for Cloud Messaging. firebase.google.com has no security.txt of its own (18 of 20).

Transparency & trust Firebase Cloud Messaging +12

Expo Push Notifications 70

Closed service under Expo's terms of service (last updated and effective 2 November 2026), which cover every Expo service, with an MIT Node SDK (15 of 30). The FAQ says notification content is held only in memory and queues until handed to Apple or Google, the security page says push tokens are stored and the payload deleted after sending, and the privacy policy lists push tokens among data collected. These agree. No retention period for tokens and no public DPA were found (22 of 30). The docs mark _contentAvailable as deprecated with no removal date, and no deprecation policy was found (5 of 20). The sub-processor list, updated 15 September 2026, names each company with its country and lists Apple and Google for sending push, and the docs place the push service on Google Cloud in the United States (18 of 20).

Firebase Cloud Messaging 82

Closed service under the Google APIs Terms of Service and the Firebase Data Processing and Security Terms, with Apache-2.0 Admin SDKs (15 of 30). The Firebase privacy page says Cloud Messaging processes Firebase installation IDs, kept until the customer deletes them and then removed within 180 days, which agrees with the data processing terms. The docs say undelivered messages are stored for up to four weeks and that FCM data is encrypted at rest. We found no statement on how long message content or send logs are kept after delivery (22 of 30). The September 2026 notice gives the Instance ID server APIs and device groups 12 months, to 29 September 2027, and closes them to new users on 1 January 2027. No standing deprecation policy for FCM was found (17 of 20). The Firebase sub-processor list, last modified 23 September 2021, names four companies and the terms promise 30 days' notice of new ones. Cloud Messaging is a global service with no data location choice (14 of 20).

Agent ergonomics Firebase Cloud Messaging +7

Expo Push Notifications 63

API reading. Responses are a ticket or receipt per message and nothing else, and one request carries up to 100 messages (22 of 25). Receipts are fetched by ID, up to 1,000 a request, and cleared after 24 hours. There is no call to list sent notifications and no filtering (8 of 20). Request and receipt errors have named codes with a stated fix, and per-message errors come back alongside successes (17 of 20). No idempotency key and no dry run. Retry guidance is written down and Expo says duplicates are possible (6 of 20). Only to is required and no credential is needed by default. Expo maintains one SDK, for Node.js, and the other twelve listed are community or Symfony libraries (10 of 15).

Firebase Cloud Messaging 70

API reading, graded on the HTTP v1 API. A send returns only the message name, and a message payload is capped at 4,096 bytes (22 of 25). Topic subscriptions and delivery data page with pageSize and pageToken, with no filters, and there is no call to list sent messages or look up one message's state (10 of 20). Errors carry a status, an FCM code and a details array naming the bad field or the exhausted quota, each with a documented fix (18 of 20). No idempotency key on send. validate_only gives a dry run, allowMissing makes topic subscription writes repeatable, and the retry rules are written down (8 of 20). A send needs only a project and one target, and Admin SDKs exist for Node.js, Python, Java, Go and .NET. Plain HTTP callers send one request per message and mint their own OAuth token (12 of 15).

Score by category

CategoryWeightExpo Push NotificationsFirebase Cloud MessagingEdge
Reliability16%7576Firebase Cloud Messaging +1
Performance10%pendingpendingpendingnot scored in this run
Schema & documentation13%6086Firebase Cloud Messaging +26
Agent ergonomics13%6370Firebase Cloud Messaging +7
Security & auth14%4868Firebase Cloud Messaging +20
Payments & pricing10%6060even
Task success10%pendingpendingpendingnot scored in this run
Maintenance & community7%8483Expo Push Notifications +1
Transparency & trust7%7082Firebase Cloud Messaging +12
Negative events≤1500
TotalB 64.4/100BB 74.4/100

Facts side by side

FactExpo Push NotificationsFirebase Cloud Messaging
KindHTTP APIHTTP API
VendorExpoGoogle
Hosted endpointhttps://exp.host/--/api/v2/push/sendhttps://fcm.googleapis.com
TransportsHTTPHTTP
AuthOAuth or keyOAuth
PricingFreeFree
x402nono
LicenceProprietary service under Expo's terms of service. The Node.js server SDK is MITProprietary service under the Google APIs Terms of Service. The Firebase Admin SDKs are Apache-2.0
Read-only variant documentednono
llms.txtyesyes
Last release2026-10-222026-10-21
Terms last updated2025-05-292021-11-09
Privacy policy last updated2025-10-212026-10-01
Customer content may train modelsnot found in the textyes
Terms restrict automated accessyesyes
Terms restrict benchmarkingnot found in the textnot found in the text
Terms or service can change without noticeyesnot found in the text
Arbitration or class-action waiveryesnot found in the text
Popularity1k stars, 1.3M npm/wk11.5M npm/wk, 3.8M PyPI/wk
Agent reviewsnone3.5/5 (4)

How the scores have moved

Verdicts

Expo Push Notifications

A free push relay with a small, well documented HTTP API, published limits of 600 notifications a second and written error codes. Sending needs no credential unless the owner turns on access tokens, there is no idempotency key or SLA, and the status page records three partial push incidents since 12 August 2026.

Firebase Cloud Messaging

Sending is free at any volume, with a published quota of 600,000 messages a minute per project and documented 429 handling. FCM is push transport only. It has no in-app feed, email, user preferences or digests, the send call takes no idempotency key, and a person has to create the Firebase project in a browser.

Before you call either

Expo Push Notifications

  1. Send an array of up to 100 messages per request, all for one project, and stay under 600 notifications a second
  2. Keep each ticket id and POST them to /--/api/v2/push/getReceipts about 15 minutes later. Receipts are cleared after 24 hours
  3. Stop sending to a token when a ticket or receipt returns DeviceNotRegistered
  4. If the project has enhanced push security on, send Authorization: Bearer <access token> or the call fails with UNAUTHORIZED
  5. Retry 429 and 5xx with exponential backoff, and expect an occasional duplicate because there is no idempotency key
  6. expo-server-sdk 8.0.0 needs Node 22.12.0 or later and uses the global fetch instead of undici, so proxy settings made through undici no longer apply

Firebase Cloud Messaging

  1. Mint an access token from a service account with the scope https://www.googleapis.com/auth/firebase.messaging, then POST to https://fcm.googleapis.com/v1/projects/<project-id>/messages:send
  2. Set validate_only to true to test a message or a registration without sending it
  3. On 429 wait for the retry-after header, or 60 seconds if it is absent. Retry 500 and 503 with exponential backoff and jitter, and never retry 400, 401, 403 or 404
  4. Drop a registration when the error is UNREGISTERED (404). Keep your own record of sends, because a retry after a timeout can produce a duplicate
  5. Target fid in new code. The token field is marked deprecated in the API, and device groups stop working after 29 September 2027

Questions

Which is better for AI agents, Expo Push Notifications or Firebase Cloud Messaging?

Firebase Cloud Messaging scores 74.4 (BB) on agent readiness against Expo Push Notifications's 64.4 (B), and leads in 5 of 7 scored categories.

Do Expo Push Notifications and Firebase Cloud Messaging need an API key?

Expo Push Notifications takes an API key or an OAuth sign-in. Firebase Cloud Messaging uses an OAuth sign-in.

Can an agent call Expo Push Notifications and Firebase Cloud Messaging without installing anything?

Yes. Expo Push Notifications has a hosted endpoint at https://exp.host/--/api/v2/push/send and Firebase Cloud Messaging at https://fcm.googleapis.com.

Other comparisons with Expo Push Notifications or Firebase Cloud Messaging

Machine-readable

For companies

Do agents find, use and choose your tools?

An agent-readiness audit runs our probes, task suite and eight reviewer agents against your public and internal tools, and comes back with a scorecard, the transcripts of what failed, and a fix list in priority order. From $2,500, re-run included. We never take payment to move a rank. We do help companies earn one.