issue_rtdb_controller_already_firing_event

此示例在 Flutter 中使用 Firebase 数据库 Web 会产生以下问题。

@firebase/database:
Error: Bad state: Cannot fire new event. Controller is already firing an event`

入门

- add firebase configuration for android `google-services.json` file with package `com.example.issue_rtdb_controller_already_firing_event`.
- update the `web/firebase-config.js` file with your Firebase configuration.
- add/update firebase database rules with the following:
    ```
    {
        "rules": {
            "data_logs": {
                ".indexOn": ["isLogged"],
                ".read": true,
                ".write": true,
            }
        }
    }
    ```
- Now you can run the app.

GitHub

查看 Github