cloud_firestore_all 0.1.1+4 cloud_firestore_all: ^0.1.1+4 copied to clipboard
A Firebase Firestore wrapper for Flutter that wraps cloud_firestore and firebase into a single API for use on both Flutter web and mobile
Cross-Platform Cloud Firestore Plugin #
A Firebase Firestore wrapper for Flutter that wraps cloud_firestore and firebase into a single API for use on both Flutter web and mobile.
Setup #
Mobile #
Follow cloud_firestore setup instructions for mobile setup.
Web #
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
TODO #
- ❌ Add Unit Testing
- ❌ Test Compatibility