I'm trying to use setConsent() for analytics in my web app.
However, after using the functionality I find this error during my build:
export 'ConsentSettings' (imported as 'ConsentSettings') was not found in 'firebase/analytics' (possible exports: getAnalytics, getGoogleAnalyticsClientId, initializeAnalytics, isSupported, logEvent, setAnalyticsCollectionEnabled, setConsent, setCurrentScreen, setDefaultEventParameters, setUserId, setUserProperties, settings)
I'm trying to use setConsent() for analytics in my web app.
However, after using the functionality I find this error during my build:
export 'ConsentSettings' (imported as 'ConsentSettings') was not found in 'firebase/analytics' (possible exports: getAnalytics, getGoogleAnalyticsClientId, initializeAnalytics, isSupported, logEvent, setAnalyticsCollectionEnabled, setConsent, setCurrentScreen, setDefaultEventParameters, setUserId, setUserProperties, settings)