firestore_all 0.1.0 copy "firestore_all: ^0.1.0" to clipboard
firestore_all: ^0.1.0 copied to clipboard

outdated

Firestore wrapper for Flutter web and mobile

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 #

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

Publisher

unverified uploader

Firestore wrapper for Flutter web and mobile

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

cloud_firestore, firebase, flutter

More

Packages that depend on firestore_all