Skip to content

Release 2.2.0

Compare
Choose a tag to compare
@zihejia zihejia released this 17 Nov 22:37
· 58 commits to main since this release

v2.2.0 (2023-11-17)

Enhancements

  • add api: setFlushBatchSize #102
  /// Set the number of events sent in a single network request to the Mixpanel server.
  /// By configuring this value, you can optimize network usage and manage the frequency of communication between the client
  /// and the server. The maximum size is 50; any value over 50 will default to 50.
  /// * [flushBatchSize] an int representing the number of events sent in a single network request.
  void setFlushBatchSize(int flushBatchSize) {
    _channel.invokeMethod<void>('setFlushBatchSize',
        <String, dynamic>{'flushBatchSize': flushBatchSize});
  }
  • bump iOS to 4.2.0