firestore_all 0.2.0

Flutter Android iOS web

Plugin that wraps Firestore from `firebase` and `cloud_firestore` packages and expose them as a single API.

firestore_all #

Plugin that wraps Firestore from firebase and cloud_firestore packages and expose them as a single API.

Getting Started #

Shared #

To get the Firestore instance use setupFirestore function.

var firestore = setupFirestore(
  webApiKey: 'apiKey',
  webAuthDomain: 'authDomain',
  webDatabaseUrl: 'databaseUrl',
  webProjectId: 'projectId',
  webStorageBucket: 'storageBucket',
);

Web #

Add following code to index.html in web directory.

<script src="https://www.gstatic.com/firebasejs/5.10.1/firebase-app.js"></script>
<script src="https://www.gstatic.com/firebasejs/5.10.1/firebase-firestore.js"></script>

TODO #

  • [x] Wrap Firestore from firebase package (for Flutter web)
  • [x] Wrap Firestore from cloud_firestore (for Flutter Android/iOS)
  • [ ] Test: Check if it's working on web
    • [x] snapshot streams
    • [x] add, update, edit
    • [ ] get document
  • [x] Test: Check if it's working on Android
  • [ ] Test: Check if it's working on iOS
  • [ ] Integrate with Firebase Auth
0
likes
90
pub points
18%
popularity

Plugin that wraps Firestore from `firebase` and `cloud_firestore` packages and expose them as a single API.

Repository (GitHub)
View/report issues

Documentation

API reference

Uploader

jaroslaw.butajlo@gmail.com

License

MIT (LICENSE)

Dependencies

cloud_firestore, firebase, flutter

More

Packages that depend on firestore_all