-
-
Notifications
You must be signed in to change notification settings - Fork 206
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
Session Replay: Recording on Android #3552
Conversation
I'd love to test this out on Symbol Collector. How about we make a it'll run on hundreds of devices. |
You mean make a release from this branch? We could definitely do that... just mark it |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM as an early alfa
#if ANDROID | ||
options.Native.ExperimentalOptions.SessionReplay.OnErrorSampleRate = 1.0; | ||
options.Native.ExperimentalOptions.SessionReplay.SessionSampleRate = 1.0; | ||
options.Native.ExperimentalOptions.SessionReplay.RedactAllImages = false; | ||
options.Native.ExperimentalOptions.SessionReplay.RedactAllText = false; | ||
#endif |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In the future, we should probably have a facade that configures options for the current platform (Android/iOS), instead of letting the user specify them multiple times.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In the future, we should probably have a facade that configures options for the current platform (Android/iOS), instead of letting the user specify them multiple times.
If the options had the same name for both iOS and Android (OnErrorSampleRate
, SessionSampleRate
etc.) then presumably SDK users could write something like this, even without any facade:
#if ANDROID || IOS
options.Native.ExperimentalOptions.SessionReplay.OnErrorSampleRate = 1.0;
options.Native.ExperimentalOptions.SessionReplay.SessionSampleRate = 1.0;
options.Native.ExperimentalOptions.SessionReplay.RedactAllImages = false;
options.Native.ExperimentalOptions.SessionReplay.RedactAllText = false;
#endif
When targeting android, options.Native
would resolve to the appropriate platform specific options at build no?
cc @bricefriha something we'd like to push through once the open issues are under control |
would love to try this too on Symbol Collector. cc @jamescrosswell |
Is there anything blocking that? Can't we just make a pre-release from this branch? Or is it more about having someone integrated it into the Symbol Collector? |
Other than CI being red, nothing blocking this |
woo it's green! THanks @jamescrosswell can we merge this in? (it's an experimental feature so not too worried about lack of docs for example) |
Recording and redaction works fine on MAUI because it's all native under the hood.
To complete this we need to get breadcrumbs from C#, trace/replay id to the C# layer and other features.
References
Relates to: