Usually auto instrumentation would take care for you so you don’t need to call instrumentWebView. This call also only adds the JavaScript interface. Still you need to use the Hybrid Monitoring configuration flag. Did you do that? Additionally one thing that you are probably missing is setting the configuration for domains. The Android agent doesn’t know that your VM is on 192.168.0.102, so you need to configure this domain in order for the cookies to be set there.
Thanks Matthias for the answer but i could not find the result that i wanted., yet :nerd_face:
Let me explain better what i want to do.
I have a web page that will be access by web view in mobile and browser.
I would like to map the mobile session to the web session.
But this not always happen.
Having this in consideration i still need to have the Hybrid Monitoring configuration flag?
The DynatraceConfigurationBuilder is not needed as you are doing auto instrumentation through the build.gradle configuration anyways. Also the instrumentWebview is usually not needed, but not 100% sure because you are excluding the MinimalActivity.