invertase / invertase/react-native-firebase

Unable to get FCM token using "getToken()" method in iOS 26

Open
#8,937 8 comments 0 reactions 0 assignees View on GitHub
Needs Attention platform: ios plugin: messaging type: bug
Dominant language
TypeScript
Stars
12.3k
Forks
2.3k
Avg merge
3d 3h
Merged PRs (30d)
79

Description

FCM token is not being generated on iOS 26.0 using @react-native-firebase/messaging.

The issue occurs on:

❌ iOS 26.0 Simulator
❌ iOS 26.0 Physical Device

While the same implementation works fine on:

✅ iOS 18.6
✅ iOS 26.3

Error received:

[messaging/unknown] No APNS token specified before fetching FCM Token
Steps to Reproduce
await messaging().requestPermission();
await messaging().registerDeviceForRemoteMessages();
const token = await messaging().getToken();
Expected Behavior

FCM token should be returned.

Actual Behavior
Token is null OR
Error: No APNS token specified
Environment
React Native: 0.75.3
@react-native-firebase/messaging: 21.7.1
@react-native-firebase/app: 21.7.1
@notifee/react-native: 9.1.8
Notes
Push Notifications & Background Modes enabled
APNS token is not being received on iOS 26.0
Same setup works on other iOS versions
Question

Is this a known issue with iOS 26.0, or is there any workaround?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.