Flutter Firebase Analytics not logging events on Android and device doesn’t show up on DebugView but works fine on iOS.
Android logcat output:
05-23 10:48:05.425 V/FA-SVC ( 6166): Not stopping services. fetch, network, upload: false, true, false 05-23 10:48:05.426 V/FA-SVC ( 6166): Uploading data. size: 455 05-23 10:48:05.429 V/FA-SVC ( 6166): Logging event: origin=app,name=screen_view(_vs),params=Bundle[{ga_event_origin(_o)=app, engagement_time_msec(_et)=30, ga_previous_class(_pc)=Flutter, ga_previous_id(_pi)=7356673671393889721, ga_previous_screen(_pn)=ContestDetailsScreen, ga_screen_class(_sc)=MainActivity, ga_screen_id(_si)=7356673671393889722, ga_screen(_sn)=ContestDetailsScreen - Campanie: Invitație dublă la Neversea pentru tine}] 05-23 10:48:05.429 V/FA (18463): Screen exposed for less than 1000 ms. Event not sent. time: 883 05-23 10:48:05.434 V/FA-SVC ( 6166): Upload scheduled in approximately ms: 1800988 05-23 10:48:05.434 V/FA-SVC ( 6166): Unscheduling upload 05-23 10:48:05.437 V/FA-SVC ( 6166): Scheduling upload, millis: 1800988 05-23 10:48:05.438 V/FA-SVC ( 6166): Background event processing time, ms: 10 05-23 10:48:05.443 V/FA-SVC ( 6166): onUnbind called for intent. action: com.google.android.gms.gcm.ACTION_TASK_READY 05-23 10:48:05.443 V/FA-SVC ( 6166): Device PackageMeasurementTaskService is shutting down 05-23 10:48:05.444 W/FA-SVC ( 6166): Interrupted in onRunTask while uploading 05-23 10:48:05.462 V/FA-SVC ( 6166): Network upload failed. Will retry later. code, error: 0, java.net.ConnectException: Failed to connect to app-measurement.com/127.0.0.1:443: bsmh.run(:com.google.android.gms@[email protected] (190400-633823513):154) 05-23 10:48:05.479 V/FA-SVC ( 6166): Upload scheduled in approximately ms: 1800983