Reputation: 1
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
Reputation: 73
I encountered a similar issue, and the following is what I did to resolve it.
Open the Flutter project in Xcode by right-clicking the ios
folder --> open in Xcode
Click Product
--> Scheme
--> Edit Scheme
Enable debug mode by adding the following:
-FIRDebugEnabled
-FIRAnalyticsDebugEnabled
Run the following commands:
$ flutter clean
$ flutter pub get
$ cd ios
$ pod install
Launch the app on Xcode <-- IMPORTANT
Upvotes: 4