Skip to main content

dual_screen_hinge 1.0.0 copy "dual_screen_hinge: ^1.0.0" to clipboard
dual_screen_hinge: ^1.0.0 copied to clipboard

iPhone Duo-first foldable support for Flutter: hinge angles, postures, reserved regions, screen roles, and Android display modes.

1.0.0 #

  • Fix iOS event streaming in UIScene apps (FlutterImplicitEngineDelegate): the plugin now resolves the Flutter view controller when it is available instead of capturing nil at registration, so hinge, reserved-region, and screen-role state reach Dart.
  • Fix iOS builds with Xcode 27.1, where UIHingeInteraction and UIHinge require iOS 27.1.
  • Document that iOS confirms hinge capability after the first hinge update; the example re-reads capabilities when the posture source changes.
  • Add an iPhone Duo end-to-end test for the example app's live hinge, reserved-region, display-feature, and screen-identity state.
  • Report iOS hinge angles in degrees (UIKit reports radians) and map UIHinge.Status values explicitly.
  • Apply the detected UIKit API defines to the Swift package test target.
  • Build and test with Flutter 3.47.6 and Dart 3.13.5; the example app targets iOS 15, the minimum Xcode 27.1 accepts. The plugin still supports iOS 13.

0.2.1 #

  • Fix iOS builds with Xcode 27.0 SDKs that do not declare UIHingeInteraction.
  • Detect hinge and reserved-region APIs in public UIKit headers and Swift interfaces for CocoaPods and Swift Package Manager instead of relying on toolchain version numbers.
  • Check device and simulator SDKs independently in CocoaPods and keep the unsupported fallback when APIs are absent. Existing Podfile workarounds can be removed.

0.2.0 #

  • Adds iOS 27.1 folding and camera reserved-region geometry with active-state metadata.
  • Maps active iPhone Duo division regions into the cross-platform display-feature model.
  • Makes iOS screen-role inference conservative in Split View and other ambiguous layouts.
  • Positions the package as iPhone Duo-first on pub.dev with the iphone-duo topic and a feature screenshot.
  • Expands the iPhone Duo example, documentation, compatibility guidance, and test coverage.

0.1.1 #

  • Fix the README logo rendering on pub.dev.

0.1.0 #

  • Adds the schema-v1 shared event stream and immutable Dart state model.
  • Adds continuous Android hinge-angle telemetry and AndroidX WindowManager fold metadata.
  • Adds Android rear-display transfer and dual-screen presentation with a secondary Flutter engine.
  • Adds iOS 27 hinge/status and compact/regular screen-role bridging with safe iOS 13–26 fallback.
  • Adds CocoaPods and Swift Package Manager integration, a full example app, documentation site, tests, and CI.
2
likes
0
points
624
downloads

Documentation

Documentation

Publisher

verified publishercodegrowers.tech

Weekly Downloads

iPhone Duo-first foldable support for Flutter: hinge angles, postures, reserved regions, screen roles, and Android display modes.

Homepage
Repository (GitHub)
View/report issues

Topics

#iphone-duo #foldable #dual-screen #hinge #android

License

unknown (license)

Dependencies

flutter, flutter_plugin_android_lifecycle, plugin_platform_interface

More

Packages that depend on dual_screen_hinge

Packages that implement dual_screen_hinge