[📚] What to use if a Firebase product is not supported by Dart-only initialization on Android #8778
Labels
good first issue
Good for newcomers
plugin: analytics
plugin: performance
resolution: solution-provided
A solution has been provided in the issue.
type: documentation
Improvements or additions to documentation
type: question
A question where further information is requested
Okay so I wanted to add Performance Monitoring to my Android app. But the app was crashing before even launching.
I followed this to add it. I used to follow guides on firebase.flutter.dev but it was redirecting to firebase.google.com.
A few days later, firebase.flutter.dev wasn't redirecting anymore It was opening as normal but it's showing the page archived notice. But in that page there was a caution saying:
This is not shown on firebase.google.com/docs/perf-mon/flutter/get-started.
So I removed the performance dependency from by app because I've already initialized the app with dart so why to manually initialize it? But now I want to add Firebase Analytics. No page is showing the previous caution. I've added the dependency normally and the app ran normally. But I'm getting
Missing google_app_id. Firebase Analytics disabled. See https://goo.gl/NAOOOI
error message in the console. And I still cannot see any data in the analytics dashbord. I found some issues here with the same error message. And I guess the solution is to go with the manual installation which FlutterFire does not recommend as stated here.My question is: If I need to add some firebase products that are not supported with Dart, should I not use the dart-only initialization at all and just use the manual installation for everything? or should I do both?
Sorry for the long story but I think it was worth it. There is nothing clear.
The text was updated successfully, but these errors were encountered: