react-native-firestack icon indicating copy to clipboard operation
react-native-firestack copied to clipboard

Crash on iOS in userPropsFromFIRUserWithToken callback

Open Paul-Todd opened this issue 9 years ago • 1 comments

When the AUTH_CHANGED_EVENT returns back the result of the callback in userPropsFromFIRUserWithToken the "errorMessage" response looks for a localizedFailureReason property on the error object which is not present and an exception is thrown.

I see in the V3 branch this has been fixed already and the localizedFailureReason has been changed to the correct localizedDescription property.

Just adding this incase someone else gets hit by it until V3 is released

Paul-Todd avatar Feb 02 '17 10:02 Paul-Todd

hi Paul I"m seeing this crash in our app now too, timing couldn't be worse we're due for public beta tomorrow. I had raised an issue here (https://github.com/fullstackreact/react-native-firestack/issues/318) before I saw this ticket.

i can't quite see how we can get a hold of the fix for this crash issue ? could you lend a hand on that at all and point us in right direction ? many thanks.

ajonno avatar Mar 27 '17 13:03 ajonno