tv_libs
v2.4.0
Published
I am here to save your live. Love you all!
Downloads
11
Readme
How to use?
class SetUp implements ServiceWorkerDelegate {
public applicationConfig(): FirebaseOptions {
return {
apiKey: "xxx",
authDomain: "xxx",
databaseURL: "xxx",
projectId: "xxx",
storageBucket: "xxx",
messagingSenderId: "xxx",
appId: "xxx",
measurementId: "xxx"
};
}
}
let application: FirebaseApplication = new FirebaseApplication(new SetUp());
let firestore: FireStoreWorker = new FireStoreWorker(application);
export { firestore };
Then, do anything you want
Thanks