Skip to content

Conversation

@ncooke3
Copy link
Member

@ncooke3 ncooke3 commented Nov 25, 2024

The class names was changed from FIRUserInfoImpl to UserInfoImpl, but the unarchiving older copies (pre name change) requires knowing the original ObjC name. The rest of the direct/transitive types from the User class's init?(coder:) look okay.

We actually do this for other classes, I just had to make the connection that the class wasn't being decoded because the pre-11 archive didn't have a blob mapping to "UserInfoImpl". The blob was mapping to "FIRUserInfoImpl".

@objc(FIRAuthAppCredential) // objc Needed for decoding old versions
class AuthAppCredential: NSObject, NSSecureCoding {

Fix #14011

@ncooke3 ncooke3 merged commit 19f36aa into main Nov 25, 2024
55 checks passed
@ncooke3 ncooke3 deleted the nc/fix-userimpl branch November 25, 2024 22:38
@firebase firebase locked and limited conversation to collaborators Dec 26, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Upgrading to 11.0.0+ causes user to get logged out.

3 participants