Google Maps widget throws JSON FormatException in Test Mode

Database & APIs

When running Test Mode, the GoogleMap widget fails to get the current device location. The map loads, but centers on 0,0. The browser console shows a critical error: Uncaught Error: FormatException: SyntaxError: Unexpected token 's', "setImmedia"... is not valid JSON.

What have you tried so far?
  • Verified and enabled all necessary Google Maps APIs (Maps JavaScript, Geolocation, etc.) in Google Cloud.

  • API Key is correctly configured in FlutterFlow.

  • The error persists even on a brand new, empty page with only a GoogleMap widget.

  • There is no custom code in the project.

  • Browser location permissions are enabled.

This appears to be a bug in how the web build for Test Mode handles the Google Maps widget.

Did you check FlutterFlow's Documentation for this topic?
Yes
1 reply