# firebase_analytics_platform_interface 6.0.8

A common platform interface for the firebase_analytics plugin.




## Installing
```
export PUB_HOSTED_URL=https://pub.mirror.p-hatan.com
flutter pub add 'firebase_analytics_platform_interface:6.0.8'
```
Published: 2026-10-15T12:51:05.578607Z
Expected archive SHA-256: 72e22e2b9dcae47a236ac41e67086e202e2269cb854e28f3e63c956255d789da

Available in cache; verification: upstream_checksum
## Direct dependencies
- _flutterfire_internals: ^1.3.77
- firebase_core: ^5.0.0
- flutter: map[sdk:flutter]
- meta: ^1.8.0
- plugin_platform_interface: ^2.1.3

## Package README (untrusted upstream documentation)
# firebase_analytics_platform_interface

A common platform interface for the [`firebase_analytics`][1] plugin.

This interface allows platform-specific implementations of the
`firebase_analytics` plugin, as well as the plugin itself, to ensure they are
supporting the same interface.

# Usage

To implement a new platform-specific implementation of `firebase_analytics`,
extend [`FirebaseAnalyticsPlatform`][2] with an implementation that performs the
platform-specific behavior, and when you register your plugin, set the default
`FirebaseAnalyticsPlatform` by calling
`FirebaseAnalyticsPlatform.instance = MyFirebaseAnalytics()`.

# Note on breaking changes

Strongly prefer non-breaking changes (such as adding a method to the interface)
over breaking changes for this package.

See https://flutter.dev/go/platform-interface-breaking-changes for a discussion
on why a less-clean interface is preferable to a breaking change.

[1]: ../firebase_analytics
[2]: lib/firebase_analytics_platform_interface.dart

## Changelog
## 6.0.8

 - Update a dependency to the latest release.

## 6.0.7

 - **FIX**(ci): align Android toolchain and analyzer with Flutter 3.47 ([#18566](https://github.com/firebase/flutterfire/issues/18566)). ([87ace849](https://github.com/firebase/flutterfire/commit/87ace8496fec75c461f3b29a9b8a85d46e286957))

## 6.0.6

 - Update a dependency to the latest release.

## 6.0.5

 - Update a dependency to the latest release.

## 6.0.4

 - Update a dependency to the latest release.

## 6.0.3

 - Update a dependency to the latest release.

## 6.0.2

 - Update a dependency to the latest release.

## 6.0.1

 - Update a dependency to the latest release.

## 6.0.0

 - Bump platform interface a major version due to pigeon dependency update

 - **REFACTOR**: move all packages to workspace ([#18182](https://github.com/firebase/flutterfire/issues/18182)). ([6cdfcb10](https://github.com/firebase/flutterfire/commit/6cdfcb103da7be46ccb190d7e107d8c537aa1ff8))
 - **FEAT**: upgrade pigeon to version 26.3.4 ([#18205](https://github.com/firebase/flutterfire/issues/18205)). ([cb6b4aef](https://github.com/firebase/flutterfire/commit/cb6b4aeffc568755ea3eebe32b998f00237bf5ad))

## 5.1.1

 - Update a dependency to the latest release.

## 5.1.0

 - **FEAT**(analytics,iOS): add support for `logTransaction` ([#17995](https://github.com/firebase/flutterfire/issues/17995)). ([103d7ffa](https://github.com/firebase/flutterfire/commit/103d7ffa9343c654ec23c782a802b929dbf37d01))

## 5.0.7

 - Update a dependency to the latest release.

## 5.0.6

 - Update a dependency to the latest release.

## 5.0.5

 - Update a dependency to the latest release.

## 5.0.4

 - Update a dependency to the latest release.

## 5.0.3

 - Update a dependency to the latest release.

## 5.0.2

 - Update a dependency to the latest release.

## 5.0.1

 - Update a dependency to the latest release.

## 5.0.0

> Note: This release has breaking changes.

 - **BREAKING** **FEAT**(analytics): remove deprecated methods for breaking change release ([#17560](https://github.com/firebase/flutterfire/issues/17560)). ([ea3034d8](https://github.com/firebase/flutterfire/commit/ea3034d88215d0b99dda9079fd9134afb5fee496))

## 4.4.3

 - Update a dependency to the latest release.

## 4.4.2

 - Update a dependency to the latest release.

## 4.4.1

 - Update a dependency to the latest release.

## 4.4.0

 - **FEAT**(analytics): add Pigeon support for firebase_analytics ([#17403](https://github.com/firebase/flutterfire/issues/17403)). ([57c09139](https://github.com/firebase/flutterfire/commit/57c091395d86a3a40c6520f4b5cffcd8165de4f1))

## 4.3.6

 - Update a dependency to the latest release.

## 4.3.5

 - Update a dependency to the latest release.

## 4.3.4

 - Update a dependency to the latest release.

## 4.3.3

 - Update a dependency to the latest release.

## 4.3.2

 - Update a dependency to the latest release.

## 4.3.1

 - Update a dependency to the latest release.

## 4.3.0


 - **FIX**: Remove dart:io imports for analytics, auth and app check ([#16827](https://github.com/firebase/flutterfire/issues/16827)). ([8c7f57c4](https://github.com/firebase/flutterfire/commit/8c7f57c4a181b8cae3b0d2ba564682ad7d68f484))

## 4.2.8

 - Update a dependency to the latest release.

## 4.2.7

 - Update a dependency to the latest release.

## 4.2.6

 - Update a dependency to the latest release.

## 4.2.5

 - Update a dependency to the latest release.

## 4.2.4

 - Update a dependency to the latest release.

## 4.2.3

 - Update a dependency to the latest release.

## 4.2.2

 - Update a dependency to the latest release.

## 4.2.1

 - Update a dependency to the latest release.

## 4.2.0

 - **FEAT**(analytics,web): add support for options on Web ([#12914](https://github.com/firebase/flutterfire/issues/12914)). ([dd7ce8c2](https://github.com/firebase/flutterfire/commit/dd7ce8c20c28d7bd67cee9b7542af2e38c1aa6c7))

## 4.1.0

 - **FEAT**(analytics,ios): add support for `initiateOnDeviceConversionMeasurementWithPhoneNumber` and `initiateOnDeviceConversionMeasurementWithHashedEmailAddress` ([#12976](https://github.com/firebase/flutterfire/issues/12976)). ([1e25ec1e](https://github.com/firebase/flutterfire/commit/1e25ec1e55d7e9ecb79e5edb98ae9592a387d0b0))

## 4.0.1

 - Update a dependency to the latest release.

## 4.0.0

> Note: This release has breaking changes.

 - **BREAKING** **FIX**(analytics): fix typing of event parameters to `Map<String, Object>?` ([#12427](https://github.com/firebase/flutterfire/issues/12427)). ([3705ee1b](https://github.com/firebase/flutterfire/commit/3705ee1b35cd2194cca4ca1057384b04b48ccf90))

## 3.10.8

 - Update a dependency to the latest release.

## 3.10.7

 - Update a dependency to the latest release.

## 3.10.6

 - Update a dependency to the latest release.

## 3.10.5

 - Update a dependency to the latest release.

## 3.10.4

 - Update a dependency to the latest release.

## 3.10.3

 - Update a dependency to the latest release.

## 3.10.2

 - Update a dependency to the latest release.

## 3.10.1

 - Update a dependency to the latest release.

## 3.10.0

 - **FEAT**(analytics): add consent mode v2 ([#12298](https://github.com/firebase/flutterfire/issues/12298)). ([19f3dbdd](https://github.com/firebase/flutterfire/commit/19f3dbdd197c57cf95853448f9541f6cebfe810c))

## 3.9.10

 - Update a dependency to the latest release.

## 3.9.9

 - Update a dependency to the latest release.

## 3.9.8

 - Update a dependency to the latest release.

## 3.9.7

 - Update a dependency to the latest release.

## 3.9.6

 - Update a dependency to the latest release.

## 3.9.5

 - Update a dependency to the latest release.

## 3.9.4

 - Update a dependency to the latest release.

## 3.9.3

 - Update a dependency to the latest release.

## 3.9.2

 - Update a dependency to the latest release.

## 3.9.1

 - Update a dependency to the latest release.

## 3.9.0

 - **FEAT**(analytics,ios): add support for initiateOnDeviceConversionMeasurement using email address or phone number ([#11926](https://github.com/firebase/flutterfire/issues/11926)). ([9bc83f1e](https://github.com/firebase/flutterfire/commit/9bc83f1e6770d263092f6367ca3cfe46a83bb1b1))

## 3.8.4

 - Update a dependency to the latest release.

## 3.8.3

 - **FIX**(analytics): fix the toString method on AnalyticsEventItem to print out its content ([#11977](https://github.com/firebase/flutterfire/issues/11977)). ([5fe96ece](https://github.com/firebase/flutterfire/commit/5fe96ece22847e29d2007afe2f6b85b3d6ce4b94))

## 3.8.2

 - Update a dependency to the latest release.

## 3.8.1

 - Update a dependency to the latest release.

## 3.8.0

 - **FEAT**(firebase_analytics): allow custom parameters (strings and numbers) for events and event items ([#11030](https://github.com/firebase/flutterfire/issues/11030)). ([81dfec93](https://github.com/firebase/flutterfire/commit/81dfec93bcc9490f84fd1e8e3e1bc3737f5eed43))

## 3.7.6

 - Update a dependency to the latest release.

## 3.7.5

 - Update a dependency to the latest release.

## 3.7.4

 - Update a dependency to the latest release.

## 3.7.3

 - Update a dependency to the latest release.

## 3.7.2

 - Update a dependency to the latest release.

## 3.7.1

 - Update a dependency to the latest release.

## 3.7.0

 - **FEAT**(firebase_analytics): support `getSessionId` for android and apple platforms ([#11478](https://github.com/firebase/flutterfire/issues/11478)). ([13aaf03d](https://github.com/firebase/flutterfire/commit/13aaf03dc2050514cea97023fae5c27491bcac8a))

## 3.6.5

 - Update a dependency to the latest release.

## 3.6.4

 - Update a dependency to the latest release.

## 3.6.3

 - Update a dependency to the latest release.

## 3.6.2

 - Update a dependency to the latest release.

## 3.6.1

 - Update a dependency to the latest release.

## 3.6.0

 - **FEAT**: update dependency constraints to `sdk: '>=2.18.0 <4.0.0'` `flutter: '>=3.3.0'` ([#10946](https://github.com/firebase/flutterfire/issues/10946)). ([2772d10f](https://github.com/firebase/flutterfire/commit/2772d10fe510dcc28ec2d37a26b266c935699fa6))
 - **FEAT**: update libraries to be compatible with Flutter 3.10.0 ([#10944](https://github.com/firebase/flutterfire/issues/10944)). ([e1f5a5ea](https://github.com/firebase/flutterfire/commit/e1f5a5ea798c54f19d1d2f7b8f2250f8819f44b7))

## 3.5.0

 - **FEAT**: upgrade to dart 3 compatible dependencies ([#10890](https://github.com/firebase/flutterfire/issues/10890)). ([4bd7e59b](https://github.com/firebase/flutterfire/commit/4bd7e59b1f2b09a2230c49830159342dd4592041))

## 3.4.1

 - Update a dependency to the latest release.

## 3.4.0

 - **FEAT**: bump dart sdk constraint to 2.18 ([#10618](https://github.com/firebase/flutterfire/issues/10618)). ([f80948a2](https://github.com/firebase/flutterfire/commit/f80948a28b62eead358bdb900d5a0dfb97cebb33))

## 3.3.23

 - Update a dependency to the latest release.

## 3.3.22

 - Update a dependency to the latest release.

## 3.3.21

 - Update a dependency to the latest release.

## 3.3.20

 - Update a dependency to the latest release.

## 3.3.19

 - Update a dependency to the latest release.

## 3.3.18

 - **DOCS**: add more documentation for `logEvent` ([#10389](https://github.com/firebase/flutterfire/issues/10389)). ([8755d776](https://github.com/firebase/flutterfire/commit/8755d776b30ce2db71e00279438c8d3617cf3187))

## 3.3.17

 - Update a dependency to the latest release.

## 3.3.16

 - Update a dependency to the latest release.

## 3.3.15

 - Update a dependency to the latest release.

## 3.3.14

 - Update a dependency to the latest release.

## 3.3.13

 - Update a dependency to the latest release.

## 3.3.12

 - Update a dependency to the latest release.

## 3.3.11

 - **REFACTOR**: add `verify` to `QueryPlatform` and change internal `verifyToken` API to `verify` ([#9711](https://github.com/firebase/flutterfire/issues/9711)). ([c99a842f](https://github.com/firebase/flutterfire/commit/c99a842f3e3f5f10246e73f51530cc58c42b49a3))

## 3.3.10

 - Update a dependency to the latest release.

## 3.3.9

 - Update a dependency to the latest release.

## 3.3.8

 - Update a dependency to the latest release.

## 3.3.7

 - Update a dependency to the latest release.

## 3.3.6

 - Update a dependency to the latest release.

## 3.3.5

 - Update a dependency to the latest release.

## 3.3.4

 - Update a dependency to the latest release.

## 3.3.3

 - Update a dependency to the latest release.

## 3.3.2

 - Update a dependency to the latest release.

## 3.3.1

 - Update a dependency to the latest release.

## 3.3.0

 - **FEAT**: retrieves `appInstanceId` property on native platforms if available ([#8689](https://github.com/firebase/flutterfire/issues/8689)). ([7132d771](https://github.com/firebase/flutterfire/commit/7132d771ed5ada7a0433232b9f0d996ef0d61481))

## 3.2.1

 - **FIX**: allow `null` values for `setDefaultEventParameters()` which removes defaults. Permissible on android and iOS. ([#9135](https://github.com/firebase/flutterfire/issues/9135)). ([dff46a3f](https://github.com/firebase/flutterfire/commit/dff46a3f33d0b9881864f79be659b2770526677d))

## 3.2.0

 - **FEAT**: upgrade to support v9.8.1 Firebase JS SDK ([#8235](https://github.com/firebase/flutterfire/issues/8235)). ([4b417af5](https://github.com/firebase/flutterfire/commit/4b417af574bb8a32ca8e4b3ab2ff253a22be9903))

## 3.1.10

 - **FIX**: bump `firebase_core_platform_interface` version to fix previous release. ([bea70ea5](https://github.com/firebase/flutterfire/commit/bea70ea5cbbb62cbfd2a7a74ae3a07cb12b3ee5a))

## 3.1.9

 - Update a dependency to the latest release.

## 3.1.8

 - **REFACTOR**: use "firebase" instead of "FirebaseExtended" as organisation in all links for this repository (#8791). ([d90b8357](https://github.com/firebase/flutterfire/commit/d90b8357db01d65e753021358668f0b129713e6b))

## 3.1.7

 - Update a dependency to the latest release.

## 3.1.6

 - Update a dependency to the latest release.

## 3.1.5

 - Update a dependency to the latest release.

## 3.1.4

 - Update a dependency to the latest release.

## 3.1.3

 - Update a dependency to the latest release.

## 3.1.2

 - Update a dependency to the latest release.

## 3.1.1

 - **FIX**: update all Dart SDK version constraints to Dart >= 2.16.0 (#8184). ([df4a5bab](https://github.com/firebase/flutterfire/commit/df4a5bab3c029399b4f257a5dd658d302efe3908))

## 3.1.0

 - **FEAT**: refactor error handling to preserve stack traces on platform exceptions (#8156). ([6ac77d99](https://github.com/firebase/flutterfire/commit/6ac77d99042de2a1950f89b35972e3ee1116dc9f))

## 3.0.5

 - Update a dependency to the latest release.

## 3.0.4

 - Update a dependency to the latest release.

## 3.0.3

 - **REFACTOR**: fix all `unnecessary_import` analyzer issues introduced with Flutter 2.8. ([7f0e82c9](https://github.com/firebase/flutterfire/commit/7f0e82c978a3f5a707dd95c7e9136a3e106ff75e))

## 3.0.2

 - Update a dependency to the latest release.

## 3.0.1

 - Update a dependency to the latest release.

## 3.0.0

 - Graduate package to a stable release. See pre-releases prior to this version for changelog entries.

## 3.0.0-dev.5

 - Update a dependency to the latest release.

## 3.0.0-dev.4

 - Update a dependency to the latest release.

## 3.0.0-dev.3

 - **FEAT**: add macOS support (#7313).

## 3.0.0-dev.2

 - Update a dependency to the latest release.

## 3.0.0-dev.1

 - Update a dependency to the latest release.

## 3.0.0-dev.0

> Note: This release has breaking changes.

 - **STYLE**: enable additional lint rules (#6832).
 - **BREAKING** **REFACTOR**: update Firebase Analytics plugin to match latest Firebase APIs (#7032).
   - See `firebase_analytics` package changelog for more information.

## 2.0.1

 - **DOCS**: Add missing homepage/repository links (#6054).

## 2.0.0

 - Graduate package to a stable release. See pre-releases prior to this version for changelog entries.

## 2.0.0-dev.0

> Note: This release has breaking changes.

 - **CHORE**: enable missing lints on firebase_analytics (#5231).
 - **BREAKING** **FEAT**: Migrate firebase_analytics to sound null safety (#5341).

## 1.1.0

 - This version is not null-safe but has been created to allow compatibility with other null-safe FlutterFire packages such as `firebase_core`.

## 1.0.3

* Update lower bound of dart dependency to 2.0.0.

## 1.0.2

* Make the pedantic dev_dependency explicit.

## 1.0.1

* Remove the deprecated `author:` field from pubspec.yaml

## 1.0.0

* Initial open-source release.







 
