-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Android: detect ChromeOS specifically #2971
Comments
Fixes tailscale/tailscale#2971 Signed-off-by: Denton Gentry <dgentry@tailscale.com>
I think this will do it: tailscale/tailscale-android#20 I have a Chromebook where I've loaded the Android app from the Play store. I have to figure out how to sideload it to be able to test it. Honestly even if I can't get it sideloaded, it is probably still fine to go in. Elias had already developed an isChromeOS() function to work around a difference in behavior in VpnService.Builder.addDnsServer:
|
Fixes tailscale/tailscale#2971 Signed-off-by: Denton Gentry <dgentry@tailscale.com>
I ended up unlocking the Chromebook, enabling its builting Linux support and develop from that. |
Currently we can only do stats on ChromeOS usage by looking at the device_model field ("Google Dell Latitude 5400 Chromebook Enterprise") and hope that it contains "Chomebook".
It'd be nicer to have a boolean to definitively tell us whether an Android device is ChromeOS.
https://stackoverflow.com/questions/39784415/how-to-detect-programmatically-if-android-app-is-running-in-chrome-book-or-in contains some heuristics.
There's no great field in ipn.Hostinfo to put this now, but we could just prepend it to DeviceModel. So instead of:
We can set it to:
/cc @eliasnaur @mayakacz @crawshaw
The text was updated successfully, but these errors were encountered: