androidOnGeolocationPermissionsShowPrompt method

  1. @SupportedPlatforms.new(platforms: [AndroidPlatform()])
  2. @Deprecated("Use onGeolocationPermissionsShowPrompt instead")
FutureOr<GeolocationPermissionShowPromptResponse?>? androidOnGeolocationPermissionsShowPrompt(
  1. String origin
)

Use onGeolocationPermissionsShowPrompt instead.

Officially Supported Platforms/Implementations:

  • Android WebView

Parameters - Officially Supported Platforms/Implementations:

  • origin: all platforms

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

Implementation

@SupportedPlatforms(platforms: [AndroidPlatform()])
@Deprecated("Use onGeolocationPermissionsShowPrompt instead")
FutureOr<GeolocationPermissionShowPromptResponse?>?
androidOnGeolocationPermissionsShowPrompt(String origin) {
  return null;
}