Skip to content

fix: recording for flutter does not capture screenshots on both sides#208

Merged
marandaneto merged 3 commits intomainfrom
fix/flutter-replay
Nov 26, 2024
Merged

fix: recording for flutter does not capture screenshots on both sides#208
marandaneto merged 3 commits intomainfrom
fix/flutter-replay

Conversation

@marandaneto
Copy link
Member

@marandaneto marandaneto commented Nov 26, 2024

💡 Motivation and Context

flutter already captures screenshots, we dont want to do it twice, we still need the replay integration
#skip-changelog

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

@marandaneto marandaneto requested a review from a team November 26, 2024 15:33
Copy link
Collaborator

@ioannisj ioannisj left a comment

Choose a reason for hiding this comment

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

Minor questions but LGTM


// flutter captures snapshots, so we don't need to capture them here
private val isNativeSdk: Boolean
get() = (config.sdkName != "posthog-flutter")
Copy link
Collaborator

Choose a reason for hiding this comment

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

I imagine this is a computed property by design?

Copy link
Member Author

Choose a reason for hiding this comment

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

Copy link
Member Author

Choose a reason for hiding this comment

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

can be refactored but a string match should not be an issue for now

@marandaneto marandaneto merged commit 548aa63 into main Nov 26, 2024
@marandaneto marandaneto deleted the fix/flutter-replay branch November 26, 2024 18:51
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