requestMotionPermission method

Future<bool> requestMotionPermission()

Request OS motion-sensor permission where one is required (iOS 13+, and iOS-Safari web where it MUST be called synchronously from a user gesture — call this as the first thing in the gesture handler, before any context is created, so the user-activation is still live). No-op / already-granted elsewhere. Returns true if motion may be captured. Default: true.

Implementation

Future<bool> requestMotionPermission() async => true;