Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add api: setFlushBatchSize #122

Merged
merged 4 commits into from
Nov 17, 2023
Merged

add api: setFlushBatchSize #122

merged 4 commits into from
Nov 17, 2023

Conversation

zihejia
Copy link
Contributor

@zihejia zihejia commented Nov 16, 2023

  • add a new api: setFlushBatchSize
  /// 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'

@zihejia zihejia force-pushed the zihe-add-flush-batch-size branch from 9b8d578 to e11e0ff Compare November 17, 2023 06:12
@zihejia zihejia added the enhancement New feature or request label Nov 17, 2023
Copy link
Collaborator

@jaredmixpanel jaredmixpanel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice. LGTM.

@zihejia zihejia merged commit f9d3301 into main Nov 17, 2023
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants