This is a sweet Feature Request (hint to convert your post
)! Though I suggest stepping back to look at it from its whole because there are many more sensors available on mobile, both iOS and Android.
That includes magnetometer, pedometer, altitude, and GPS ( Add support for obtaining a user's GPS location, and its accuracy ), among others.
For Android, the list is here: Sensors Overview | Android Developers
For iOS, the list is here: Apple Developer Documentation
I don’t believe it’s much more work to involve these extra bits because you/someone will have their hands in that area already.
