Skip to content

Latest commit

 

History

History
34 lines (24 loc) · 762 Bytes

File metadata and controls

34 lines (24 loc) · 762 Bytes
title iOS Installation
description Manually integrate Analytics into your iOS application.

iOS Manual Installation

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

1. Add the Pod

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

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

2. Update Pods & rebuild the project

You may need to update your local Pods in order for the RNFBAnalytics 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