firebase-kotlin-sdk icon indicating copy to clipboard operation
firebase-kotlin-sdk copied to clipboard

Cannot build when using analytics.setConsent for JS apps

Open visserp opened this issue 1 year ago • 0 comments
trafficstars

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)

visserp avatar Oct 16 '24 20:10 visserp