useOnAjaxProgress property

bool? useOnAjaxProgress
getter/setter pair

Set to true to be able to listen at the PlatformWebViewCreationParams.onAjaxProgress event. Also, useShouldInterceptAjaxRequest must be set to true to take effect.

Due to the async nature of PlatformWebViewCreationParams.onAjaxProgress event implementation, using it could cause some issues, so, be careful when using it. In this case, you should implement your own logic using for example an UserScript overriding the XMLHttpRequest JavaScript object.

If the PlatformWebViewCreationParams.onAjaxProgress event is implemented and this value is null, it will be automatically inferred as true, otherwise, the default value is false. This logic will not be applied for PlatformInAppBrowser, where you must set the value manually.

Officially Supported Platforms/Implementations:

  • Android WebView
  • iOS WKWebView
  • macOS WKWebView

Implementation

bool? useOnAjaxProgress;