flutter_cm_sensor_recorder 0.0.1+1 copy "flutter_cm_sensor_recorder: ^0.0.1+1" to clipboard
flutter_cm_sensor_recorder: ^0.0.1+1 copied to clipboard

A Flutter plugin to access CMSensorRecorder on iOS and Android

⬆️ Flutter CM Sensor Recorder #

This plugin allows to use the CoreMotion Sensor Recorder features of iOS in your Flutter mobile app on both iOS and Android.

Because of the lack of OS-specific support for recording raw accelerometer data in background on Android, the Android implementation uses a Foreground service.

Requesting permissions #

Additionally, you will have to manage the permission request. If you choose to go with permission permission_handler make sure to follow their installation steps as well.

Units #

The only difference compared to the iOS native implementation lays in the fact that this plugin will give you accelerations in m/s² instead of Apple's G.

Usage #

You can check the example for a rather complete implementation and you can always refer the official iOS documentation, this plugin behaves in the same way.

The initial development of this plugin was sponsored by Growth Constant Inc. who allowed my to publish this as an open source project.

4
likes
40
pub points
11%
popularity

Publisher

verified publishersungazer.dev

A Flutter plugin to access CMSensorRecorder on iOS and Android

Repository (GitLab)
View/report issues

License

BSD-3-Clause (license)

Dependencies

flutter

More

Packages that depend on flutter_cm_sensor_recorder