-
Notifications
You must be signed in to change notification settings - Fork 4k
🐛 [firebase_analytics] Android: Does not work with dart only initialization of firebase, ios works #8098
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
@darshankawar I understand that the docs give a '?' but say 'Indicates your app will build and run but plugin behavior may be different.' but if it doesn't work there should be |
@neiljaywarner The PR added following section: Looking at it, Also, not sure, but I'll keep this open for further insights to know if /cc @pr-Mais since you fixed and added the document part. |
Analytics on Android has issues with Dart-only initialization, but the app compiles that's why the question mark is used instead. Crashlytics has links because there is further platform integration that is required, but in case of Analytics on Android, there isn't any, just fallback to the manual installation temporarily until all issues are resolved. |
Hi, when will Analytics on Android be supported with with Dart-only initialization? For me only Dart-only initialization works(manual initialisation doesn't work). And I need Analytics, is there any workaround? |
@darshankawar any update please? |
Does anyone know the status on this? |
@darshankawar the entire table is gone making it seem like everything is fixed, but I think my colleague says that it still doesn't work. any update? |
@puf @darshankawar @RedBrogdon this should definitely be fixed after i/o announcing flutter is first class citizen with firebase right? |
There is nothing in the new docs about this right? |
Please check this new document and see if it helps. |
@darshankawar The link provided doesn't help. |
I agree to @TheCarpetMerchant. The document says it supports android. When will you start supporting dart only initialisation? |
@darshankawar Please ask the team to fix this issue to support Dart-only initialisation on Android as soon as possible If there are any workaround without going for manual installations, they are welcome too. This is really taking out our time |
/cc @Salakar |
I just realized that Analytics has stopped working in my Android production app. I guess it must be related to this "Dart-only" mess. I don't even get any related build warnings, but it just doesn't work anymore. @pr-Mais So your guidance is to "fallback to the manual installation temporarily until all issues are resolved"? So how is that done? I have already Or is it so that the latest version of the Analytics plugin does not support Android at all? |
You need to remove the options from |
Please install the latest FlutterFire CLI ( You can still also pass in the FiresbaseOptions (needed for web platform) as default Firebase app will always initialize from config files first. |
I have Apps with Flavors. Each flavors has different firebase configuration. Current solution is not working for Apps with Flavors. This solution works only for the app with one android configuration and one ios configuration |
Expected: Events can be uploaded to Google Analytics
Actual: iOS works, Android does not (even after delay, even with debug enabled, etc)
--- getting E/FA ( 5950): Missing google_app_id. Firebase Analytics disabled. See https://goo.gl/NAOOOI
The text was updated successfully, but these errors were encountered: