ignoreBackgroundDataRestrictions method

Future<bool> ignoreBackgroundDataRestrictions()

Open Android settings in Ignore Background Data Restrictions section. returns operation successful or failure.

Implementation

Future<bool> ignoreBackgroundDataRestrictions() {
  return sendCustomMessage(
    'android.settings.IGNORE_BACKGROUND_DATA_RESTRICTIONS_SETTINGS',
  );
}