Skip to content

Commit

Permalink
Create FLTSensorsPlusPlugin.m
Browse files Browse the repository at this point in the history
  • Loading branch information
kawa1214 committed Sep 11, 2021
1 parent a1b1840 commit c1e045c
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ + (void)registerWithRegistrar:(NSObject<FlutterPluginRegistrar>*)registrar {
void _initMotionManager() {
if (!_motionManager) {
_motionManager = [[CMMotionManager alloc] init];
_motionManager.accelerometerUpdateInterval = 0.02;
}
}

Expand Down

0 comments on commit c1e045c

Please sign in to comment.