Issue
I use @react-native-firebase/app and @react-native-firebase/messaging, both v24 (issue happened in v23 too). I use expo, and have those packages added to the app.json plugins section. Since expo sdk-55, i get the following intellisense warning on both of the plugins import, likely from the vscode expo tools extension (maybe @byCedric can help)
Package "@react-native-firebase/messaging" does not contain a valid config plugin.
Learn more: https://docs.expo.dev/guides/config-plugins/#creating-a-plugin
Unexpected token 'typeof'
changing the plugin in app.json to @react-native-firebase/app/app.plugin.js fixes the warning (same for messaging)
The plugins seem to be working tho
Project Files
Javascript
Click To Expand
package.json:
"expo": "~55.0.15",
"@react-native-firebase/app": "24.0.0",
"@react-native-firebase/messaging": "24.0.0",
"react-native": "0.83.5",
firebase.json for react-native-firebase v6:
iOS
Click To Expand
ios/Podfile:
AppDelegate.m:
Android
Click To Expand
Have you converted to AndroidX?
android/build.gradle:
android/app/build.gradle:
android/settings.gradle:
MainApplication.java:
AndroidManifest.xml:
Environment
Click To Expand
react-native info output:
expo-env-info 2.0.12 environment info:
System:
OS: Linux 6.19 Arch Linux
Shell: 5.9 - /usr/bin/zsh
Binaries:
Node: 24.14.1 - ~/.nvm/versions/node/v24.14.1/bin/node
npm: 11.11.0 - ~/.nvm/versions/node/v24.14.1/bin/npm
SDKs:
Android SDK:
API Levels: 34, 35, 36
Build Tools: 35.0.0, 36.0.0, 36.1.0, 36.1.0
System Images: android-36 | Google Play Intel x86_64 Atom, android-36 | Pre-Release 16 KB Page Size Google Play Intel x86_64 Atom
npmPackages:
babel-preset-expo: ~55.0.17 => 55.0.17
expo: ~55.0.15 => 55.0.15
expo-router: ~55.0.12 => 55.0.12
expo-updates: ~55.0.20 => 55.0.20
react: 19.2.0 => 19.2.0
react-dom: 19.2.0 => 19.2.0
react-native: 0.83.5 => 0.83.4
npmGlobalPackages:
eas-cli: 18.5.0
Expo Workflow: bare
- Platform that you're experiencing the issue on:
react-native-firebase version you're using that has this issue:
Firebase module(s) you're using that has the issue:
- app and messaging, but likely all of them have this issue
- Are you using
TypeScript?
Issue
I use
@react-native-firebase/appand@react-native-firebase/messaging, both v24 (issue happened in v23 too). I use expo, and have those packages added to the app.json plugins section. Since expo sdk-55, i get the following intellisense warning on both of the plugins import, likely from the vscode expo tools extension (maybe @byCedric can help)changing the plugin in app.json to
@react-native-firebase/app/app.plugin.jsfixes the warning (same for messaging)The plugins seem to be working tho
Project Files
Javascript
Click To Expand
package.json:firebase.jsonfor react-native-firebase v6:# N/AiOS
Click To Expand
ios/Podfile:# N/AAppDelegate.m:// N/AAndroid
Click To Expand
Have you converted to AndroidX?
android/gradle.settingsjetifier=truefor Android compatibility?jetifierfor react-native compatibility?android/build.gradle:// N/Aandroid/app/build.gradle:// N/Aandroid/settings.gradle:// N/AMainApplication.java:// N/AAndroidManifest.xml:<!-- N/A -->Environment
Click To Expand
react-native infooutput:react-native-firebaseversion you're using that has this issue:24.0.0Firebasemodule(s) you're using that has the issue:TypeScript?5.9.3React Native FirebaseandInvertaseon Twitter for updates on the library.