posthog_flutter 4.7.0 copy "posthog_flutter: ^4.7.0" to clipboard
posthog_flutter: ^4.7.0 copied to clipboard

Flutter implementation of PostHog client for iOS, Android and Web

Next #

4.7.0 #

4.6.0 #

  • chore: change host to new address (#106)
  • chore: allow manual initialization of the SDK (#117)

4.5.0 #

  • add PrivacyInfo for macOS (#105)

4.4.1 #

  • fix: const defaultHost was renamed to DEFAULT_HOST and broke the Android build (#98)

4.4.0 #

  • chore: Allow overriding the route filtering using a ctor param routeFilter (#95)
bool myRouteFilter(Route<dynamic>? route) =>
        route is PageRoute || route is OverlayRoute;
final observer = PosthogObserver(routeFilter: myRouteFilter);

4.3.0 #

  • add PrivacyInfo (#94)

4.2.0 #

  • add flush method (#92)

4.1.0 #

  • add unregister method (#86)

4.0.1 #

  • Fix passing optional values to the JS SDK (#84)

4.0.0 #

  • Android minSdkVersion 21
  • iOS min version 13.0
  • Flutter min version 3.3.0
  • Upgraded PostHog Android SDK to v3
  • Upgraded PostHog iOS SDK to v3
  • Upgraded PostHog JS SDK to the latest version
  • PostHog Flutter Plugins are written in Kotlin and Swift
  • Added missing features such as feature flags payloads, debug, and more

4.0.0-RC.2 #

4.0.0-RC.1 #

4.0.0-beta.2 #

  • Flutter macOS support #76

4.0.0-beta.1 #

  • Record the root view as root ('/') instead of not recording at all #74
  • Do not mutate the given properties when calling capture #74
    • Thanks @lukepighetti for the PR!
  • Fix CAPTURE_APPLICATION_LIFECYCLE_EVENTS typo for iOS #74
  • Added iOS support for the DEBUG config #74
  • Upgrade iOS SDK that fixes missing Application Opened events #74

4.0.0-alpha.2 #

  • Internal changes only

4.0.0-alpha.1 #

  • Migrate to the new SDKs and latest tooling #70
    • Added missing features such as feature flags payloads, debug, and more

Breaking changes #

  • Android minSdkVersion 21
  • iOS min version 13.0
  • Flutter min version 3.3.0
  • Upgraded PostHog Android SDK to v3
  • Upgraded PostHog iOS SDK to v3 preview
  • Upgraded PostHog JS SDK to the latest version
  • PostHog Flutter Plugins are written in Kotlin and Swift

Acknowledgements #

Thanks @nehemiekoffi for the initial PR!

3.3.0 #

  • Migrate to Java 8 and minSdkVersion 19 #54

3.2.0 #

  • Add support to Dart v3.0.0 #52

3.1.0 #

  • Adds support for groups
  • Fixes a type issue with identify so that the userId is now always a String

3.0.5 #

  • Fixes a bug with the iOS implementation for feature flags that stopped the SDK from building

3.0.4 #

  • Adds CI/CD for deploying to pub.dev

3.0.0 #

  • Adds basic feature flags support with isFeatureEnabled and reloadFeatureFlags

2.0.3 #

2.0.2 #

  • Update to androidX for example android project
  • Fix ios example app and params
  • Fix web library, example, and docs

2.0.1 #

  • Remove generated_plugin_registrant.dart from library

2.0.0 #

  • Migrate to flutter 2

1.11.2 #

  • Bump and pin version for Android lib to 1.1.1 because of bug

1.11.1 #

  • Bump and pin version for Android lib to 1.1.0

1.11.0 #

  • Bump the version for Android lib for screen $screen_name consistency

1.10.0 #

  • We will include the last screen that you set in the capture events now. This will require users to user Posthog().capture() instead of Posthog.capture()

1.9.3 #

  • Bug fix for android identify method

1.9.2 #

  • Rename entire repo from flutter-posthog to posthog-flutter

1.9.1 #

  • Some renaming for consistency

1.9.0 #

  • PostHog client library for Flutter is released!