| type | Reference | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| title | @react-native-firebase/app | |||||||||
| description | Knowledge index for the core app package — Firebase app lifecycle, Expo config plugin, and iOS SPM / CocoaPods integration helpers. | |||||||||
| tags |
|
|||||||||
| timestamp | 2026-09-11 00:00:00 UTC |
Knowledge for the core app package: Firebase app lifecycle, Expo config plugin, and iOS SPM / CocoaPods integration helpers.
Policy: OKF documentation and commit policy. Agent shell commands: agent command policy only.
test-expo/ is a user-facing Expo example (Expo Router, one route per included inventory package) and the documented-path iOS link closer. It is not Detox e2e. Canonical closer: yarn test-expo:ios:link from repo root (build-only; typecheck and JS lint rows in agent command policy). A new package screen under test-expo/app/ also needs an @react-native-firebase/<pkg> pin in test-expo/package.json (same version as the other pins) and a route in test-expo/app/index.tsx, then root yarn to link it. Native RNFB* discovery and named App+Messaging signatures: iOS SPM native integration § Expo precompiled module linkage repair. App-target FirebaseCore linking and CocoaPods hook order: iOS SPM native integration.
The workspace RN CLI prebuilt RNCore iOS build fixture (test-rn-bare/) is not Detox e2e and is not the Expo link closer. Canonical command: yarn test-rn-bare:ios:build (agent command policy). Consumer compile (GitHub #8883) is this fixture; producer podspecs stay in iOS RNCore podspec invariants. Issue 2 pin stays on tests/ (test app dependency pins).
- Cross-cutting durable SPM decisions: iOS SPM native integration (app-target FirebaseCore link; exact SPM Firebase SDK version; ObjC flag on RNFB pod targets; Expo precompiled linkage repair)
packages/app/firebase_spm.rb— SPM activation, embed phase,rnfirebase_add_spm_core_to_app_targetpackages/app/__tests__/— Ruby SPM unit testspackages/app/plugin/src/ios/appDelegate.ts— Expo AppDelegateFirebaseApp.configure()injectiontest-expo/— workspace Expo example and documented-path iOS link closer (not Detox; closer is build-only)test-rn-bare/— workspace RN CLI prebuilt RNCore iOS compile fixture (not Detox)- Consumer Expo linkage:
docs/ios-spm.mdx(config plugins; no agentexpo prebuild/xcodebuildsteps)