For firebase analytics setup question for bare workflow

Please provide the following:

  1. SDK Version: Latest
  2. Platforms(Android/iOS/web/all): All
  3. Add the appropriate “Tag” based on what Expo library you have a question on.

I want to install analytics on bare workflow. Should I be using:

expo install expo-firebase-analytics

Or should I be using:

# Install & setup the app module
yarn add @react-native-firebase/app

# Install the analytics module
yarn add @react-native-firebase/analytics

Should either one work and not both?

expo-firebase-analytics provides combined mobile and web support, so if you want that all in one package with one API call, that would be the way to go. Using the react-native-firebase packages for mobile-only analytics support is also an option.

1 Like

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.