Is InstallationID and fcmToken or token different or the same in Firebase. If they are different then how?
It is not clearly explained in the migration guide how they are different. It does mention though that how InstanceID is different from InstallationsID
It is mentioned in their docs about the token that
This creates a Firebase Installations ID, if one does not exist, and sends information about the application and the device to the Firebase backend. A network connection is required for the method to succeed.
This is even more confusing if someone is using the token API to register the token and then migration guide say we have to replace it with
Installations.installations().installationID { (id, error) in
if let error = error {
print("Error fetching id: \(error)")
return
}
guard let id = id else { return }
print("Installation ID: \(id)")
}