-
Notifications
You must be signed in to change notification settings - Fork 60
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
Empty page in Android webView session replay #2355
Comments
hi @BaHungSkedulo, have you followed the steps in this guide for instrumenting the webview? Does this issue occur with the latest sdk version? |
I haven't implemented the instrument for the webview yet, let me try and provide feedback as soon as possible. |
Hi @jonathanmos after trying to follow your guide, I still faced the same issue: nothing changed, and the page remains empty, I believe my situation might be different. We load source data, save it in a local HTML file, and then display it in a webView, I'm using version 2.14.0, Do you think it still captures the content of the webview in this scenario? |
hi @BaHungSkedulo, webviews can only be captured if the web app that is being accessed in the webview is also instrumented with the browser sdk. Is this the case here? |
hi @jonathanmos I'm sorry, but I don't fully understand your question. We use WebView to display content. I have reviewed the example data for Dog and verified the code in the WebViewRecordFragment class, as we have already established it. The key difference is that we display a locally stored HTML file. As far as I know, session replay cannot capture content from the webview since it's stored locally, right? |
One of the requirements to capture the webview is that the content of the webview must be instrumented with the browser sdk - in other words that the browser sdk is running inside the view at the time that you are recording it with session replay. This may be possible with a local html file if you can reference the js content. |
Thank you for taking the time and effort to address my concerns, I genuinely appreciate it. |
Question
Hello DataDog Team,
The current webView session replay shows only an empty page with no user interactions. How can I make it function like in native mobile?
The text was updated successfully, but these errors were encountered: