androidOnPermissionRequest method

  1. @SupportedPlatforms.new(platforms: [AndroidPlatform()])
  2. @Deprecated("Use onPermissionRequest instead")
FutureOr<PermissionRequestResponse?>? androidOnPermissionRequest(
  1. String origin,
  2. List<String> resources
)

Use onPermissionRequest instead.

Officially Supported Platforms/Implementations:

  • Android WebView

Parameters - Officially Supported Platforms/Implementations:

  • origin: all platforms
  • resources: all platforms

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

Implementation

@SupportedPlatforms(platforms: [AndroidPlatform()])
@Deprecated("Use onPermissionRequest instead")
FutureOr<PermissionRequestResponse?>? androidOnPermissionRequest(
  String origin,
  List<String> resources,
) {
  return null;
}