analytics_flutter icon indicating copy to clipboard operation
analytics_flutter copied to clipboard

The hassle-free way to add Segment analytics to your Flutter app.

Results 47 analytics_flutter issues
Sort by recently updated
recently updated
newest added

Segment is receiving AppleWebKit version instead of the app version in flutter web. Here are 2 event contexts received, one from Flutter mobile and the other from Flutter web. Mobile:...

The `setFlushPolicies` method is overwriting `Configuration.collectDeviceId` property. Since it has a default value and the method creates a new Configuration object without passing the collectDeviceId property, it overwrites it with...

e: file:///Users/xxx/.pub-cache/hosted/pub.dev/segment_analytics-1.1.3/android/src/main/kotlin/com/segment/analytics/AnalyticsPlugin.kt:146:59 Only safe (?.) or non-null asserted (!!.) calls are allowed on a nullable receiver of type 'android.content.pm.ApplicationInfo?'. Reproduce: 1. segment-analysis: 1.1.3 2. upgrade compileSdkVersion 34 to 35 3....

Concurrent modification during iteration: Instance(length:6) of '_GrowableList'. Concurrent modification during iteration: Instance(length:6) of '_GrowableList'. 0 ListIterator.moveNext dart:_internal/iterable.dart:348 1 Timeline.applyPlugins package:segment_analytics/timeline.dart:104 2 Timeline.process package:segment_analytics/timeline.dart:91 3 Analytics._process package:segment_analytics/analytics.dart:385 4 Analytics.track package:segment_analytics/analytics.dart:215

In `SegmentDestination`, ensure that only events that were sent successfully are added to the `sentEvents` list. This allows failed events to remain in the queue and be retried in the...

Moved `_queuePlugin.dequeue(sentEvents)` outside the Future.forEach loop to run once after all batches, instead of dequeuing already dequeued events per iteration.

I've added the plugin but build failes on iOS : `segment_analytics_plugin_firebase ` ` Error showing: Failed to build iOS app Error (Xcode): ../../.pub-cache/git/analytics_flutter-6dd36b60c867e7af2433cce3f5db13ae0a08f47e/packages/plugins/plugin_firebase/lib/plugin_firebase.dart:205:27: Error: The argument type 'Map' can't be...

This pull request introduces proactive size checks on `analytics-flutter-queue_flushing_plugin.json` file so the SDK avoids queuing events that would push the on-disk queue file above 512 KB. When a new event...

**Summary** This PR improves the Firebase Analytics integration by enriching both screen() and identify() tracking methods to support dynamic parameters and user traits through transformation and casting utilities. **Changes** **1....

Even after resetting and adding a different user, it still sends the old one. ``` await analytics?.reset() final userTraits = UserTraits(); userTraits.name = userProfile.userName ?? ''; userTraits.email = userProfile.email; userTraits.custom...