rudder_sdk_flutter 3.0.1 copy "rudder_sdk_flutter: ^3.0.1" to clipboard
rudder_sdk_flutter: ^3.0.1 copied to clipboard

The RudderStack Flutter SDK allows you to track event data from your app. It can be easily integrated into your Flutter application. After integrating this SDK, you will also send the event data to yo [...]

3.0.1 #

3.0.0 #

Note: This release has breaking changes.

  • BREAKING FEAT: web config options update to the latest (#179). (ee8c1eb7)

2.10.0 #

  • FEAT: use the sqlcipher-android library in db encryption android plugin (#174). (b0abeb1d)

2.9.2 #

  • Update a dependency to the latest release.

2.9.1 #

  • Update a dependency to the latest release.

2.9.0 #

  • FEAT: added kochava device mode support (#152). (7de30862)

2.8.0 #

  • FEAT: added support for configuring gzip compression of the payload to data plane. (31823a24)

2.7.0 #

  • FEAT: added api to get session id. (73944370)
  • FEAT: added support for user session in flutter plugin. (2ef6f8e9)

2.6.0 #

  • FEAT: added support for db encryption plugin across android, iOS, core plugin. (0ff4f304)

2.5.1 #

  • Update a dependency to the latest release.

2.5.0 #

  • FEAT: made deviceId collection configurable and de-coupled anonymousid and deviceId (#117). (28611542)

2.4.1 #

  • Update a dependency to the latest release.

2.4.0 #

  • FIX: updated dart sdk version constraints across all packages to >=2.17.6. (ca4a589a)
  • FEAT: added list of features in the core package. (d2b03993)

2.3.3 #

  • FIX: removed dependency on intl package. (e6459c0c)

2.3.2 #

  • Update a dependency to the latest release.

2.3.1 #

  • FIX: fixed flutter engine hasn't started running issue (#78). (53f9965e)

2.3.0 #

  • REFACTOR: add melos monorepo tooling, code analysis, precommit hooks (#58). (f5523f2f)
  • FIX: fixed rudder_logger un-initialized issue (#69). (118fb52b)
  • FEAT(monorepo): updated android & ios sdk version range in plugins to start from 1.8.1 & 1.8.0. (32346cc9)

1.0.0 #

  • The RudderStack Flutter SDK allows you to track event data from your app. It can be easily integrated into your Flutter application. After integrating this SDK, you will also send the event data to your preferred analytics destination/s, such as Google Analytics, Amplitude, and more.

1.0.1-beta1 #

  • Added Support for Sending Selective Integrations Object while initializing the SDK as well as at each event level
  • Changed the repository source for Android libraries from Jcenter to MavenCentral.

1.0.2 #

  • Updated Flutter SDK to support Sound Null Safety
  • Added Support for getting RudderContext Object from Native SDK's

2.0.0 #

  • Changes in Usage

    • Import has changed from

      import 'package:rudder_sdk_flutter/RudderClient.dart';
      import 'package:rudder_sdk_flutter/RudderConfig.dart';
      import 'package:rudder_sdk_flutter/RudderLogger.dart'; 
      

      has changed to

      import 'package:rudder_sdk_flutter_platform_interface/platform.dart';
      import 'package:rudder_sdk_flutter/RudderController.dart';
        
      

      Every model now is directly exported from platform.dart. RudderConfig has been revamped with properties namely

dbCountThreshold,
sleepTimeOut,
configRefreshInterval,
trackLifecycleEvents,
recordScreenViews,

moved to subclass MobileConfig

MobileConfig holds the configurations only available to mobile and can be ignored in case the sdk is only used for developing flutter web.

Similarly for configurations particular to web, a subclass WebConfig to be used.

WebConfig has the following properties.

destSDKBaseURL
useBeacon
secureCookie
loadIntegration
cookieConsentManagers
beaconFlushQueueInterval
maxBeaconItems
maxItems
maxAttempts
backoffFactor
minRetryDelay
maxRetryDelay

So the RudderConfigBuilder now has the following methods.


withDataPlaneUrl(String dataPlaneUrl)
withFlushQueueSize(int flushQueueSize)
withDebug(bool isDebug)
withLogLevel(int logLevel)
withMobileConfig(MobileConfig mobileConfig)
withWebConfig(WebConfig webConfig)
withControlPlaneUrl(String controlPlaneUrl)
withFactory(RudderIntegration factory)
withFactories(List<RudderIntegration> factories)
build()

  • Changes in API

    • screen Screen now has another parameter added “category” Defines the page(web)/screen( mobile) category.
  • Flutter web support

    • Installation For web, there’s a more step that requires user to write the script on top of index.html Refer to js sdk.

    • Unavailable APIs Not all APIs provided in the SDK are available for Web.

      • optOut (refer
        • here) GDPR is not implemented for web, hence calling this API will have no effect.
      • putDeviceToken (refer
        • here) Attaching Device Token is only available for mobile. Calling this on web platform will have no effect.
      • putAdvertisingId(refer
        • here) Setting advertising id is only available for mobile. Calling this on web platform will have no effect.
    • APIs that behave differently for web

      • Screen (refer
        • here) Screen for web platform internally calls Page with the provided parameters.
      • getRudderContext (refer
        • here) For web, this API returns the userTraits and anonymousId only

2.0.1 #

Fixed "rudder_plugin_ios" not found issue for flutter version 2.10.x

2.1.0 #

Made automatic collection of advertisingId by the Android SDK configurable using the withAutoCollectAdvertId() API

2.1.1 #

Incorporated rudder web plugin 2.1.1

2.1.2-dev.1 #

Updated all the dependent packages to dev to verify the Device Mode Implementation

2.1.2-dev.2 #

Updated the rudder_plugin_android & rudder_plugin_ios versions

2.2.0 #

Stable release after adding the support for the device mode destinations
14
likes
120
points
24.4k
downloads

Publisher

verified publisherrudderstack.com

Weekly Downloads

The RudderStack Flutter SDK allows you to track event data from your app. It can be easily integrated into your Flutter application. After integrating this SDK, you will also send the event data to your preferred analytics destination/s, such as Google Analytics, Amplitude, and more.

Repository (GitHub)
View/report issues

Documentation

Documentation
API reference

License

MIT (license)

Dependencies

flutter, rudder_plugin_android, rudder_plugin_ios, rudder_plugin_web, rudder_sdk_flutter_platform_interface

More

Packages that depend on rudder_sdk_flutter