Compatibility

Package Minimum Toolchain
iOS iOS 15 Xcode 27.1
Android API 21 JDK 17, Gradle 8.5, AGP 8.1.1, compile SDK 34

iPhone Duo layouts need the app itself to link against the iOS 27.1 SDK. Mac Catalyst is not supported. Dependencies: Package Installation.

Version-specific behavior

iOS Behavior
15 System medium and large detents
16 Custom detents and drag to expand
16.4 Inspectable WebViews
27 Glass loading background; earlier versions load behind an opaque cover in the sheet color
27.1 Layout around reserved regions such as the iPhone Duo fold
Android API Behavior
21 to 22 Rounded WebView corners through a hardware layer
24 Portrait released in multi-window
26 Recovery after renderer loss
30 CONFIRM haptic
34 Foreground services use the shortService type with a timeout

Runtime techniques

Platform Technique Used for
iOS Adds orientation methods to the app and scene delegate classes Portrait presentation on iPhone
iOS Sets the UIDevice orientation through key-value coding Portrait on iOS 15
iOS Runtime subclass of WebKit content views Hiding the keyboard toolbar in web content fields
Android Reflection into androidx.browser and optional modules Optional dependencies and modules

Limits

  • The OS can refuse rotation, for example in multi-window or on foldables.
  • Process death ends the presentation. The SDK never replays an event or invents a result.