Skip to content

chore: Remove unused key from customer center event#4837

Merged
facumenzella merged 5 commits into
mainfrom
cc-373-ios-delete-key-from-event
Mar 11, 2025
Merged

chore: Remove unused key from customer center event#4837
facumenzella merged 5 commits into
mainfrom
cc-373-ios-delete-key-from-event

Conversation

@facumenzella

Copy link
Copy Markdown
Member

Motivation

We've realized this key is ignored, so better to remove it than to have it there for nothing.

Description

As opposed to the Android implementation, the StoredEvent already stores the encoded event. This makes backwards compatibility so much easier, because once it's stored you can forget about future problems. Editing events is harmless.

There are also integration tests in place, so it's safe to say that this is harmless as well 🚀

@ajpallares ajpallares left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

👍 just a couple comments

Comment thread Sources/CustomerCenter/Events/CustomerCenterEvent.swift Outdated
Co-authored-by: Antonio Pallares <ajpallares@users.noreply.github.com>
@facumenzella

Copy link
Copy Markdown
Member Author

@RCGitBot please test

1 similar comment
@facumenzella

Copy link
Copy Markdown
Member Author

@RCGitBot please test

@facumenzella facumenzella merged commit a54329a into main Mar 11, 2025
@facumenzella facumenzella deleted the cc-373-ios-delete-key-from-event branch March 11, 2025 15:05
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.

2 participants