Last updated:
0 purchases
fireverse
Fireverse #
This package is made to use firebase for all Platforms.
As we know, currently the official packages for firebase do not yet support the windows-desktop version.
That's the reason, I made this package.
Basically, this package is a combination of FireDart and the official Firebase library.
TODO #
Firebase Auth
✅ Email Sign In
✅ Anonymous Sign In
❌ Google Login
✅ Register
✅ Reset Password
Firestore
✅ .snapshot
✅ .get
✅ .get (where) (windows)
✅ .get (where) (android/ios)
✅ .get (orderBy) (windows)
✅ .get (orderBy) (android/ios)
✅ .add
✅ .update
✅ .delete
✅ .deleteAll
Utility
❌ Timestamp
Firebase Messaging
❌
Documentation #
Initialize
await Fire.initialize(
apiKey: apiKey,
projectId: projectId,
appId: appId,
messagingSenderId: messagingSenderId,
);
copied to clipboard
Sign In
Fire.signIn(
email: "[email protected]",
password: "123456",
);
copied to clipboard
Sign Out
await Fire.signOut();
copied to clipboard
Firestore Add
await Fire.add(
collectionName: "product",
value: {
"product_name": "GTX Mouse",
"price": 12500,
},
);
copied to clipboard
Firestore Update
await Fire.update(
collectionName: "product",
docId: "B7NUBHGZJd7xNlxoYtsa",
value: {
"product_name": "GTX Mouse",
"price": 12500,
},
);
copied to clipboard
Firestore Delete
await Fire.delete(
collectionName: "product",
docId: "B7NUBHGZJd7xNlxoYtsa",
);
copied to clipboard
Firestore Delete All
await Fire.deleteAll(
collectionName: "product",
);
copied to clipboard
Firestore Snapshot
await Fire.snapshot(
collectionName: "product",
);
copied to clipboard
Firestore Get
await Fire.get(
collectionName: "product",
);
copied to clipboard
Firestore Get - Order By
await Fire.get(
collectionName: "product",
orderBy: FireOrder(
field: "created_at",
),
);
copied to clipboard
Firestore Get - Where & Order By
await Fire.get(
collectionName: "product",
where: [
FireWhereField(
field: "product_name",
isEqualTo: "GTX Mouse",
),
],
orderBy: FireOrder(
field: "created_at",
),
);
copied to clipboard
Firestore Get Document
var getRes = await Fire.get(
collectionName: "product/tD1Znfqjwvf8HwciFhY0v1NS87F3",
);
copied to clipboard
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.