A glowing translucent Firebase flame on a deep navy background, with most incoming connection streams breaking at a threshold of light and only one reaching it.

Firebase alternatives for China — measured

We probed every Firebase product from Mainland China on 2026-06-25. Each function gets a cn-beijing verdict and a China replacement — Auth, FCM, Firestore.

Stack Readiness 23 min read firebase, auth, push, backend, storage, analytics

Frequently asked questions

Can I keep one Firebase project for global and China?

Yes, with app flavors — the global build keeps the Firebase SDKs while the China build swaps auth, push, storage, and analytics providers. Shared business logic, different platform adapters.

What blocks the Firebase Admin SDK from a server inside Mainland China?

The Admin SDK's first move is to mint an OAuth2 access token, and oauth2.googleapis.com, accounts.google.com, and www.googleapis.com all timed out from our cn-beijing node. getUserByEmail(), messaging().send(), and getTemplate() therefore failed in about 1.4 seconds with auth-token-blocked, so one unreachable endpoint disables every server-side Firebase call.

Does Firebase Hosting in asia-east1 fix latency for Mainland China users?

No. asia-east1 is Taiwan, so it is still cross-border for Mainland China users and it does not change Google API reachability.

Is FCM fine if the server API returns 200?

No. From our cn-beijing node the send host fcm.googleapis.com did not even connect, and Mainland China Android ships without Google Mobile Services, so the device never holds an FCM connection on mtalk.google.com to receive the message.

Why is the Realtime Database reachable when Firestore is blocked?

They live on different hosts. firebaseio.com connected on every sample from our Beijing node on 2026-06-25, with an authenticated write in 0.92s, while firestore.googleapis.com did not connect at all. Reachability is per-host and per-time, which is why you probe rather than assume.

Do I need ICP filing to use domestic alternatives?

Often yes for hosted services and app store distribution in China. Filing and network reachability are separate problems — our ICP and PSB filing Guide covers the filing side.

Tell us where you are stuck in China.

Share your product, stack, and timeline — we will point you to the next concrete step.