enableBackgroundDelivery static method
Implementation
static Future<bool> enableBackgroundDelivery({
required String connectionId,
required List<String> types,
}) async {
if (!Platform.isIOS) {
return false;
}
final result = await _channel.invokeMethod('enableBackgroundDelivery', {
'connectionId': connectionId,
'types': types,
});
ExceptionHandler.checkException(result);
return result == true;
}