How to show geolocation permission prompt from InAppBrowser?

I’m building an app with InAppBrowser which open an external website that requires geolocation.
(I’m not using Capacitor Browser plugin because I want to hide the address bar and toolbar, which is impossible with Capacitor Browser plugin)

However, my app does not show the geolocation permission prompt, and the external website cannot retrieve the geolocation.

Is there any way to showgeolocation permission prompt from InAppBrowser?

import { InAppBrowser, InAppBrowserOptions  } from '@ionic-native/in-app-browser';

const options: InAppBrowserOptions = {
  zoom: 'no',
  location: 'no',  // this `location` means the URL address bar, not geolocation
  toolbar: 'no'
const initialUrl = ""
const browser = await InAppBrowser.create(initialUrl,'_self', options); 

For my Android app, I have the following lines in the AndroidManifest.xml

<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_BACKGROUND_LOCATION" />
<uses-feature android:name="android.hardware.location.gps" />