Issue
I have WebView in my Android app.
The Performance of URLs that are loaded in the WebView is not shown in Firebase Performance Monitoring Dashboard. I have also checked the 'Network' tab in the Performance Monitoring dashboard.
Plus, I enabled debugging for Firebase Performance and there too the Network requests were not being tracked.
So, what should I do (preferably with minimal code) to track the response times, payload size, success rates and other metrics of the network requests that happen in WebView?
Solution
Firebase Performance Monitoring only captures HTTP requests made by Java/Kotlin code compiled into your app. It doesn't track anything made by system components, such as WebView. If you want to track something manually, you can use its API, but you'll have to figure out how to collect that data yourself.
Answered By - Doug Stevenson
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.