Vigia

Upgrading @react-native-firebase/messaging from 26.x to 27.x

Comparison of the public API of @react-native-firebase/messaging 26.4.0 and 27.0.0, computed automatically from their TypeScript types. A changed signature is a candidate for a breaking change, not a certainty.

Summary

Removed import paths0
Removed exports0
Changed signatures1
Removed class or interface members0
Changed class or interface members0
Newly deprecated6
Requirement changes (engines, peer dependencies)1
New exports8

Removed exports

None detected.

Changed signatures

exportBeforeAfter
@react-native-firebase/messaging · SDK_VERSION"26.4.0""27.0.0"

Removed class or interface members

None detected.

Changed class or interface members

None detected.

Newly deprecated

export@deprecated
@react-native-firebase/messaging · getTokenFirebase JS 12.14+, Android Messaging 25.1+, and Apple 12.18+ deprecated FCM token APIs (`getToken`, `deleteToken`, `onTokenRefresh`) in favor of FID registration (`register` / `onRegistered`). Prefer {@link register} and {@link onRegistered} after opting in to Installation ID messaging. Token APIs …
@react-native-firebase/messaging · Messaging.getTokenFirebase JS 12.14+, Android Messaging 25.1+, and Apple 12.18+ deprecated FCM token APIs (`getToken`, `deleteToken`, `onTokenRefresh`) in favor of FID registration (`register` / `onRegistered`). Prefer {@link Messaging.register} and {@link Messaging.onRegistered} after opting in to Installation ID me…
@react-native-firebase/messaging · Messaging.deleteTokenFirebase JS 12.14+, Android Messaging 25.1+, and Apple 12.18+ deprecated FCM token APIs (`getToken`, `deleteToken`, `onTokenRefresh`) in favor of FID registration (`unregister` / `onUnregistered`). Prefer {@link Messaging.unregister} and {@link Messaging.onUnregistered}after opting in to Installatio…
@react-native-firebase/messaging · Messaging.onTokenRefreshFirebase JS 12.14+, Android Messaging 25.1+, and Apple 12.18+ deprecated FCM token APIs (`getToken`, `deleteToken`, `onTokenRefresh`) in favor of FID registration (`register` / `onRegistered`). Prefer {@link Messaging.register} and {@link Messaging.onRegistered} after opting in to Installation ID me…
@react-native-firebase/messaging · deleteTokenFirebase JS 12.14+, Android Messaging 25.1+, and Apple 12.18+ deprecated FCM token APIs (`getToken`, `deleteToken`, `onTokenRefresh`) in favor of FID registration (`unregister` / `onUnregistered`). Prefer {@link unregister} and {@link onUnregistered} after opting in to Installation ID messaging. Tok…
@react-native-firebase/messaging · onTokenRefreshFirebase JS 12.14+, Android Messaging 25.1+, and Apple 12.18+ deprecated FCM token APIs (`getToken`, `deleteToken`, `onTokenRefresh`) in favor of FID registration (`register` / `onRegistered`). Prefer {@link register} and {@link onRegistered} after opting in to Installation ID messaging. Token APIs …

Requirement changes (engines, peer dependencies)

BeforeAfter
peerDependencies.@react-native-firebase/app26.4.027.0.0
New exports (8)
importexportkind
@react-native-firebase/messagingNextFntype
@react-native-firebase/messagingObserverinterface
@react-native-firebase/messagingregisterfunction
@react-native-firebase/messagingunregisterfunction
@react-native-firebase/messagingUnsubscribetype
@react-native-firebase/messagingonRegisteredfunction
@react-native-firebase/messagingonUnregisteredfunction
@react-native-firebase/messagingRegisterOptionsinterface

Changelog between these versions

Text published by the package authors, shown as-is.

27.0.0
### ⚠ BREAKING CHANGES

- **app, sdk:** bump Firebase Android 35, Apple 13, and JS 13

### Features

- **app, sdk:** bump Firebase Android 35, Apple 13, and JS 13 ([0ca03d1](https://github.com/invertase/react-native-firebase/commit/0ca03d11b0c271fb37cfbee8a0c3074a21969f0b))
- **messaging:** add FID register and onRegistered ([ca301b2](https://github.com/invertase/react-native-firebase/commit/ca301b27673fbef5270d37fc6e49aa80df80069b))
- **messaging:** add messaging_installation_id_enabled firebase.json opt-in ([e9c9741](https://github.com/invertase/react-native-firebase/commit/e9c9741a65a76cc102d2d27ff675c453fd506243))

### Bug Fixes

- **analytics, messaging:** dedupe GoogleUtilities classes under SPM dynamic frameworks ([#9327](https://github.com/invertase/react-native-firebase/issues/9327)) ([b70ba88](https://github.com/invertase/react-native-firebase/commit/b70ba889e215df4b123aacb0c830551f18b14fe8)), closes [#9322](https://github.com/invertase/react-native-firebase/issues/9322) [#9322](https://github.com/invertase/react-native-firebase/issues/9322)
- **app,database:** resolve platform native module when bundlers apply package exports ([959d91f](https://github.com/invertase/react-native-firebase/commit/959d91fc79d7155d1d9a08e1f836789e6e6d6156))
- **messaging, ios:** guard AppDelegate window access for UIScene apps ([79c2d72](https://github.com/invertase/react-native-firebase/commit/79c2d72a7a61bccd41395e8c44b32ead9810d4bc))
- **messaging, ios:** hop notification permission APIs onto the main queue ([3fde064](https://github.com/invertase/react-native-firebase/commit/3fde064e34094760a1395e8fa9753ad4917eaec7))
- **messaging, ios:** hop remaining UIApplication register APIs onto main queue ([07e4562](https://github.com/invertase/react-native-firebase/commit/07e45624f6a7be8a8a47cfb46b3fd29a0553c003))
- **messaging, ios:** normalize sent time ([0b48006](https://github.com/invertase/react-native-firebase/commit/0b4800658e4aa535563abbcd8bb12b279ad9139b))
- **messaging, ios:** port UIScene window guard after rebase ([7cd8f14](https://github.com/invertase/react-native-firebase/commit/7cd8f14ac841d4f5378bf53454b34d50493a619b))
- **messaging, ios:** read isRegisteredForRemoteNotifications on main queue in getConstants ([87a30dc](https://github.com/invertase/react-native-firebase/commit/87a30dcf07882fab22a642946048ad50702ed967))
- **messaging, ios:** serialize notification badges as strings ([c6a8e85](https://github.com/invertase/react-native-firebase/commit/c6a8e85816186189e09ac33da19078d5a6845c8a))
- **messaging, ios:** validate sent-time format ([7b39040](https://github.com/invertase/react-native-firebase/commit/7b39040bf48abdc8d8c16af81c516c9ba449a767))
- **messaging:** detect the iOS APNs environment from the provisioning profile ([56a4141](https://github.com/invertase/react-native-firebase/commit/56a414144c87f467965952ad40d9afe6365800b3))
- **messaging:** nest iOS string sounds correctly ([a34ce00](https://github.com/invertase/react-native-firebase/co

Give your AI agent these facts

Vigia is a free MCP server: your coding agent checks versions, breaking changes and vulnerabilities before it writes code. No signup, no API key.

claude mcp add --transport http vigia https://vigia.coredls.cloud/mcp

Add to CursorAdd to VS Code★ Star on GitHub

Any other MCP client
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }

Agent skill (SKILL.md): tells the agent when to use Vigia · GitHub Action for pull requests

Frequently asked questions

What are the breaking changes when upgrading @react-native-firebase/messaging from 26 to 27?

Between @react-native-firebase/messaging 26.4.0 and 27.0.0, Vigia found 0 removed exports, 1 changed signatures and 0 removed or changed class or interface members.

What became deprecated in @react-native-firebase/messaging 27?

6 exports or members are newly marked as deprecated in @react-native-firebase/messaging 27.0.0.

For agents

GET https://vigia.coredls.cloud/v1/packages/npm/@react-native-firebase/messaging/upgrade?from=26.4.0&to=27.0.0