setEnableWebApplePayReadiness method
Measure Apple Pay readiness at the external web checkout origin and report it to Helium. iOS only; no-op on Android.
Implementation
@override
Future<void> setEnableWebApplePayReadiness(bool enabled) async {
if (!Platform.isIOS) {
log('[Helium] setEnableWebApplePayReadiness is only available on iOS');
return;
}
try {
await methodChannel.invokeMethod<void>(
setEnableWebApplePayReadinessMethodName,
enabled,
);
} catch (e) {
log('[Helium] Failed to set enableWebApplePayReadiness: $e');
}
}