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

chore: session replay #115

Merged
merged 21 commits into from
Mar 27, 2024
Merged

chore: session replay #115

merged 21 commits into from
Mar 27, 2024

Conversation

marandaneto
Copy link
Member

@marandaneto marandaneto commented Mar 11, 2024

💡 Motivation and Context

iOS session recording - very first alpha version, probably rough edges.

  • Wireframe approach
  • Includes mouse clicks
  • Network telemetry (no headers and payloads yet)
  • No console logs, it's not possible to monkey patch, we'd need a logger wrapper.

💚 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 pauldambra March 25, 2024 16:05
completion(beers)
}
URLSession.shared.dataTask(with: url) { _, _, _ in
// let beers = try! JSONDecoder().decode([PostHogBeerInfo].self, from: data!)
Copy link
Member Author

Choose a reason for hiding this comment

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

the beer api changed, will fix in another pr, not using for this PR anyway since this example has swiftui

@marandaneto marandaneto marked this pull request as ready for review March 27, 2024 12: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 e24943d into main Mar 27, 2024
6 checks passed
@marandaneto marandaneto deleted the chore/session-replay branch March 27, 2024 12:55
@wfk007
Copy link

wfk007 commented Apr 19, 2024

Honestly, I am not familiar with Swift. Is the solution to take a full snapshot every 0.5 seconds to achieve the effect of session replay?

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.

3 participants