Extension APIs: Platform Availability, Enterprise Policy, Kiosk Mode, and Compatibility
Which Chrome extension APIs run only on ChromeOS, when enterprise policy or kiosk mode is required, and how to detect support safely.
This page summarizes Chrome for Developers documentation on Chrome extension APIs whose availability is tied to ChromeOS, enterprise policy, kiosk or guest session types, or related platform constraints—not to desktop Chrome on Windows, macOS, or Linux. If you ship one extension everywhere, these limits decide what will silently fail, what must be force-installed by IT, and when user-agent checks are unsafe.
ChromeOS-only APIs: what “works only on ChromeOS” means
Section titled “ChromeOS-only APIs: what “works only on ChromeOS” means”Many namespaces in the Extensions API reference carry an explicit platform note. Chrome documents the pattern repeatedly:
Important: This API works only on ChromeOS.
— Chrome, browser.audio
The same wording appears on hardware- and OS-integration APIs such as browser.documentScan, browser.fileSystemProvider, browser.vpnProvider, browser.printing, browser.wallpaper, browser.platformKeys, and numerous others in this cluster. On non-ChromeOS platforms those permissions may still appear valid at install time, but the API object is not usable where the platform does not implement it.
Which ChromeOS-only APIs appear in this documentation set
Section titled “Which ChromeOS-only APIs appear in this documentation set”The cluster groups many ChromeOS-scoped APIs by role. Use the linked reference pages for methods and events; the table is a decision map, not a full catalog.
| Role | Example APIs (ChromeOS-only in docs) | Reference |
|---|---|---|
| Devices and I/O | documentScan, audio (see kiosk below), printing stack |
documentScan, printing, printingMetrics |
| Storage and files | fileSystemProvider, fileBrowserHandler, mime_types_handler (manifest) |
fileSystemProvider, fileBrowserHandler, mimeHandler |
| Network and VPN | vpnProvider, certificateProvider |
vpnProvider, certificateProvider |
| Enterprise device (policy) | chrome.enterprise.* (see below) |
enterprise.deviceAttributes |
| Shell and UX | wallpaper, loginState, input.ime, systemLog |
wallpaper, loginState |
Document Scan additionally notes OS-level dependencies:
The Document Scan API is designed to allow apps and extensions to view the content of paper documents on an attached document scanner.
Note: This API depends on OS features that may not be available depending on the underlying operating system. As of this writing only ChromeOS for certain USB-attached devices is known to successfully work.
— Chrome, chrome.documentScan
Chrome 124 added a richer scan discovery path on ChromeOS (What’s new): an advanced documentScan API to discover and retrieve images from attached document scanners.
Googlebook OS: ChromeOS-labeled APIs that still fail
Section titled “Googlebook OS: ChromeOS-labeled APIs that still fail”ChromeOS-only is not the same as “any device whose user agent says CrOS.” For Googlebook OS, Chrome documents a separate compatibility rule in Adapt your extension for Googlebook OS:
APIs marked ChromeOS only in the Chrome Extensions API reference (such as documentScan, fileSystemProvider, vpnProvider, and printing) aren’t supported on Googlebook OS, even though navigator.userAgent includes CrOS. Extensions that declare these permissions still install and run, but the API namespaces are undefined at runtime. Check that an API namespace exists before calling it rather than relying on user-agent detection.
— Chrome, Adapt your extension for Googlebook OS
Common conclusion: treat namespace presence (for example chrome.documentScan) as the source of truth, not navigator.userAgent or install-time permissions alone.
Enterprise policy APIs: force-install and policy keys
Section titled “Enterprise policy APIs: force-install and policy keys”A second large group is ChromeOS-only plus enterprise policy. Pages open with:
This API is only for extensions installed by a policy.
— Chrome, browser.enterprise.deviceAttributes
Typical requirements from the references:
| API | Purpose (from docs) | Permission / extra policy |
|---|---|---|
chrome.enterprise.deviceAttributes |
Read device attributes | enterprise.deviceAttributes; force-installed by policy (reference) |
chrome.enterprise.networkingAttributes |
Read current network information | enterprise.networkingAttributes (reference) |
chrome.enterprise.platformKeys |
Generate keys and install platform-managed certificates | enterprise.platformKeys (reference) |
chrome.enterprise.hardwarePlatform |
Manufacturer and model of the hardware platform | Enterprise install; EnterpriseHardwarePlatformAPIEnabled must be set (reference) |
chrome.enterprise.login |
Exit Managed Guest sessions | enterprise.login; Managed Guest on ChromeOS (reference) |
The MV2 reference for chrome.enterprise.deviceAttributes states availability as Chrome 46+, ChromeOS only, Requires policy, and repeats that the API is only for extensions pre-installed by a policy. The same “force-installed by enterprise policy” language appears on chrome.enterprise.networkingAttributes (Chrome 85+) and chrome.enterprise.platformKeys.
Kiosk mode and special session APIs
Section titled “Kiosk mode and special session APIs”Some ChromeOS-only APIs are further restricted to kiosk or auto-launched kiosk sessions.
Audio devices — browser.audio:
The chrome.audio API is provided to allow users to get information about and control the audio devices attached to the system. This API is currently only available in kiosk mode for ChromeOS.
— Chrome, browser.audio
Virtual keyboard — chrome.virtualKeyboard:
The chrome.virtualKeyboard API is a kiosk only API used to configure virtual keyboard layout and behavior in kiosk sessions.
— Chrome, chrome.virtualKeyboard
Network configuration (ONC) — chrome.networking.onc is ChromeOS-only and:
This API is available in auto-launched Chrome OS kiosk sessions.
The chrome.networking.onc API is used for configuring network connections (Cellular, Ethernet, VPN or WiFi).
— Chrome, chrome.networking.onc
Configurations follow the Open Network Configuration (ONC) specification; property naming in docs uses UpperCamelCase to match ONC, not typical JavaScript lowerCamelCase.
Platform keys, VPN, and certificates on ChromeOS
Section titled “Platform keys, VPN, and certificates on ChromeOS”Two related certificate APIs matter for networking extensions:
- chrome.platformKeys (ChromeOS-only): access client certificates managed by the platform when user or policy grants permission—for example for third-party VPN authentication alongside chrome.vpnProvider.
- chrome.enterprise.platformKeys: generate keys and install certificates managed by the platform, for TLS, network access, or use by other extensions via
chrome.platformKeys.
Both are documented as ChromeOS-only; enterprise variant additionally requires policy install.
Other availability limits in the cluster
Section titled “Other availability limits in the cluster”Not every restricted API is labeled only “ChromeOS.” Items worth separating from the ChromeOS-only bucket:
| Topic | Constraint | Source |
|---|---|---|
chrome.dns |
Chrome Dev channel only; declare "dns" permission; “no foreseeable plans” to promote to stable |
browser.dns |
chrome.management |
Manage installed apps and extensions (no ChromeOS-only banner in the excerpt) | browser.management |
chrome.webAuthenticationProxy |
Intercept WebAuthn for remote desktop scenarios (not framed as ChromeOS-only in the excerpt) | webAuthenticationProxy |
| Chrome Apps platform APIs | Many chrome.* under Chrome Apps reference repeat ChromeOS-only; Chrome Apps support is being removed |
Analytics |
Chrome’s Analytics page for legacy apps states:
Important: Chrome will be removing support for Chrome Apps on all platforms. Chrome browser and the Chrome Web Store will continue to support extensions.
— Chrome, Analytics
New work should target extensions, not Chrome Apps, even when reading older ChromeOS-only app API pages (bluetooth, usb, serial, etc.).
Common mistakes when targeting ChromeOS-only APIs
Section titled “Common mistakes when targeting ChromeOS-only APIs”- User-agent gating on
CrOSon Googlebook OS, whilechrome.documentScan,chrome.vpnProvider, and similar namespaces are undefined (Googlebook guidance). - Assuming manifest permissions imply runtime support on Windows/macOS/Linux or on Googlebook OS—install succeeds; calls fail.
- Using enterprise APIs in public store builds without force-install and required policy keys such as
EnterpriseHardwarePlatformAPIEnabled(enterprise.hardwarePlatform). - Expecting kiosk APIs in normal user sessions (
chrome.audio,chrome.virtualKeyboard,chrome.networking.onc). - Confusing Chrome Apps with extensions while Chrome Apps deprecation is underway (Analytics).
- Relying on
chrome.dnsin production stable-channel extensions (browser.dns).
How to check this on your site
Section titled “How to check this on your site”-
On each target platform (ChromeOS device, desktop Chrome, and Googlebook OS if applicable), open your extension’s service worker or background context and log whether required namespaces exist (
chrome.documentScan,chrome.enterprise.deviceAttributes, etc.), using the API reference list you depend on. -
For enterprise features, confirm with your admin that the extension is force-installed by policy and that required keys (for example
EnterpriseHardwarePlatformAPIEnabledfor hardwarePlatform) are set in the same configuration that installs the extension. -
For kiosk-only APIs, reproduce tests in an auto-launched kiosk or documented kiosk session on ChromeOS, not only in a standard logged-in user profile (audio, networking.onc).
-
Compare behavior against Adapt your extension for Googlebook OS if your users may run Googlebook OS with a CrOS user agent.
-
You can check automatically in Answerwell (our tool): https://answerwell.org/workspace
Report an error or ask a question
Section titled “Report an error or ask a question”If something on this page is wrong or unclear, email yimasynthetic@gmail.com with the page URL and the exact sentence you are asking about, and we will correct or clarify it.