roomplan_flutter 0.0.6 copy "roomplan_flutter: ^0.0.6" to clipboard
roomplan_flutter: ^0.0.6 copied to clipboard

A Flutter plugin for iOS that provides access to Apple's RoomPlan API, allowing you to easily scan an interior room and receive a 3D model with detailed measurements.

0.0.6 #

  • Feature: Enhanced LiDAR detection with multi-method approach for better accuracy across different iOS devices and development environments.
  • Feature: Added support for iPhone 16 Pro and Pro Max models in LiDAR device detection.
  • Fix: Added missing CapturedRoom.Surface.Category extension mapping for proper surface categorization (doors, windows, openings, walls).
  • Fix: Corrected height mapping for doors and windows - now uses the correct Y component instead of Z component for opening height calculations.
  • Fix: Resolved Swift compilation errors related to device identifier parsing using proper String(cString:) method.
  • Chore: Removed debug logging from both native iOS and Flutter code for cleaner production builds.

0.0.5 #

  • Feature: Added floor and ceiling properties to RoomData to provide direct access to these surfaces when available.
  • Feature: Added transform (Matrix4) and dimensions (RoomDimensions) properties to WallData, ObjectData, and OpeningData. This provides more precise positioning and sizing data aligned with the latest native APIs.
  • Fix: The example app now includes a PaintAreaDetailsView to demonstrate calculating the paintable area of walls, subtracting openings.

0.0.4 #

  • Feature: Added support for detecting openings. The RoomData model now includes a list of OpeningData.
  • Fix: Implemented full data parsing for WallData and OpeningData, which now correctly deserialize dimensions and confidence from the native payload.
  • Fix: Resolved a critical threading issue in the native iOS code that caused crashes when sending updates to Flutter. Work is now correctly dispatched between background and main threads.
  • Fix: Corrected a native serialization error by implementing a custom RoomPlanJSONConverter to handle the CapturedRoom object, which is not directly Encodable.
  • Chore(example): Refactored the example app's UI for better clarity and organization, separating views into individual widgets.
  • Chore(example): Added visual feedback in the example app to show the confidence level of scanned items using colors.

0.0.3 #

  • Docs: Improved package description for better clarity on pub.flutter-io.cn.
  • Fix: Corrected exception handling for scan cancellation.
  • Refactor: Simplified the internal JSON mapper for robustness.
  • Chore(example): Updated the example application and its dependencies.
  • Test: Overhauled the test suite, adding isolated tests for the mapper and simplifying plugin-level tests.

0.0.2 #

  • BREAKING: Refactored RoomPlanScanner API for clarity and correctness.
    • finishScanning() has been removed.
    • startScanning() now returns a Future<ScanResult?> which completes with the final scan result.
    • A new stopScanning() method was added to programmatically stop the session.
    • The onScanResult stream now correctly emits ScanResult objects during the scan.
  • Fixed a bug where the internal data model was incorrectly exposed.

0.0.1 #

  • Initial release of the roomplan_flutter package.
  • Support for starting and stopping a RoomPlan scan on iOS 16+.
  • Provides real-time updates on room structure during a scan (onRoomUpdate, onWallDetected, etc.).
  • Returns a detailed ScanResult with structured data for walls, doors, windows, and overall dimensions.
4
likes
0
points
45
downloads

Publisher

unverified uploader

Weekly Downloads

A Flutter plugin for iOS that provides access to Apple's RoomPlan API, allowing you to easily scan an interior room and receive a 3D model with detailed measurements.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter, vector_math

More

Packages that depend on roomplan_flutter

Packages that implement roomplan_flutter