reactfire icon indicating copy to clipboard operation
reactfire copied to clipboard

Failed to import FirebaseAppProvider for reactfire@^4.2.2

Open europa-starfish opened this issue 3 years ago • 0 comments

Version info

React: 18.0.0

Firebase: 9.13.0

ReactFire: 4.2.2

Other (e.g. Node, browser, operating system) (if applicable): expo: 46.0.16 react-native: 0.69.6

Test case

Steps to reproduce

  1. Create an Expo App

  2. Simply following the setup guide:

function App() {
  return (
    <SafeAreaProvider>
      <FirebaseAppProvider firebaseConfig={firebaseConfig}>
        <RootStackNavigator />
      </FirebaseAppProvider>
    </SafeAreaProvider>
  );
}

registerRootComponent(App);

Expected behavior

The App render without error

Actual behavior

Screenshot 2022-10-31 at 4 45 40 PM

Current Solution

Downgrade to 4.1.1, it works fine at [email protected]

europa-starfish avatar Oct 31 '22 08:10 europa-starfish