Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

expo-firebase-core

expo12kMIT6.0.0TypeScript support: included

Core support for Google Firebase

react-native, expo, firebase, expo-firebase-core

readme

expo-firebase-core

This module provides access to the Firebase configuration and performs initialisation of the native Firebase App. Unimodules that want to use Firebase can use this module to get safe access to the native Firebase App.

API documentation

Installation in managed Expo projects

For managed Expo projects, please follow the installation instructions in the API documentation for the latest stable release.

Installation in bare React Native projects

For bare React Native projects, you must ensure that you have installed and configured the expo package before continuing.

Add the package to your npm dependencies

expo install expo-firebase-core

Configure for iOS

Run npx pod-install after installing the npm package.

Add the iOS GoogleService-Info.plist to your XCode project

Configure for Android

Add the Android google-services.json to your android/app folder

Contributing

Contributions are very welcome! Please refer to guidelines described in the contributing guide.

changelog

Changelog

Unpublished

🛠 Breaking changes

🎉 New features

🐛 Bug fixes

💡 Others

6.0.0 — 2022-10-25

🛠 Breaking changes

  • Bumped iOS deployment target to 13.0 and deprecated support for iOS 12. (#18873 by @tsapeta)

💡 Others

  • [plugin] Migrate import from @expo/config-plugins to expo/config-plugins and @expo/config-types to expo/config. (#18855 by @brentvatne)

5.2.0 — 2022-09-15

💡 Others

5.1.1 — 2022-07-16

This version does not introduce any user-facing changes.

5.1.0 — 2022-07-07

This version does not introduce any user-facing changes.

5.0.0 — 2022-04-18

⚠️ Notices

  • On Android bumped com.google.firebase:firebase-core:17.2.1 ➡️ 20.1.2 and com.google.firebase:firebase-common:19.0.0 ➡️ 20.1.0. (#17002 by @bbarthec)
  • On iOS bumped `Firebase/Core@7.7.0 ➡️ 8.14.0`. (#17002 by @bbarthec)
  • On Android bump compileSdkVersion to 31, targetSdkVersion to 31 and Java version to 11. (#16941 by @bbarthec)

4.1.1 - 2022-02-01

🐛 Bug fixes

  • Fix Plugin with id 'maven' not found build error from Android Gradle 7. (#16080 by @kudo)

4.1.0 — 2021-12-03

This version does not introduce any user-facing changes.

4.0.3 — 2021-10-20

🐛 Bug fixes

  • Fix crash on launch in iOS classic builds where GoogleService-Info.plist is not configured. (#14811 by @kudo)

4.0.2 — 2021-10-15

🎉 New features

  • [iOS] Firebase native app will automatically be initialized without any extra native changes (#14750 by @EvanBacon)

💡 Others

  • [plugin] Native regular expressions have been removed in favor Expo modules AppDelegate proxy (#14750 by @EvanBacon)

4.0.1 — 2021-10-01

This version does not introduce any user-facing changes.

4.0.0 — 2021-09-28

🛠 Breaking changes

🎉 New features

  • Update JS code to read manifest2 when manifest is not available. (#13602 by @wschurman)

🐛 Bug fixes

  • Fix building errors from use_frameworks! in Podfile. (#14523 by @kudo)

3.1.0 — 2021-06-16

🐛 Bug fixes

💡 Others

  • Removed unnecessary dependency on unimodules-constants-interface. (#12876 by @tsapeta)
  • Build Android code using Java 8 to fix Android instrumented test build error. (#12939 by @kudo)

3.0.0 — 2021-03-10

📚 native library updates

  • Updated native firebase sdk version from 6.14.0 to 7.7.0 on iOS. (#12125 by @bbarthec)

🎉 New features

  • Converted plugin to TypeScript. (#11715 by @EvanBacon)
  • Updated Android build configuration to target Android 11 (added support for Android SDK 30). (#11647 by @bbarthec)

2.0.0 — 2021-01-15

🛠 Breaking changes

🎉 New features

1.3.0 — 2020-11-17

This version does not introduce any user-facing changes.

1.2.0 — 2020-08-18

This version does not introduce any user-facing changes.

1.1.1 — 2020-05-29

This version does not introduce any user-facing changes.

1.1.0 — 2020-05-27

This version does not introduce any user-facing changes.