Skip to content

Latest commit

History

History
36 lines (26 loc) 路 836 Bytes

File metadata and controls

36 lines (26 loc) 路 836 Bytes
title description next previous
iOS Setup
Manually integrate Realtime Database into your iOS application.
/database/usage/installation/android
/database/usage

iOS Manual Linking

The following steps are only required if you are using React Native <= 0.59 or need to manually integrate the library.

1. Add the RNFBAnalytics Pod

Add the RNFBDatabase Pod to your projects /ios/Podfile:

target 'app' do
  #  ...
  pod 'RNFBDatabase', :path => '../node_modules/@react-native-firebase/database'
end

2. Update Pods & rebuild the project

You may need to update your local Pods in order for the RNFBDatabase Pod to be installed in your project:

$ cd ios/
$ pod install --repo-update

Once the Pods have installed locally, rebuild your iOS project:

npx react-native run-ios