Unable to add firebase analytics to expo

Hi all,

I am trying to add analytics to my expo project using android device and Managed Workflow Setup.

But I an gettiung this error

TypeError: _firebase.default.analytics is not a function

import ‘firebase/firestore’;
import * as Analytics from ‘expo-firebase-analytics’;

// Your web app’s Firebase configuration
// For Firebase JS SDK v7.20.0 and later, measurementId is optional
LogBox.ignoreLogs([‘Setting a timer’]);

// Initialize Firebase
if (firebase.apps.length === 0) {


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