-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Open
Labels
Description
Because WPAccount is written in Objective-C and has no nullability information there are situations in which accessing its properties can crash in swift. To compound this problem, sometimes they can occur at launch within signinForWPComFixingAuthToken. This leads to a situation in which the user must delete the app and reinstall.
Luckily, this specific situation arose from my working in signup code, and I think is very unlikely to happen in production (at least, not for the same reasons).
My preferred solution would be to rewrite the class in swift, but at the least we should accurately tag the properties with nullability attributes.
Reactions are currently unavailable
