npm.io
26.4.0 • Published 4 weeks ago

@react-native-firebase/app

Licence
Apache-2.0
Version
26.4.0
Deps
1
Size
1.4 MB
Vulns
0
Weekly
0
Stars
12.3K


React Native Firebase

Coverage NPM downloads NPM version License Maintained with Lerna

Chat on Discord Follow on Twitter Follow on Facebook


Installation

yarn add @react-native-firebase/app

Documentation

Additional Topics

iOS Dependency Resolution: SPM vs CocoaPods

React Native 0.75 and newer use Swift Package Manager by default to resolve Firebase iOS SDK dependencies. SPM requires dynamic linkage:

use_frameworks! :linkage => :dynamic

To use CocoaPods instead, add this before any target block in your Podfile:

$RNFirebaseDisableSPM = true

Expo projects can set the same flag through the config plugin, which adds it to the generated Podfile during prebuild:

[
  "@react-native-firebase/app",
  {
    "ios": {
      "disableSPM": true
    }
  }
]

CocoaPods mode supports static or dynamic linkage. React Native versions older than 0.75 fall back to CocoaPods automatically.

See the iOS SPM guide for Xcode 26 setup, Expo configuration, framework-embedding fallback, and troubleshooting.

License


Built and maintained with by Invertase.


Keywords