Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix crash that happens when Firebase API key gets revoked
Fixes fullstackreact#318 This has been really hard to reproduce and track down: When an API key gets revoked the stored auth token is not valid any more, causing this error. `error localizedFailureReason` doesn't contain anything in that case, so it's `nil`, causing Objective-C to crash as you can't have it as a value for a dictionary. It's probably save to have the default text here, but feel free to tweak it and modify the PR directly as necessary. Let me know if you have any other questions. I'm using `firestack` for my side project [wwdc.family](https://wwdc.family) 👍
- Loading branch information