Skip to content

A Flutter plugin to use Gyroscope in flutter using Android and IOS native.

License

Notifications You must be signed in to change notification settings

tappeddev/gyroscope

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gyroscope

A Flutter plugin to use Gyroscope in flutter using Android and IOS native.

Getting Started

Usage

GyroscopeSensorImpl gyro = GyroscopeSensorImpl();

gyro.subscribe(data, rate: SampleRate.fastest);

gyro.unsubscribe();

Permissions.

(IOS) add sensor permission in info.plist

- NSMotionUsageDescription

TODO:

  • Handle Exeptions Dart
  • Handle Exeptions IOS
  • Convert Code to Streams instead of callback
  • Implement Android
  • Implement other supprted sensors by Senskit
  • Improve documentation.

About

A Flutter plugin to use Gyroscope in flutter using Android and IOS native.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Dart 48.0%
  • Swift 28.4%
  • Ruby 12.2%
  • Kotlin 7.8%
  • Objective-C 3.6%