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

chore: update event tracking parameters #164

Merged
merged 4 commits into from
Nov 8, 2024

Conversation

mrehan27
Copy link
Contributor

@mrehan27 mrehan27 commented Nov 7, 2024

closes: MBL-633

Changes

  • Revised SDK track method to use new parameter names
  • Updated native code files, tests, and sample app to reflect these changes

Code Changes

Before

CustomerIO.track(name: "Favourites Viewed");
CustomerIO.track(name: "Movie Watched", attributes: {
  "movie_name": "The Incredibles",
  "watch_time_in_minutes": 102,
});

After

CustomerIO.instance.track(name: "Favourites Viewed");
CustomerIO.instance.track(name: "Movie Watched", properties: {
  "movie_name": "The Incredibles",
  "watch_time_in_minutes": 102,
});

@mrehan27 mrehan27 requested a review from Shahroz16 November 7, 2024 10:53
@mrehan27 mrehan27 self-assigned this Nov 7, 2024
Copy link

github-actions bot commented Nov 7, 2024

Sample app builds 📱

Below you will find the list of the latest versions of the sample apps. It's recommended to always download the latest builds of the sample apps to accurately test the pull request.


  • amiapp_flutter: 164.4.0 (28850785)

@mrehan27 mrehan27 merged commit d7f3074 into feature/data-pipelines-support Nov 8, 2024
6 checks passed
@mrehan27 mrehan27 deleted the rehan/mbl-633-track-events branch November 8, 2024 06:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants