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

Introduce new event metrics and deprecate old ones - Backward compatible #138

Merged
merged 1 commit into from
Jan 12, 2024

Conversation

evan-masseau
Copy link
Contributor

Description

Added new cases for spelling corrections and add to cart.

Check List

  • Are you changing anything with the public API?
  • Have you tested this change on real device?
  • Are your changes backwards compatible with previous SDK Versions?
  • Have you added unit test coverage for your changes?
  • Have you verified that your changes are compatible with all the operating system version this SDK currently supports?

Manual Test Plan

  1. Checked with test app

Supporting Materials

This is what a deprecation warning will look like
Screenshot 2024-01-11 at 13 30 57

@evan-masseau evan-masseau requested a review from a team as a code owner January 11, 2024 18:58
@evan-masseau evan-masseau mentioned this pull request Jan 11, 2024
5 tasks
@evan-masseau evan-masseau force-pushed the event-name-fixes-non-breaking branch 2 times, most recently from e6abc22 to 2d58548 Compare January 12, 2024 16:16
Use new enums in tests, readme
Make event name's string value extension public
@@ -60,9 +60,9 @@ KlaviyoSDK().initialize(with: "YOUR_KLAVIYO_PUBLIC_API_KEY")
3. Begin tracking events anywhere within your application by calling the `create(event:)` method in the relevant location.

```swift
let event = Event(name: .StartedCheckout, properties: [
let event = Event(name: .AddedToCartMetric, properties: [
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@ndurell updated readme, thanks for the reminder

@evan-masseau evan-masseau changed the title Introduce new event metrics and deprecate old ones Introduce new event metrics and deprecate old ones - Backward compatible Jan 12, 2024
@evan-masseau evan-masseau merged commit 6553134 into master Jan 12, 2024
7 checks passed
@evan-masseau evan-masseau deleted the event-name-fixes-non-breaking branch January 12, 2024 16:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants