Skip to content

Feat: dedup screen views #194

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

Merged
merged 1 commit into from
Jul 11, 2024
Merged

Feat: dedup screen views #194

merged 1 commit into from
Jul 11, 2024

Conversation

crleona
Copy link
Collaborator

@crleona crleona commented Jul 11, 2024

Summary

Screen views will no longer fire if the topmost view controller is the same. This prevents an issue where embedded view controllers would mistakenly fire multiple events, as each would receive a call to viewDidAppear despite the top view controller being the same.

This also cleans up and improves thread safety for the UIKitScreenViews class.

Checklist

  • Does your PR title have the correct title format?
  • Does your PR have a breaking change?: no

@crleona crleona requested a review from a team July 11, 2024 20:55
Copy link
Contributor

@justin-fiedler justin-fiedler left a comment

Choose a reason for hiding this comment

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

🎉

@crleona crleona merged commit cd3d340 into main Jul 11, 2024
3 checks passed
@crleona crleona deleted the dedup-screen-views branch July 11, 2024 21:40
Copy link

🎉 This PR is included in version 1.7.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants