-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Open
Labels
blocked: customer-responseplatform: androidplugin: app-coreFirebase Apps / Core internals.Firebase Apps / Core internals.type: bugNew bug reportNew bug report
Description
Issue
When using expo with autogenerated folders I am getting the wrong packageImportPath for android.
Steps to reproduce
- Create a react native expo project with the following configuration
- run expo prebuild
- run expo run:android
- check the file
android/build/generated/autolinking/autolinking.json - π¨ Issue:
packageImportPath": "import io.invertase.firebase.ReactNativeFirebaseAppPackage;" - Must be
packageImportPath": "import io.invertase.firebase.app.ReactNativeFirebaseAppPackage;"
This I have confirmed with an older version of the dependency that was manually linked into the project. The current setup is a WIP migration from react-native bare-bone project into expo setup with "newArchEnabled": true
package.json
"@react-native-firebase/app": "23.5.0",
"@react-native-firebase/app-check": "23.5.0",
"expo": "~54.0.21",
"react-native": "0.81.5",
"react": "19.1.0",expo app.json
"newArchEnabled": true,
.....
[
"expo-build-properties",
{
"android": {
"buildToolsVersion": "36.0.0",
"compileSdkVersion": 36,
"targetSdkVersion": 36,
"minSdkVersion": 28,
},
"ios": {
"useFrameworks": "static"
}
}Android Crash
When running expo run:android the following error is visible in the build phase
android/app/build/generated/autolinking/src/main/java/com/facebook/react/PackageList.java:26: error: cannot find symbol
import io.invertase.firebase.ReactNativeFirebaseAppPackage;
^
symbol: class ReactNativeFirebaseAppPackage
location: package io.invertase.firebase
Metadata
Metadata
Assignees
Labels
blocked: customer-responseplatform: androidplugin: app-coreFirebase Apps / Core internals.Firebase Apps / Core internals.type: bugNew bug reportNew bug report