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 MTLTextureDescriptor has width of zero issue #149

Merged
merged 2 commits into from
Jul 25, 2024

Conversation

marandaneto
Copy link
Member

@marandaneto marandaneto commented Jul 24, 2024

💡 Motivation and Context

customer report it:

51 iosApp 0x2dd360 UIView.toImage() + 45 (UIView+Util.swift:45)
52 iosApp 0x2d7480 PostHogReplayIntegration.toScreenshotWireframe(:) + 239 (PostHogReplayIntegration.swift:239)
53 iosApp 0x2d63c8 PostHogReplayIntegration.generateSnapshot(
:_:) + 80 (PostHogReplayIntegration.swift:80)
54 iosApp 0x2d9324 PostHogReplayIntegration.snapshot() + 496 (PostHogReplayIntegration.swift:496)
55 iosApp 0x2d9550 @objc PostHogReplayIntegration.snapshot() + 4342322512 (:4342322512)

similar to mapbox/mapbox-maps-ios#1556

💚 How did you test it?

Running it but I can't reproduce the issue so I will release a version and check with the customer

📝 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.

@marandaneto marandaneto requested a review from a team July 24, 2024 18:05
@marandaneto marandaneto marked this pull request as ready for review July 24, 2024 18:05
@@ -358,7 +362,7 @@
setAlignment(textField.textAlignment, style)
}

if let picker = view as? UIPickerView {
Copy link
Member Author

Choose a reason for hiding this comment

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

just a tiny improvement

@marandaneto marandaneto merged commit ef69042 into main Jul 25, 2024
10 checks passed
@marandaneto marandaneto deleted the fix/MTLTextureDescriptor branch July 25, 2024 11:42
eakurnikov pushed a commit to trustwallet/posthog-ios that referenced this pull request Feb 6, 2025
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