Skip to content
This repository has been archived by the owner on Apr 7, 2020. It is now read-only.
/ cloud_firestore_all Public archive

A Firebase Firestore wrapper for Flutter that wraps cloud_firestore and firebase into a single API for use on both Flutter web and mobile

License

Notifications You must be signed in to change notification settings

Kab1r/cloud_firestore_all

Repository files navigation

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

About

A Firebase Firestore wrapper for Flutter that wraps cloud_firestore and firebase into a single API for use on both Flutter web and mobile

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published