Vigia

Atualizar @react-native-firebase/messaging de 26.x para 27.x

Comparação da API pública de @react-native-firebase/messaging 26.4.0 e 27.0.0, calculada automaticamente a partir dos tipos TypeScript. Uma assinatura alterada é uma possível mudança incompatível, não uma certeza.

Resumo

Caminhos de importação removidos0
Exports removidos0
Assinaturas alteradas1
Membros de classes ou interfaces removidos0
Membros de classes ou interfaces alterados0
Novas descontinuações6
Mudanças de requisitos (engines, dependências peer)1
Novos exports8

Exports removidos

Nenhuma detectada.

Assinaturas alteradas

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

Membros de classes ou interfaces removidos

Nenhuma detectada.

Membros de classes ou interfaces alterados

Nenhuma detectada.

Novas descontinuações

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 …

Mudanças de requisitos (engines, dependências peer)

AntesDepois
peerDependencies.@react-native-firebase/app26.4.027.0.0
Novos 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 entre estas versões

Texto publicado pelos autores do pacote, exibido como está.

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

Dê estes dados ao seu agente de IA

Vigia é um servidor MCP gratuito: seu agente de programação verifica versões, mudanças incompatíveis e vulnerabilidades antes de escrever código. Sem cadastro, sem chave de API.

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

Adicionar ao CursorAdicionar ao VS Code★ Estrela no GitHub

Qualquer outro cliente MCP
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }

Skill para agentes (SKILL.md): diz ao agente quando usar o Vigia · GitHub Action para pull requests

Perguntas frequentes

Quais são as mudanças incompatíveis ao atualizar @react-native-firebase/messaging de 26 para 27?

Entre @react-native-firebase/messaging 26.4.0 e 27.0.0, o Vigia encontrou 0 exports removidos, 1 assinaturas alteradas e 0 membros de classes ou interfaces removidos ou alterados.

O que foi descontinuado em @react-native-firebase/messaging 27?

6 exports ou membros foram marcados como descontinuados em @react-native-firebase/messaging 27.0.0.

Para agentes

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