Firebase Database Web Unofficial
Firebase Database for flutter web apps. (UNOFFICIAL)
This is NOT official in any way shape or form. Dayton Square Roots and its developers are not affiliated with, nor endorsed by Google, Firebase, Flutter, or any other Google associations. This is a temporary solution until an official library is released.
Additional note: Sorting data is not yet supported. Due to the way that most browsers process JSON data, sorting is impossible. We're currently working on ways to get around this, and will update the code and this readme when we have overcome this limitation.
Add the following to your
dependencies: firebase_db_web_unofficial: ^0.0.2
And the following to your
<script src="https://api.daytonsquareroots.org/firebasedatabaseweb/v0.0.2/app.js" defer></script>
Alternatively, download the app.js file from GitHub, load it into your project, and reference it from your code.
Finally, follow the steps outlined in the Firebase Console for traditional Firebase Database web setup.
This package has been designed to mimick the Firebase Database package which only works on iOS and Android as of 9/25/2020. To begin, call
DatabaseRef ref = FirebaseDatabaseWeb.instance.reference();
DatabaseRef object has multiple methods, which can be explored assuming you're using any modern IDE, which, considering that you're using Flutter, I sure hope you are.
Given that this is a database we're talking about here, user information is prone to be exposed to the source code. FlutterFirebaseDatabaseWebUnofficial code does not make any logs, external requests, or disclose any information it processes from your database. The code processes the information it recieves 100% client side, and never discloses any of it anywhere else. That said, Dayton Square Roots, and its developers are not responsible for any lost, malformed, stolen, or tampered-with data.