above code, the result of alert is false, isn't turned to true, so i think useJsApiLoader is not load api success.
work fine in computer browser and ReactNative IOS environment, but not work in android device browser and app webview env.
help me ~~~
Your Environment
os: android
node --v16.16.0
react version v18
webpack version 5
@babel version
@react-google-maps/api version
How does it behave?
How should it behave correctly?
Basic implementation of incorrect behavior in codesandbox.com
Issue template
import { Autocomplete, useJsApiLoader } from "@react-google-maps/api"; export function Positions () { const { isLoaded, loadError } = useJsApiLoader({ googleMapsApiKey: "xxxxx", libraries: ["places"], id: "__googleMapsScriptId", });
}
Please provide an explanation of the issue
above code, the result of alert is false, isn't turned to true, so i think useJsApiLoader is not load api success. work fine in computer browser and ReactNative IOS environment, but not work in android device browser and app webview env. help me ~~~
Your Environment
os: android
node --v16.16.0
react version v18
webpack version 5
@babel version
@react-google-maps/api version
How does it behave?
How should it behave correctly?
Basic implementation of incorrect behavior in codesandbox.com