A Firebase Firestore wrapper for Flutter that wraps cloud_firestore and firebase into a single API for use on both Flutter web and mobile.
Follow cloud_firestore setup instructions for mobile setup.
Add Firebase JavaScript libraries to html file and initialize your application with your variables.
<script src="https://www.gstatic.com/firebasejs/7.4.0/firebase-app.js"></script>
<script src="https://www.gstatic.com/firebasejs/7.4.0/firebase-firestore.js"></script>
<script>
firebase.initializeApp({
apiKey: "API KEY",
authDomain: "AUTH DOMAIN",
databaseURL: "DATABASE URL",
projectId: "PROJECT ID",
storageBucket: "STORAGE BUCKER URL",
appId: "APP ID",
messagingSenderId: "sender-id",
measurementId: "G-measurement-id"
});
</script>
See Example for details
- Add Unit Testing