question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Android] Remove detailed device information from Android user agent string

See original GitHub issue

Exciting news: we have enough users on Android that it probably makes sense to use a Brave user-agent string! Unlike the temporary fix in brave/browser-android-tabs#130, we no longer need to fake details (Android version, device, build…) that we don’t want to disclose.

Here’s the new template:

Mozilla/5.0 (Linux; Android) like AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.111 Mobile Safari/537.36 Brave

Those Webkit, Chrome, and Safari versions need to stay current — they should match the equivalent Chrome versions. We won’t be presenting a Brave version number because we think that feature-detection should be based on actually detecting features, not divination based on tables of version strings.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:5
  • Comments:21 (3 by maintainers)

github_iconTop GitHub Comments

12reactions
waldebartcommented, Aug 23, 2019

Please remove phone model from the user agent string.

7reactions
medmr1commented, Jul 25, 2019

This is a big disappointment. If you aren’t going to include a really basic privacy feature in your browser like user agents that don’t leak the phone model, you need to change all your marketing so its not misleading people into thinking this browser is privacy focused. Maybe this is perpetually in the backlog because Google won’t approve a browser that is actually privacy focused on Android?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Fully remove Android as OS from WebView agent
I have a webview in my native android app and need to set the agent to fix desktop view on certain websites that...
Read more >
User-Agent Strings - Chrome Developers
Reference information about the User-Agent string that Chrome sends in Android, iOS, and WebView contexts.
Read more >
TelephonyManager - Android Developers
Provides access to information about the telephony services on the device. Applications can use the methods in this class to determine telephony services ......
Read more >
Remove OS build number from user-agent string
The OS build number (for example, “NJH47F” or “OPM4.171019.021.D1” on Android) has been removed from the user-agent identification ...
Read more >
What are the latest user agents for Android?
The latest user agents for Android, including the various platforms it runs on. This can be helpful when you need to change your...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found