What each OS has
The APIs and inputs that macOS brought, and what each does on every OS. A test holds this table to
the code: it names every desktop API and every macOS-only input, and each service's available()
follows its row.
- yes - it works as on macOS.
- absent - the service's
available()isfalse, and every call does nothing and answers its empty value:[],null,falseor nothing. - ignored - the input has no effect.
- inert - the element draws nothing.
- Anything else says what the OS does in its place.
| API or input | macOS | Linux | iPadOS | iPhone | Android | Web host |
|---|---|---|---|---|---|---|
AppWindows.open, provideMainWindow |
yes | yes | scenes, with ios.multipleWindows |
absent | absent | absent |
titleBar, window size options |
yes | maxWidth and maxHeight only as the window opens |
ignored | ignored | ignored | ignored |
<menu-bar> |
menu bar | menu bar on KDE Plasma, a menu button in the header bar elsewhere | menu bar | inert | inert | inert |
[shortcut], menu item shortcuts |
yes | yes | yes | hardware keyboard | hardware keyboard, Keyboard Shortcuts helper | yes |
[contextMenu] |
yes | secondary click | long press or secondary click | long press | long press or right-click | inert |
<tray-icon> |
yes | while a StatusNotifierWatcher runs | absent | absent | absent | absent |
Dock |
yes | absent | absent | absent | absent | absent |
<split-view>, <sidebar> |
yes | AdwNavigationSplitView, a stack at compact widths | UISplitViewController, a stack at compact widths | stack root | list pane from 840dp, a stack below | two columns |
Processes, Processes.env |
yes | yes | absent | absent | absent | absent |
Shell |
yes | yes | absent | absent | absent | absent |
FileSystem.paths.home, desktop, downloads |
yes | yes | absent | absent | absent | absent |
UndoStack |
yes | yes | yes | yes | absent | absent |
Printing.print({ window }), File > Print... |
yes | yes | absent | absent | absent | absent |
Updates.checkForAppUpdate(), appUpdateAvailable |
dmg builds |
absent | absent | absent | absent | absent |
Drag and drop: (fileDrop), [dragItem] |
yes | yes | yes | absent | absent | absent |
(mouseenter), (mouseleave), (mousemove), (mouseover), (mouseout) |
yes | yes | trackpad or mouse | ignored | mouse | yes |
(dblclick), (contextmenu), (wheel) |
yes | yes | ignored | ignored | ignored | ignored |
<native-button> |
AppKit button | GTK button | UIKit button | UIKit button | drawn | HTML button |
controlSize |
yes | ignored | <native-button> |
<native-button> |
ignored | ignored |
anchor on <modal> |
popover | popover | popover | ignored | ignored | ignored |
accessibilityLevel, aria-level |
macOS 26 and later | yes | ignored | ignored | ignored | yes |
<refresh-control> |
inert | inert | yes | yes | yes | inert |
<keyboard-dock>, <keyboard-avoiding-view> |
plain view | plain view | yes | yes | yes | plain view |
<input-accessory-view> |
plain view | plain view | yes | yes | plain view | docked at the bottom |
<expo-glass>, <expo-glass-container> |
yes | plain view | iOS 26 and later | iOS 26 and later | plain view | plain view |
Community slider, picker, masked-view |
absent: ui-slider, ui-picker |
absent | yes | yes | yes | plain view |
HardwareBack, NavigationBar |
absent | absent | absent | absent | yes | absent |
StatusBar, Keyboard |
absent | absent | yes | yes | yes | absent |
Vibration |
absent | absent | yes | yes | yes | yes |
BackgroundTask, Brightness, DeviceOrientation |
absent | absent | yes | yes | yes | absent |
AppInfo |
yes | brand and manufacturer from the firmware, or null | yes | yes | yes | absent |
Battery |
yes | no battery without UPower | yes | yes | yes | absent |
Browser |
yes | an auth session ends on the link back, which reaches an installed package | yes | yes | yes | absent |
Calendar |
yes | absent | yes | yes | yes | absent |
Clipboard |
yes | yes | yes | yes | yes | absent |
Crypto |
yes | no MD2 or MD4 | yes | yes | yes | absent |
DocumentPicker |
yes | yes | yes | yes | yes | absent |
FileSystem |
yes | yes | yes | yes | yes | absent |
Fonts |
yes | yes | yes | yes | yes | absent |
Haptics |
yes | absent | yes | yes | yes | absent |
ImageEditor |
yes | WebP only where a WebP writer is installed | yes | yes | yes | absent |
ImagePicker |
yes | the library through the file chooser, the camera in a window of its own | yes | yes | yes | absent |
KeepAwake |
yes | yes | yes | yes | yes | absent |
Locale |
yes | yes | yes | yes | yes | absent |
Location |
yes | no geocoding; restricted without the Location portal | yes | yes | yes | absent |
MediaLibrary |
yes | absent | yes | yes | yes | absent |
Network |
yes | type OTHER without NetworkManager |
yes | yes | yes | absent |
Notifications |
yes | no push token | yes | yes | yes | absent |
Printing |
yes | no HTML | yes | yes | yes | absent |
SplashScreen |
yes | yes | yes | yes | yes | absent |
TextRecognition |
yes | absent | yes | yes | absent | absent |
Updates |
yes | bundle updates when configured; no whole-app updater | yes | yes | yes | absent |
AddressSearch |
yes | absent | yes | yes | yes | absent |
AppleSignIn |
signed with the Sign in with Apple entitlement | absent | yes | yes | absent | absent |
Biometrics |
yes | absent | yes | yes | yes | absent |
Camera |
yes | through the Camera portal and PipeWire | yes | yes | yes | absent |
MapView |
yes | absent | iPadOS 17 and later, marker taps from 18 | iOS 17 and later, marker taps from 18 | yes | absent |
LanguageModel |
macOS 26 and later, with Apple Intelligence on | absent | iPadOS 26 and later, with Apple Intelligence on | iOS 26 and later, with Apple Intelligence on | Gemini Nano, on the phones that ship it | absent |
ScreenCapture |
prevent and allow, no screenshot count |
absent | yes | yes | yes | absent |
StoreReview |
yes | absent | yes | yes | with the Play Store | absent |
Tracking |
yes | absent | yes | yes | yes | absent |
Watch |
absent | absent | no watch to pair | yes | absent | absent |
Foldable |
absent | absent | when a hinge is reported | when a hinge is reported | when a hinge is reported | absent |
Accelerometer, Gyroscope, Magnetometer, DeviceMotion, Barometer |
absent | absent | yes | yes | yes | absent |
LightSensor |
absent | absent | absent | absent | yes | absent |
assets() |
yes | yes | yes | yes | yes | absent |
database() |
yes | yes | yes | yes | yes | yes |
videoPlayer() |
yes | through GStreamer, H.264 only with a decoder installed | yes | yes | yes | yes |
audioPlayer(), audioRecorder() |
yes | through GStreamer | yes | yes | yes | yes |
Each service's own page says the same for that service. The services from @ng-native/expo work
on macOS through the desktop host where their pages say so.