Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor: Replace Platform (dart:io) with TargetPlatform #18

Merged
merged 3 commits into from
Sep 6, 2024

Conversation

AmosHuKe
Copy link
Member

@AmosHuKe AmosHuKe commented Sep 6, 2024

Description

  • Replace Platform (dart:io) with TargetPlatform (flutter/foundation.dart).
  • Handling when the platform has no available sensors.

Checklist

Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]).

  • I open this PR to the main branch.
  • I did not modify the CHANGELOG.md nor the package version in pubspec.yaml files.
  • All existing and new tests are passing.

Breaking Change

Does your PR require package users to manually update their apps to accommodate your change?

  • Yes, this is a breaking change.
  • No, this is not a breaking change.

@AmosHuKe AmosHuKe merged commit bf9edcb into main Sep 6, 2024
5 checks passed
@AmosHuKe AmosHuKe deleted the refactor-platform branch September 6, 2024 08:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant