Skip to content

Conversation

@bbrto21
Copy link
Contributor

@bbrto21 bbrto21 commented Apr 14, 2022

This PR includes :

  • Extract DeviceSensor class
  • Simplify SensorsPlusPlugin Implementation
  • Use derived class from flutter::StreamHandler to set stream handlers

This change contribute #354

Signed-off-by: Boram Bae <boram21.bae@samsung.com>
Comment on lines +32 to +34
return std::make_unique<FlStreamHandlerError>(
std::to_string(sensor_.GetLastError()), sensor_.GetLastErrorString(),
nullptr);
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This currently results in an app crash. see: #351 (comment)

Copy link
Member

@swift-kim swift-kim left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some minor concerns. Great job!

Signed-off-by: Boram Bae <boram21.bae@samsung.com>
@bbrto21
Copy link
Contributor Author

bbrto21 commented Apr 18, 2022

@swift-kim I've update PR, please review again.

Signed-off-by: Boram Bae <boram21.bae@samsung.com>
Copy link
Member

@swift-kim swift-kim left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

Copy link
Member

@bwikbs bwikbs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@swift-kim swift-kim merged commit a80cbef into flutter-tizen:master Apr 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants