Emil Khabibulin

Results 8 comments of Emil Khabibulin

version 3.1.0 of mi 9t physical device in discoverySpeed ​​controller: DetectionSpeed.noDuplicates, scan works 3 times as hsynaksu said, if you shake the phone while scanning, it manages to scan 3-4...

One solution, after getting the first value call controller.dispose();

There was already a similar problem, they apparently never fixed it https://github.com/fluttercommunity/plus_plugins/issues/781 you can try using https://pub.dev/packages/motion_sensors or dchs_motion_sensors, they seem to write that it gives the correct values

@Zabadam can you roll out an update so that I don’t have to rewrite the implementation in the project using motion_sensors? )))) > startDeviceMotionUpdates I don't know Swift took sample...

> > @Zabadam can you roll out an update so that I don’t have to rewrite the implementation in the project using motion_sensors? )))) > > I don't know Swift...

@Zabadam have you checked further to see if it gives the correct values? i checked today and magnetometerEventStream still returns incorrect values ​​that are much higher

@Zabadam yes it works correctly, the same line needs to be changed there, I dropped a couple above