SDK Modules
Last Updated: 06 May 2024Introduction
tip
Make Firebase Faster by Removing Modules!
Being able to select which features you need will reduce the amount of unnecessary, unused codes loaded. Also reduces Memory usage.
note
This is an optional feature and if used, it is only required for Firebase Services that you enable.
Modules represents functions or parts of the Firebase SDK. Not the whole SDK is always required. If modules are not removed, the whole Firebase SDK gets loaded. Removing Modules Allows you to select which features you will be using. Accordingly, it will load only the features that are needed.
SDK Properties - Remove Modules
- Specify each module in a new line
List of all Modules
SDK
deleteApp
Auth
createUserWithEmailAndPassworddeleteUsergetAdditionalUserInfolinkWithCredentiallinkWithPhoneNumberlinkWithPopuplinkWithRedirectonAuthStateChangedsendEmailVerificationsendPasswordResetEmailsetPersistencesignInAnonymouslysignInWithCredentialsignInWithEmailAndPasswordsignInWithPhoneNumbersignInWithPopupsignInWithRedirectsignInWithCustomTokensignOutunlinkupdateEmailupdatePasswordupdatePhoneNumberupdateProfileuseDeviceLanguageAuthCredentialEmailAuthCredentialEmailAuthProviderFacebookAuthProviderGithubAuthProviderGoogleAuthProviderOAuthProviderOAuthCredentialPhoneAuthCredentialPhoneAuthProviderRecaptchaVerifierTwitterAuthProvider
Realtime-Database
enableLoggingendAtendBeforeequalTogetgoOfflinegoOnlineincrementlimitToFirstlimitToLastoffonChildAddedonChildChangedonChildMovedonChildRemovedonDisconnectonValueorderByChildorderByKeyorderByValuepushqueryrefsetremoverunTransactionserverTimestampstartAfterstartAtupdate
Firestore
addDocarrayRemovearrayUnionclearIndexedDbPersistencecollectioncollectionGroupdeleteDocdeleteFielddisableNetworkdocdocumentIdenableIndexedDbPersistenceenableMultiTabIndexedDbPersistenceenableNetworkendAtendBeforegetDocgetDocFromCachegetDocFromServergetDocsincrementinitializeFirestorelimitlimitToLastloadBundlenamedQueryonSnapshotonSnapshotsInSyncorderByqueryrefEqualrunTransactionserverTimestampsetDocsetLogLevelsnapshotEqualstartAfterstartAtterminateupdateDocwaitForPendingWriteswherewriteBatch
Cloud Storage
deleteObjectgetDownloadURLgetMetadatalistlistAllrefupdateMetadatauploadBytesuploadBytesResumableuploadString
Analytics
getAnalyticsinitializeAnalyticslogEventsetAnalyticsCollectionEnabledsetUserIdsetUserProperties
App-Check
ReCaptchaV3ProviderReCaptchaEnterpriseProvidergetTokengetLimitedUseToken