What is the difference between app instance id and instance id in Firebase?
We can get the two different values seperatedly by:
print("app instance id: \(Analytics.appInstanceID())")
InstanceID.instanceID().getID { (idString, error) in
print("instance id: \(idString)")
}
Both of them seem to have the same behavior, which is they will be different after uninstalling and reinstalling the app. Then why does Firebase need to have two properties? I can not see the difference from the document.
Example values:
InstanceID.instanceID().getID(): fPuHFoJSGEJYsguI_2IPXF
Analytics.appInstanceID(): 8F1C7C2C9A554DECAF27DB6AEFF5B301