Aneesh Hegde
Aneesh Hegde

Reputation: 1

Firebase Analytics debugview console not working

I've got Firebase Analytics configured for my Flutter app with -FIRDebugEnabled passed into the Xcode scheme. When I run the app, Firebase Analytics says that debug mode is enabled and that everything is working correctly. Events get logged with a successful upload.

However, nothing appears in Firebase Console. 0 active users, no devices found in DebugView and no events logged.

I ran flutter clean, reinstalled the app and still nothing is working. I've also added AdSupport.framework to the iOS app.

Anyone knows what might be happening?

Upvotes: 0

Views: 3149

Answers (1)

CuriousCat
CuriousCat

Reputation: 73

I encountered a similar issue, and the following is what I did to resolve it.

Step 1

Open the Flutter project in Xcode by right-clicking the ios folder --> open in Xcode

Step 2

Click Product --> Scheme --> Edit Scheme

enter image description here

Step 3

Enable debug mode by adding the following:

-FIRDebugEnabled
-FIRAnalyticsDebugEnabled

enter image description here

Step 4

Run the following commands:

$ flutter clean

$ flutter pub get

$ cd ios

$ pod install

Step 5

Launch the app on Xcode <-- IMPORTANT

Upvotes: 4

Related Questions