SDK Modules
Make Firebase Faster by Removing Modules!
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. Being able to select which features you need will reduce the amount of unnecessary, unused codes loaded. This greatly reduces Memory usage.
NOTE: Only required for Firebase Services that you enabled.
Remove Modules - SDK Properties
This is how you can specify which modules to remove
List of all Modules
SDK
deleteApp
Auth
createUserWithEmailAndPassword
deleteUser
getAdditionalUserInfo
linkWithCredential
linkWithPhoneNumber
linkWithPopup
linkWithRedirect
onAuthStateChanged
sendEmailVerification
sendPasswordResetEmail
setPersistence
signInAnonymously
signInWithCredential
signInWithEmailAndPassword
signInWithPhoneNumber
signInWithPopup
signInWithRedirect
signInWithCustomToken
signOut
unlink
updateEmail
updatePassword
updatePhoneNumber
updateProfile
useDeviceLanguage
AuthCredential
EmailAuthCredential
EmailAuthProvider
FacebookAuthProvider
GithubAuthProvider
GoogleAuthProvider
OAuthProvider
OAuthCredential
PhoneAuthCredential
PhoneAuthProvider
RecaptchaVerifier
TwitterAuthProvider
Realtime-Database
enableLogging
endAt
endBefore
equalTo
get
goOffline
goOnline
increment
limitToFirst
limitToLast
off
onChildAdded
onChildChanged
onChildMoved
onChildRemoved
onDisconnect
onValue
orderByChild
orderByKey
orderByValue
push
query
ref
set
remove
runTransaction
serverTimestamp
startAfter
startAt
update
Firestore
addDoc
arrayRemove
arrayUnion
clearIndexedDbPersistence
collection
collectionGroup
deleteDoc
deleteField
disableNetwork
doc
documentId
enableIndexedDbPersistence
enableMultiTabIndexedDbPersistence
enableNetwork
endAt
endBefore
getDoc
getDocFromCache
getDocFromServer
getDocs
increment
initializeFirestore
limit
limitToLast
loadBundle
namedQuery
onSnapshot
onSnapshotsInSync
orderBy
query
refEqual
runTransaction
serverTimestamp
setDoc
setLogLevel
snapshotEqual
startAfter
startAt
terminate
updateDoc
waitForPendingWrites
where
writeBatch
Cloud Storage
deleteObject
getDownloadURL
getMetadata
list
listAll
ref
updateMetadata
uploadBytes
uploadBytesResumable
uploadString
Analytics
getAnalytics
initializeAnalytics
logEvent
setAnalyticsCollectionEnabled
setUserId
setUserProperties
App-Check
ReCaptchaV3Provider
ReCaptchaEnterpriseProvider
getToken
getLimitedUseToken