Skip to content

Anaytics are disabed on plugin-ike environments due to inavalability of indexed db access(Might be feature request) #4372

Open
@softmarshmallow

Description

@softmarshmallow
[2021-01-30T20:02:18.179Z]  @firebase/analytics: Analytics: IndexedDB unavailable or restricted in this environment. Wrap initialization of analytics in analytics.isSupported() to prevent initialization in unsupported environments. Details: SecurityError: Failed to execute 'open' on 'IDBFactory': access to the Indexed Database API is denied in this context. (analytics/indexeddb-unavailable).

Bridged Assistant Console error with firebase

I'm trying to use firebase analytics on my figma plugin - Bridged Assistant, but i can't since figma plugin works on iframe, and the indexed db access is disabled.

But such platform like this provide its own database-like utils.
So here is my question / request.

  1. Plans for opting out index db usage? so it can be used generally on any environment. regardless with platform.
  2. Request: Provide middleware access so we can plug our own data storage feature. FB will only do the I/O with that provided database-like middleware.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions