requiresBackgroundPermissions method

Future<bool> requiresBackgroundPermissions()

Checks if device needs background permission

Android only, xiamoi devices need special permission to show background call UI

Implementation

Future<bool> requiresBackgroundPermissions() {
  return _channel.invokeMethod<bool?>('requiresBackgroundPermissions',
      {}).then<bool>((bool? value) => value ?? false);
}