android – Expo Firebase Analytics solely work contained in the Browser


I’m utilizing Firebase for my Expo App. Authentication + Getting Information appears to work high-quality however I’m having bother implementing Analytics.

const firebaseConfig = {
apiKey: “kk”,
authDomain: “kk”,
projectId: “kk”,
storageBucket: “kk”,
messagingSenderId: “kk”,
appId: “kk”,
measurementId: “kk”
};

as you’ll be able to see the measurmentId exists, in addition to that an Fascinating Notice is that, when opening my App contained in the Webbrowser it really works, however when beginning the App on Android or IOS by way of Expo Go I get:

[2023-07-25T14:06:01.633Z]  @firebase/analytics: Analytics: Firebase Analytics shouldn't be supported on this setting. Wrap initialization of analytics in analytics.isSupported() to forestall initialization in unsupported environments. Particulars: (1) Cookies aren't out there. (analytics/invalid-analytics-context). 

thanks in Advance in your assist!

Related Articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest Articles