Search code examples
google-chrome-appgoogle-chrome-oschromium-os

How to detect if a Chrome OS device model supports Android programatically?


I have a Chrome OS packaged app published with some installations. Given that Chrome OS now supports Android apps, I need some way to detect how many of my existing customers are using a device model that supports Android.

I browsed through the APIs and found chrome.runtime.getPlatformInfo but it doesn't respond with the device model. I'm wondering if there's a more reliable way to detect it.


Solution

  • I found this API that does exactly what I want. Unfortunately it is private.