{"id":13549308,"url":"https://github.com/segmentio/analytics_flutter","last_synced_at":"2025-08-07T10:09:42.430Z","repository":{"id":168297707,"uuid":"401508305","full_name":"segmentio/analytics_flutter","owner":"segmentio","description":"The hassle-free way to add Segment analytics to your Flutter app.","archived":false,"fork":false,"pushed_at":"2025-01-17T17:07:37.000Z","size":577,"stargazers_count":29,"open_issues_count":18,"forks_count":46,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-03-25T05:35:20.013Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Dart","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/segmentio.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-08-30T22:58:50.000Z","updated_at":"2025-02-26T16:21:30.000Z","dependencies_parsed_at":"2024-03-16T20:26:33.599Z","dependency_job_id":"56281022-8518-47ff-8e57-d536d3ed6f6f","html_url":"https://github.com/segmentio/analytics_flutter","commit_stats":null,"previous_names":["segmentio/analytics_flutter"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/segmentio%2Fanalytics_flutter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/segmentio%2Fanalytics_flutter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/segmentio%2Fanalytics_flutter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/segmentio%2Fanalytics_flutter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/segmentio","download_url":"https://codeload.github.com/segmentio/analytics_flutter/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246905157,"owners_count":20852812,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-01T12:01:20.467Z","updated_at":"2025-08-07T10:09:42.424Z","avatar_url":"https://github.com/segmentio.png","language":"Dart","funding_links":[],"categories":["Dart"],"sub_categories":[],"readme":"# @segment/analytics-flutter\n\n\u003e **Warning**\n\u003e This project is currently only available in Beta phase and is covered by Segment's First Access \u0026 Beta Preview Terms. We encourage you to try out this new library. Please provide feedback via Github issues/PRs, and feel free to submit pull requests.\n\nThe hassle-free way to add Segment analytics to your Flutter[^1] app.\n\nThis is a monorepo containing all Segment packages\n\n## Core (`segment_analytics`)\n\nThe main [segment_analytics](http://pub.dev/packages/segment_analytics) package.\n\n[Pub.dev](http://pub.dev/packages/segment_analytics)\n\n[Docs](packages/core#readme)\n\n## Plugins\n\n### Adjust (`segment_analytics_plugin_adjust`)\n\n[Pub.dev](http://pub.dev/packages/segment_analytics_plugin_adjust)\n\n[Docs](packages/plugins/plugin_adjust#readme)\n\n### AdvertisingID (`segment_analytics_plugin_advertising_id`)\n\n[Pub.dev](http://pub.dev/packages/segment_analytics_plugin_advertising_id)\n\n[Docs](packages/plugins/plugin_advertising_id#readme)\n\n### AppsFlyer (`segment_analytics_plugin_appsflyer`)\n\n[Pub.dev](http://pub.dev/packages/segment_analytics_plugin_appsflyer)\n\n[Docs](packages/plugins/plugin_appsflyer#readme)\n\n### Firebase (`segment_analytics_plugin_firebase`)\n\n[Pub.dev](http://pub.dev/packages/segment_analytics_plugin_firebase)\n\n[Docs](packages/plugins/plugin_firebase#readme)\n\n### IDFA (`segment_analytics_plugin_idfa`)\n\n[Pub.dev](http://pub.dev/packages/segment_analytics_plugin_idfa)\n\n[Docs](packages/plugins/plugin_idfa#readme)\n\n## Platform Support\n\nSupports the following platforms:\n\n- Android\n- iOS\n- MacOS\n- Web\n\nSome destination plugins might not support all platform functionality. Refer to their own Platform SDKs for more details.\n\n## Example App\n\nSee the [example app](./example/README.md) to check a full test app of how to integrate Analytics-Flutter into your own Flutter app.\n\n## Release Notes\n\n### Version 1.1.7\n\n1. **Release Date** - 21\u003csup\u003est\u003c/sup\u003e May 2025.\n\n2. **Fixes Github Issue [#144](https://github.com/segmentio/analytics_flutter/issues/144)** - Up to version 1.1.6, the `setFlushPolicies` method inadvertently overwrote the `Configuration.collectDeviceId`property. This issue has been resolved in version 1.1.7.\n\n3. **Fixes Github Issue [#147](https://github.com/segmentio/analytics_flutter/issues/147)** - The `compileSdkVersion` in the `build.gradle` file has been updated from 31 to 35. Previously, this caused the following error:  \n`Android build error \"Only safe (?.) or non-null asserted (!!.) calls are allowed on a nullable receiver of type 'android.content.pm.ApplicationInfo?\"` . This update resolves the issue with `compileSdkVersion 35`.\n\n4. **Fixes Github Issue [#138](https://github.com/segmentio/analytics_flutter/issues/138)** - Prior to version 1.1.7, the version field returned the browser's version string instead of the app version from `pubspec.yaml`. Since `pubspec.yaml` is a build-time configuration file and not accessible at runtime (especially in browser environments), this was expected behavior.  \nAs of version 1.1.7, if the following tag is added to `\u003cproject-root\u003e/web/index.html`: `\u003cmeta name=\"app-version\" content=\"1.2.3\"\u003e`\nthe app will return the value in the `content` attribute. \n**Note:** This value should be manually synchronized with the version in `pubspec.yaml`.\n\n5. **Fixes Github Issue [#152](https://github.com/segmentio/analytics_flutter/issues/152) and [#98](https://github.com/segmentio/analytics_flutter/issues/98)** - Until version 1.1.6, the `integrations: {}` field was missing in the data payload sent to the Segment server. This has been addressed in version 1.1.7.\n\n6. **Fixes Github Issue [#157](https://github.com/segmentio/analytics_flutter/issues/157)** - Resolves the `Concurrent modification during iteration: Instance(length: 6) of '_GrowableList'` error that occurred when multiple plugins were added simultaneously.\n\n## Contributing\n\nSee the [contributing guide](CONTRIBUTING.md) to learn how to contribute to the repository and the development workflow.\n\n## Code of Conduct\n\nBefore contributing, please also see our [code of conduct](CODE_OF_CONDUCT.md).\n\n## License\n\nMIT\n\n[^1]: The Flutter name and logo are trademarks owned by Google.\n\n[circleci-image]: TODO\n[circleci-url]: https://app.circleci.com/pipelines/github/segmentio/analytics-flutter\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsegmentio%2Fanalytics_flutter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsegmentio%2Fanalytics_flutter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsegmentio%2Fanalytics_flutter/lists"}