From ed04e4b3530f0e2500303452866944cbbbf63e32 Mon Sep 17 00:00:00 2001 From: Mike Monteith Date: Mon, 13 Feb 2017 17:51:04 +0000 Subject: [PATCH] Prevent crash on error#localizedFailureReason Fixes #256 --- ios/Firestack/FirestackAuth.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ios/Firestack/FirestackAuth.m b/ios/Firestack/FirestackAuth.m index 6d45075..6ce0a37 100644 --- a/ios/Firestack/FirestackAuth.m +++ b/ios/Firestack/FirestackAuth.m @@ -159,7 +159,7 @@ @implementation FirestackAuth props: @{ @"eventName": @"userTokenError", @"authenticated": @((BOOL)false), - @"errorMessage": [error localizedFailureReason] + @"errorMessage": [error localizedDescription] }]; } else { [self