This commit is contained in:
Lorenzo Pichilli 2021-02-10 21:29:45 +01:00
parent 906baa1f49
commit f94e489ced
2 changed files with 1 additions and 2 deletions

View File

@ -101,7 +101,6 @@ class _InAppWebViewExampleScreenState extends State<InAppWebViewExampleScreen> {
),
ios: IOSInAppWebViewOptions(
allowsInlineMediaPlayback: true,
applePayAPIEnabled: false,
// limitsNavigationsToAppBoundDomains: true // adds Service Worker API on iOS 14.0+
)
),

View File

@ -874,7 +874,7 @@ class IOSInAppWebViewOptions
///
///**IMPORTANT NOTE**: As written in the official [Safari 13 Release Notes](https://developer.apple.com/documentation/safari-release-notes/safari-13-release-notes#Payment-Request-API),
///it won't work if any script injection APIs is used (such as [InAppWebViewController.evaluateJavascript] or [UserScript]).
///So, when this attribute is `true`, all the methods, options and events implemented using JavaScript won't be called or won't do anything and the result will always be `null`.
///So, when this attribute is `true`, all the methods, options, and events implemented using JavaScript won't be called or won't do anything and the result will always be `null`.
///
///Methods affected:
///- [InAppWebViewController.addUserScript]