The mobile application uses webview. What needs to be added to the user-agent in order to distinguish on the site whether the application is being used or just a mobile browser?

The webView.getSettings (). GetUserAgentString () method displays:

Mozilla/5.0 (Linux; Android 6.0.1; Redmi 3S Build/MMB29M; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/64.0.3282.137 Mobile Safari/537.36 
  • You need to add something to the iser-agent. - Vladimir Martyanov
  • one
    Ruslan Yagupov, this is not a double, in the first case it was asked how to find out the user-agent and whether it is possible to change it, and in the second case what needs to be added to it in order to understand that the request comes from the application - Anna13
  • one
    Ok, just add Android /% version of application% to it and let them check on the server - Ruslan Yagupov

0