applePayAPIEnabled property Null safety

bool applePayAPIEnabled
read / write

Set to true to enable Apple Pay API for the WebView at its first page load or on the next page load (using InAppWebViewController.setOptions). The default value is false.

IMPORTANT NOTE: As written in the official Safari 13 Release Notes, it won't work if any script injection APIs are 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.

Methods affected:

Options affected:

Events affected:

NOTE: available on iOS 13.0+.


bool applePayAPIEnabled;