I am using webview_flutter package and I want to log the users’ device info for the system Webview version for Android and WkWebView for iOS how can I get the corresponding webview version?
I am using webview_flutter package and I want to log the users’ device info for the system Webview version for Android and WkWebView for iOS how can I get the corresponding webview version?
2
Answers
This package fk_user_agent can retrieve user agent which includes info about the web view version
Did you try to get the
WkWebView
version from the user agent string by looking for the string "AppleWebKit/"?For example: