The refresh rate is every ~32ms (Android, and iOS). I noticed my app spends more time than it should dealing with compass updates, and I'd happily receive them at a slower rate.
Would it be possible to change the API to make that configurable? Perhaps as arguments to the FlutterCompass constructor?
For now I rate limit myself, but it would be good if this rate limit goes all the way up to the OS.
The refresh rate is every ~32ms (Android, and iOS). I noticed my app spends more time than it should dealing with compass updates, and I'd happily receive them at a slower rate.
Would it be possible to change the API to make that configurable? Perhaps as arguments to the
FlutterCompass
constructor?For now I rate limit myself, but it would be good if this rate limit goes all the way up to the OS.