Skip to content

🐛 Bug: Map not showing in production (Flutter Web + OMS Plugin) #601

Description

Description:
First of all, thank you for this amazing mapping tool.
I’m using the OMS plugin in a Flutter Web project, and everything works perfectly in the development environment.
However, when I deploy the app to Firebase Hosting (production), the map does not display and no actions are performed.

In the browser console, the following error appears:


viewId : 0
frame_map_1
Unrecognized feature: 'cross-origin-anonymous'. main.dart.js:117602
idMap 0
in init _mapId 1 main.dart.js:35096
Uncaught Error main.dart.js:6313
    at mn.brV [as a] (main.dart.js:4543:23)
    at mn.bsd (main.dart.js:4514:10)
    at hA0.gSaE (main.dart.js:117438:32)
    at hA0.aDv (main.dart.js:117382:19)
    at main.dart.js:117872:15
    at ay7.a (main.dart.js:51421:63)
    at Object.cw (main.dart.js:5107:10)
    at i9.bDx (main.dart.js:117882:19)
    at i9.Pe (main.dart.js:117821:19)

POST webchannel_connection.ts:294
https://firestore.googleapis.com/google.firestore.v1.Firestore/Listen/...
net::ERR_BLOCKED_BY_CLIENT

Additional details:

Environment: Flutter Web

Hosting: Firebase Hosting

OMS version: Latest version (recently updated)

Works perfectly in development mode — the issue only occurs in production.

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions