onFormResubmission method

  1. @SupportedPlatforms.new(platforms: [AndroidPlatform(apiName: 'WebViewClient.onFormResubmission', apiUrl: 'https://developer.android.com/reference/android/webkit/WebViewClient#onFormResubmission(android.webkit.WebView,%20android.os.Message,%20android.os.Message)')])
FutureOr<FormResubmissionAction?>? onFormResubmission(
  1. WebUri? url
)

As the host application if the browser should resend data as the requested page was a result of a POST. The default is to not resend the data.

Officially Supported Platforms/Implementations:

Parameters - Officially Supported Platforms/Implementations:

  • url: all platforms

Use the PlatformInAppBrowserEvents.isMethodSupported method to check if this method is supported at runtime.

Implementation

@SupportedPlatforms(
  platforms: [
    AndroidPlatform(
      apiName: 'WebViewClient.onFormResubmission',
      apiUrl:
          'https://developer.android.com/reference/android/webkit/WebViewClient#onFormResubmission(android.webkit.WebView,%20android.os.Message,%20android.os.Message)',
    ),
  ],
)
FutureOr<FormResubmissionAction?>? onFormResubmission(WebUri? url) {
  return null;
}