enableBackgroundDelivery method
Implementation
Future<void> enableBackgroundDelivery(
Iterable<SpikeDataType> dataTypes,
) async {
if (!Platform.isIOS) {
return;
}
await NativeSDKBridge.enableBackgroundDelivery(
connectionId: connectionId,
types: dataTypes.map((item) => item.toNativeDataType()).toList(),
);
}