hasFirestore top-level property

bool get hasFirestore

Whether this build binds Firestore.

False unless the consuming app asked for it: hooks.user_defines.firebase_ffi.products: [auth, database, firestore]. Firestore's archives pull in gRPC, protobuf and abseil, so an app that does not reference them does not carry them.

Implementation

bool get hasFirestore {
  ensureLibraryLoaded();
  return fdbHaveFirestore() != 0;
}