Skip to content

Conversation

@jamescrosswell
Copy link
Collaborator

@jamescrosswell jamescrosswell commented Oct 22, 2025

Part of #2136

TODO

Currently not seeing any replays coming through to Sentry. Need to debug the Cocoa SDK or get some logs to see what's going on 😕

From @philprime in slack:

So it seems to me that the Cocoa session tracker is not started, therefore not triggering Session Replay to start.
I can see Started new session in the logs from Maui.
We have two listeners, one for the UIApplicationDidBecomeActiveNotification and one for SentryHybridSdkDidBecomeActive.
...
they are both notifications dispatched via the NotificationCenter and our listeners are installed there. UIApplicationDidBecomeActiveNotification is a default notification sent by iOS when the app is opened and SentryHybridSdkDidBecomeActive is a manual one used by the React Native SDK because they need to delay it.
I don't know how you can dispatch that from .NET but it's a standard component of iOS since iOS 2.0+ so I would expect some way to be there.

@github-actions
Copy link
Contributor

github-actions bot commented Oct 22, 2025

Fails
🚫 Please consider adding a changelog entry for the next release.

Instructions and example for changelog

Please add an entry to CHANGELOG.md to the "Unreleased" section. Make sure the entry includes this PR's number.

Example:

## Unreleased

### Features

- Session Replay for iOS ([#4664](https://github.com/getsentry/sentry-dotnet/pull/4664))

If none of the above apply, you can opt out of this check by adding #skip-changelog to the PR description or adding a skip-changelog label.

Generated by 🚫 dangerJS against 2b38e74

@jamescrosswell jamescrosswell changed the title Ios replay Session Replay for iOS Oct 22, 2025
@codecov
Copy link

codecov bot commented Oct 22, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
⚠️ Please upload report for BASE (version6@c693a7e). Learn more about missing BASE report.

Additional details and impacted files
@@             Coverage Diff             @@
##             version6    #4664   +/-   ##
===========================================
  Coverage            ?   72.55%           
===========================================
  Files               ?      465           
  Lines               ?    16956           
  Branches            ?     3336           
===========================================
  Hits                ?    12302           
  Misses              ?     3808           
  Partials            ?      846           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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.

1 participant