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

recording: fix missing windowAttachCount method after minification #96

Merged
merged 3 commits into from
Feb 14, 2024

Conversation

marandaneto
Copy link
Member

@marandaneto marandaneto commented Feb 14, 2024

💡 Motivation and Context

https://posthog.com/questions/crash-1

💚 How did you test it?

📝 Checklist

  • I reviewed the submitted code.
  • I added tests to verify the changes.
  • I updated the docs if needed.
  • No breaking change or entry added to the changelog.

val GSON = "2.10.1"
val OKHTTP = "4.12.0"
val CURTAINS = "1.2.4"
val CURTAINS = "1.2.5"
Copy link
Member Author

Choose a reason for hiding this comment

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


executor.submit {
generateSnapshot(WeakReference(decorView), timestamp)
try {
Copy link
Member Author

Choose a reason for hiding this comment

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

Added a few try/catch to be more defensive and degrade gracefully

@marandaneto marandaneto changed the title fix/missing method recording: fix missing windowAttachCount method after minification Feb 14, 2024
@marandaneto marandaneto requested a review from a team February 14, 2024 08:23
Copy link
Member

@pauldambra pauldambra left a comment

Choose a reason for hiding this comment

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

👍

@marandaneto marandaneto merged commit f354186 into main Feb 14, 2024
5 checks passed
@marandaneto marandaneto deleted the fix/missing-method branch February 14, 2024 09:38
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