Closed TomFluentjoy closed 1 month ago
Hi @TomFluentjoy - A couple of things to check in your configuration:
AmplitudeiOSSessionReplayMiddleware
will inherit the optOut
setting from the Amplitude
instance, so we would not expect replays to be captured in this scenario. However, this would also prevent the plugin from attaching the session replay id to the event, so this is a bit unexpected.sampleRate
is configured to 1%, which is quite low for testing - I would raise it to 1.0 to guarantee that a session is recorded. We would still attach the session replay id in this case, which may be why you are seeing invalid sessions. We have a fix for this that will be released in an upcoming version.If you're still having issues, is there any log output from the session replay instance?
thanks for the fast response @crleona.
sampleRate
: I have changed from 0.01 as the document suggestion to 1.0 but seems to be not working. optOut
already uses the default with both true
and false
also but still does not work. sessionID
: 7F3A1A22-25B1-4AAB-BAF2-F9A605190497/1727408145842
We are using the latest maintenance Amplitude framework 8.21.0.
About this one: How could I get that? we already added the log with for amplitude tracker but seem to be nothing broken with session replay.
Hi @TomFluentjoy - we've released v0.0.7, which hopefully resolves some of these issues. Please let us know if this persists after you update!
Hi @crleona cr regarding to the documentation for setting up the amplitude middleware by using cocoapods and we are using this setup: `
`
But seems like the session replay version is still keeping the version at 0.0.2. Here are the logs: `
`
Therefore I would like to ask about the setup to pointing the release version 0.0.7
Hi @crleona
I have updated the Amplitude to 8.22.0
and right now we can see the session replay on our amplitude dashboard.
But we also wanted to update the session replay SDK from 0.0.2 to 0.0.7.
Please reach out if you need more information from our side.
Thanks.
Hi @TomFluentjoy - it looks like we've missed some of the version updates for cocoapods, and cross-pod dependencies still seem to have issues. We'll take a look at the latter, but for now, running pod update
on your current configuration should update to v0.0.8.
Thanks @crleona.
Expected Behavior
We were expecting that we could play the session replay in the amplitude Our organization is using the Plus plan.
Current Behavior
We can not see any replay on the amplitude with an error like that.
Session Unavailable Try refreshing this page in a few minutes. This session may be unavailable due to:
Viewing this session before it is processed (~1 min) Instrumentation issues such as incorrect device ID, API key, or project (check what’s instrumented vs. the message above) Limited user activity where events are not processed (e.g. page bounces) Retention time frame for sessions has passed Session replay isn’t instrumented on all pages that the user may be viewing
To debug instrumentation issues, view the ingestion dashboard.
Possible Solution
Steps to Reproduce
We are using maintenance iOS SDK and here is the setup in cocoa pods:
The app is setting up like this:
Environment