requiresBackgroundPermissions method

  1. @Deprecated('custom call UI not used anymore, has no effect')
  2. @override
Future<bool> requiresBackgroundPermissions()
override

Checks if device needs background permission

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

Implementation

@Deprecated('custom call UI not used anymore, has no effect')
@override
Future<bool> requiresBackgroundPermissions() {
  return _channel.invokeMethod<bool?>('requiresBackgroundPermissions', {}).then<bool>((bool? value) => value ?? false);
}