-
Notifications
You must be signed in to change notification settings - Fork 52
[sensors_plus] Refactor the C++ code #358
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
Conversation
Signed-off-by: Boram Bae <boram21.bae@samsung.com>
| return std::make_unique<FlStreamHandlerError>( | ||
| std::to_string(sensor_.GetLastError()), sensor_.GetLastErrorString(), | ||
| nullptr); |
There was a problem hiding this comment.
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)
swift-kim
left a comment
There was a problem hiding this 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>
|
@swift-kim I've update PR, please review again. |
Signed-off-by: Boram Bae <boram21.bae@samsung.com>
swift-kim
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you!
bwikbs
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
This PR includes :
DeviceSensorclassSensorsPlusPluginImplementationflutter::StreamHandlerto set stream handlersThis change contribute #354