plus_plugins icon indicating copy to clipboard operation
plus_plugins copied to clipboard

[Request]: Please add barometer

Open vitalsh opened this issue 4 years ago • 5 comments

Plugin

sensors_plus

Use case

I want to make a cross-platform baro altimeter feature in the app I'm building (for gliding)

Proposal

Barometric readings: hectopascals and altitude

vitalsh avatar Jul 12 '22 00:07 vitalsh

Is there anyone working on this? I can try and push and update for the barometer on Android but as I understand unless all platforms are supported its unlikely to be accepted?

aanas-sayed avatar Jul 07 '24 14:07 aanas-sayed

That's correct, we don't accept new feature implementations if they only cover one platform in order to avoid feature fragmentation: https://github.com/fluttercommunity/plus_plugins/blob/main/CONTRIBUTING.md#-cannot-be-accepted

Nevertheless, there are several barometer plugins already: https://pub.dev/packages?q=barometer

miquelbeltran avatar Jul 07 '24 15:07 miquelbeltran

Thanks @miquelbeltran for clarifying. I have implemented it on all platforms now and created a PR. I understand other plugins exist but there's none that are properly maintained. There's also none that integrate motion related sensors with altitude.

aanas-sayed avatar Jul 08 '24 20:07 aanas-sayed

Can this be closed now?

aanas-sayed avatar Jul 26 '24 16:07 aanas-sayed

Should have been closed when the PR was merged, indeed.

miquelbeltran avatar Jul 27 '24 16:07 miquelbeltran