firebase_analytics 9.3.0 icon indicating copy to clipboard operation
firebase_analytics: ^9.3.0 copied to clipboard

Flutter plugin for Google Analytics for Firebase, an app measurement solution that provides insight on app usage and user engagement on Android and iOS.

9.3.0 #

  • FEAT: retrieves appInstanceId property on native platforms if available (#8689). (7132d771)

9.2.1 #

  • FIX: allow null values for setDefaultEventParameters() which removes defaults. Permissible on android and iOS. (#9135). (dff46a3f)

9.2.0 #

  • FEAT: upgrade to support v9.8.1 Firebase JS SDK (#8235). (4b417af5)

9.1.12 #

  • FIX: bump firebase_core_platform_interface version to fix previous release. (bea70ea5)

9.1.11 #

  • Update a dependency to the latest release.

9.1.10 #

  • REFACTOR: remove deprecated Tasks.call for android and replace with TaskCompletionSource. (#8583). (94310ab3)
  • REFACTOR: use firebase.google.com link for homepage in pubspec.yaml (#8726). (ab2cdfcd)
  • REFACTOR: use "firebase" instead of "FirebaseExtended" as organisation in all links for this repository (#8791). (d90b8357)
  • DOCS: point to "firebase.google" domain for hyperlinks in the usage section of README.md files (for the missing packages) (#8818). (5bda8c92)

9.1.9 #

  • Update a dependency to the latest release.

9.1.8 #

  • Update a dependency to the latest release.

9.1.7 #

  • Update a dependency to the latest release.

9.1.6 #

  • REFACTOR: Update deployment target to 10.0 for Firebase Analytics podspec. (#8371). (fe709da9)

9.1.5 #

  • Update a dependency to the latest release.

9.1.4 #

  • FIX: Send default parameters for iOS when using setDefaultEventParameters() API. (#8402). (7d3e5ba6)

9.1.3 #

  • Update a dependency to the latest release.

9.1.2 #

  • FIX: update all Dart SDK version constraints to Dart >= 2.16.0 (#8184). (df4a5bab)

9.1.1 #

  • DOCS: code comment typo - logAdImpression mentions wrong event (#8180). (960a75a7)

9.1.0 #

  • FEAT: Improve FirebaseAnalyticsObserver so that it also fires events when the modal route changes. (#7711). (f3bb2055)

9.0.5 #

  • FIX: bump Android compileSdkVersion to 31 (#7726). (a9562bac)
  • FIX: user id and user properties can be null so NSNull should be converted to nil on iOS/macOS (#7810). (f588cf38)
  • FIX: setUserProperty should now accept null as a valid value on Android (#7735). (c2237acb)
  • DOCS: example app initialization and docs support status (#7745). (ac21f485)

9.0.4 #

  • REFACTOR: fix all unnecessary_import analyzer issues introduced with Flutter 2.8. (7f0e82c9)

9.0.3 #

  • FIX: ensure setDefaultEventParameters() API throws stating not supported on web. (#7522). (9a83f121)
  • FIX: reinstate Analytics screen navigation observer. (#7529). (caf2986e)
  • FIX: userId can be null (#7545). (0d3b523c)

9.0.2 #

  • Update a dependency to the latest release.

9.0.1 #

  • FIX: use jsify() with event parameters for logEvent() so they are sent (#7509).

9.0.0 #

Note: This release has breaking changes.

As part of our on-going work for #6769 this is our Firebase Analytics rework changes.

Overall, Firebase Analytics has been heavily reworked to bring it inline with the federated plugin setup along with adding new features, documentation and updating unit and end-to-end tests.

  • DEPRECATED: FirebaseAnalytics.android namespace has been deprecated in favour of calling setSessionTimeoutDuration() directly: FirebaseAnalytics.instance.setSessionTimeoutDuration(const Duration(milliseconds: 2000)).

  • DEPRECATED: logEcommercePurchase() has been deprecated in favour of using logPurchase().

  • DEPRECATED: logPresentOffer() has been deprecated in favour of using logViewPromotion().

  • DEPRECATED: logPurchaseRefund() has been deprecated in favour of using logRefund().

  • DEPRECATED: logSetCheckoutOption() has been deprecated.

  • BREAKING FEAT: update Android minSdk version to 19 as this is required by Firebase Android SDK 29.0.0 (#7298).

  • BREAKING: FirebaseAnalyticsObserver() class has been removed.

  • BREAKING: Constructing a FirebaseAnalytics instance is now deprecated, use FirebaseAnalytics.instanceFor (web only) or FirebaseAnalytics.instance instead.

  • BREAKING: logAddPaymentInfo() updated parameters to be logged in Analytics console.

  • BREAKING: logAddToCart() updated parameters to be logged in Analytics console.

  • BREAKING: logAddToWishlist() updated parameters to be logged in Analytics console.

  • BREAKING: logBeginCheckout() updated parameters to be logged in Analytics console.

  • BREAKING: logRemoveFromCart() updated parameters to be logged in Analytics console.

  • BREAKING: logViewItem() updated parameters to be logged in Analytics console.

  • BREAKING: logViewItemList() updated parameters to be logged in Analytics console.

  • NEW: logAddShippingInfo() added support for logging shipping information.

  • NEW: logAdImpression() added support for logging ad impression.

  • NEW: logPurchase() added support for logging a purchase.

  • NEW: logRefund() added support for logging a refund.

  • NEW: logScreenView() added support for logging a screen view.

  • NEW: logSelectItem() added support for logging a item that has been selected.

  • NEW: logSelectPromotion() added support for logging a promotion that has been selected.

  • NEW: logViewCart() added support for logging a view of the current cart.

  • NEW: logViewPromotion() added support for logging a view of the current promotion.

  • NEW: setConsent() added support for setting the applicable end user consent state (e.g., for device identifiers) for the app on this device.

  • NEW: setDefaultEventParameters() added support for setting default parameters that will be set on every event logged from the SDK, including automatic ones.

8.3.4 #

  • REFACTOR: remove deprecated Flutter Android v1 Embedding usages, including in example app (#7158).

8.3.3 #

  • DOCS: boolean parameters are not supported for GA custom definitions. (#7037).
  • CHORE: update gradle for analytics example app (#7053).

8.3.2 #

  • FIX: Fix incorrect type name in error message (#6917).

8.3.1 #

  • Update a dependency to the latest release.

8.3.0 #

  • STYLE: enable additional lint rules (#6832).
  • FIX: Use angle bracket import consistently when importing Firebase.h for iOS (#5891).
  • FEAT: lower iOS & macOS deployment targets for relevant plugins (#6757).

8.2.0 #

  • FEAT: firebase_analytics plugin with AnalyticsWithoutAdIdSupport pod (#6046).
  • CHORE: update v2 embedding support (#6506).
  • CHORE: rm deprecated jcenter repository (#6431).

8.1.2 #

  • Update a dependency to the latest release.

8.1.1 #

  • Update a dependency to the latest release.

8.1.0 #

  • FEAT: upgrade Firebase JS SDK version to 8.6.1.
  • REFACTOR: replace deprecated setCurrentScreen internal method usage with new logEvent name.
  • DOCS: migrate firebase_analytics/example to null safety (#6111).

8.0.4 #

  • Update a dependency to the latest release.

8.0.3 #

  • DOCS: remove invalid codelabs link.

8.0.2 #

  • Update a dependency to the latest release.

8.0.1 #

  • FIX: null values for events (#5563).
  • CHORE: update Web plugins to use Firebase JS SDK version 8.4.1 (#4464).

8.0.0 #

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

8.0.0-dev.2 #

  • FIX: support complex data structures like list and map on Android (#4394).

8.0.0-dev.1 #

  • FIX: remove screen_view from reservedEventNames (#4251).
  • CHORE: add repository urls to pubspecs (#5542).

8.0.0-dev.0 #

Note: This release has breaking changes.

  • DOCS: remove incorrect ARCHS in ios examples (#5450).
  • CHORE: bump min Dart SDK constraint to 2.12.0 (#5430).
  • CHORE: publish packages (#5429).
  • CHORE: publish packages.
  • BREAKING FEAT: Migrate firebase_analytics to sound null safety (#5341).

7.1.1 #

  • Update a dependency to the latest release.

7.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.

7.0.0 #

  • BREAKING FEAT: forward port to firebase-ios-sdk v7.3.0.
    • Due to this SDK upgrade, iOS 10 is now the minimum supported version by FlutterFire. Please update your build target version.
  • FIX: Add missing sdk version constraints inside pubspec.yaml (#4604).

6.3.0 #

  • TEST: Explicitly opt-out from null safety.
  • FEAT: bump android com.android.tools.build & 'com.google.gms:google-services versions (#4269).
  • CHORE: publish packages.
  • CHORE: bump gradle wrapper to 5.6.4 (#4158).

6.2.0 #

  • FEAT: bump compileSdkVersion to 29 (#3975).
  • FEAT: bump compileSdkVersion to 29 in preparation for upcoming Play Store requirement.
  • CHORE: publish packages.
  • CHORE: publish packages.

6.1.0 #

  • FEAT: bump compileSdkVersion to 29 (#3975).
  • FEAT: update Firebase iOS SDK version to 6.33.0 (from 6.26.0).

6.0.2 #

  • FIX: remove unused dart:async import (#3611).

6.0.1 #

  • FIX: local dependencies in example apps (#3319).
  • CHORE: intellij cleanup (#3326).

6.0.0 #

  • Firebase iOS SDK versions are now locked to use the same version defined in firebase_core.
  • Firebase Android SDK versions are now using the Firebase Bill of Materials (BoM) to specify individual SDK versions. BoM version is also sourced from firebase_core.
  • Allow iOS plugin to be imported as a module.

5.0.16 #

  • Endorse firebase_analytics_web.
  • Add web support to the example app.

5.0.15 #

  • Use the platform interface.

5.0.14 #

  • Update lower bound of dart dependency to 2.0.0.

5.0.13 #

  • Fix for missing UserAgent.h compilation failures.

5.0.12 #

  • Make the pedantic dev_dependency explicit.

5.0.11 #

  • Fix overrides a deprecated API.
  • Raise minimum required Flutter SDK version to 1.12.13+hotfix.4

5.0.10 #

  • Keep a local registrar to get activity for foreground actions for v1 embedder.

5.0.9 #

  • Remove the deprecated author: field from pubspec.yaml
  • Migrate the plugin to the pubspec platforms manifest.
  • Bump the minimum Flutter version to 1.10.0.

5.0.8 #

  • Update homepage since the package moved for the platform interface migration.

5.0.7 #

  • Formatted setCurrentScreen documentation.

5.0.6 #

  • Updated README instructions for contributing for consistency with other Flutterfire plugins.

5.0.5 #

  • Remove AndroidX warning.

5.0.4 #

  • Include lifecycle dependency as a compileOnly one on Android to resolve potential version conflicts with other transitive libraries.

5.0.3 #

  • Support the v2 Android embedding.

5.0.2 #

  • Fixed setAnalyticsCollectionEnabled on iOS.

5.0.1 #

  • Update documentation to reflect new repository location.
  • Update unit tests to call TestWidgetsFlutterBinding.ensureInitialized.
  • Remove executable bit on LICENSE file.

5.0.0 #

  • Breaking change. Remove deprecated method setMinimumSessionDuration.
  • Breaking change. Removed FirebaseAnalyticsAndroid.setAnalyticsCollectionEnabled. Use FirebaseAnalytics.setAnalyticsCollectionEnabled instead.
  • Update Android gradle plugin and gradle version.
  • Remove redundant casts on Android.

4.0.2 #

  • Update google-services Android gradle plugin to 4.3.0 in documentation and examples.

4.0.1 #

  • Refactor unit tests to use setMockMethodCallHandler.

4.0.0 #

  • Added new tracking events:
    • logLevelStart
    • logLevelEnd
    • logRemoveFromCart
    • logSetCheckoutOption
  • Breaking change. Add new required parameter method to logShare event tracking.
  • Breaking change. The following event names are reserved and cannot be used:
    • ad_activeview
    • ad_click
    • ad_exposure
    • ad_impression
    • ad_query
    • adunit_exposure
    • first_visit
    • screen_view

3.0.3 #

  • Automatically use version from pubspec.yaml when reporting usage to Firebase.

3.0.2 #

  • Bump minimum Flutter version to 1.5.0.
  • Add missing template type parameter to invokeMethod calls.

3.0.1 #

  • Switch to using the FIRAnalytics version of setAnalyticsCollectionEnabled for compatibility with Firebase Analytics iOS CocoaPod version 6.0.
  • Update podspec to ensure availability of setAnalyticsCollectionEnabled.

3.0.0 #

  • Update Android dependencies to latest.

2.1.1+3 #

  • Added an initial integration test.

2.1.1+2 #

  • Fixed errors in code sample for FirebaseAnalyticsObserver.

2.1.1+1 #

  • Added hyperlinks to example app reference in README.md.

2.1.1 #

  • Added screen_view tracking of Navigator.pushReplacement

2.1.0 #

  • Add Login event support

2.0.3 #

  • Add resetAnalyticsData method

2.0.2+1 #

  • Log messages about automatic configuration of the default app are now less confusing.

2.0.2 #

  • Enable setAnalyticsCollectionEnabled support for iOS

2.0.1 #

  • Log a more detailed warning at build time about the previous AndroidX migration.

2.0.0 #

  • Breaking change. Migrate from the deprecated original Android Support Library to AndroidX. This shouldn't result in any functional changes, but it requires any Android apps using this plugin to also migrate if they're using the original support library.

    This was originally incorrectly pushed in the 1.2.0 update.

1.2.0+1 #

  • Revert the breaking 1.2.0 update. 1.2.0 was known to be breaking and should have incremented the major version number instead of the minor. This revert is in and of itself breaking for anyone that has already migrated however. Anyone who has already migrated their app to AndroidX should immediately update to 2.0.0 instead. That's the correctly versioned new push of 1.2.0.

1.2.0 #

  • BAD. This was a breaking change that was incorrectly published on a minor version upgrade, should never have happened. Reverted by 1.2.0+1.

    "Breaking change. Migrate from the deprecated original Android Support Library to AndroidX. This shouldn't result in any functional changes, but it requires any Android apps using this plugin to also migrate if they're using the original support library."

1.1.0 #

  • Allow user to handle PlatformExceptions caught by FirebaseAnalyticsObserver._sendScreenView().

1.0.6 #

  • Allow user ID to be set to null.

1.0.5 #

  • Update the METHOD Android constant used for logSignUp method.

1.0.4 #

  • Bump Android dependencies to latest.

1.0.3 #

  • Updated test and mockito dependencies to pick up Dart 2 support

1.0.2 #

  • Bump Android and Firebase dependency versions.

1.0.1 #

  • Updated Gradle tooling to match Android Studio 3.1.2.

1.0.0 #

  • Bump to released version.

0.3.3 #

  • Updated Google Play Services dependencies to version 15.0.0.

0.3.2 #

  • Updated package channel name

0.3.1 #

  • Simplified podspec for Cocoapods 1.5.0, avoiding link issues in app archives.

0.3.0 #

  • Breaking change. Set SDK constraints to match the Flutter beta release.

0.2.3 #

  • Enabled use in Swift projects.

0.2.2+1 #

  • Updated description to clarify this is 'Google Analytics for Firebase'

0.2.2 #

  • Moved to the io.flutter.plugins organization.

0.2.1 #

  • Simplified and upgraded Android project template to Android SDK 27.
  • Updated package description.

0.2.0 #

  • Breaking change. Upgraded to Gradle 4.1 and Android Studio Gradle plugin 3.0.1. Older Flutter projects need to upgrade their Gradle setup as well in order to use this version of the plugin. Instructions can be found here.
  • Relaxed GMS dependency to [11.4.0,12.0[

0.1.2 #

  • Added FLT prefix to iOS types
  • Change GMS dependency to 11.4.+

0.1.1 #

  • Change GMS dependency to 11.+

0.1.0+1 #

  • Aligned author name with rest of repo.

0.1.0 #

  • Added FirebaseAnalyticsObserver (a NavigatorObserver) to automatically log PageRoute transitions

0.0.5 #

  • Support for long parameter values on Android

0.0.4 #

  • Updated to Firebase SDK to always use latest patch version for 11.0.x builds

0.0.3 #

  • Updated to Firebase SDK Version 11.0.1

0.0.2 #

  • Bumped buildToolsVersion to 25.0.3
  • Updated README.md

0.0.1 #

  • Initial Release
767
likes
130
pub points
100%
popularity

Publisher

verified publisher iconfirebase.google.com

Flutter plugin for Google Analytics for Firebase, an app measurement solution that provides insight on app usage and user engagement on Android and iOS.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

Icon for licenses.BSD-3-Clause (LICENSE)

Dependencies

firebase_analytics_platform_interface, firebase_analytics_web, firebase_core, firebase_core_platform_interface, flutter

More

Packages that depend on firebase_analytics