Skip to content
This repository was archived by the owner on Jun 7, 2020. It is now read-only.

Conversation

@filipealva
Copy link
Contributor

@RocketChat/ios

This crash is caused due to a nil serverURL when loading an AuthTableViewController. I couldn't reproduce it, so I took some actions that will prevent this crash from happening on any given scenario:

  • Stop forcing unwrap of AuthTableViewController and LoginTableViewController serverURL properties
  • Stop recomputing the url property from ConnectViewController at the time of injecting it into Auth or Login screens. Instead of doing that I just used the stored version of the URL that we set right after connecting and validating it, i.e. it will never be nil if the connection is working properly.

Closes #2385

…ng to present auth or login screens, use the property that is set right after validating the URL that was actually used to connect successfully
@filipealva filipealva added this to the 3.2.0 milestone Dec 3, 2018
Copy link
Contributor

@rafaelks rafaelks left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💯 ✅

@rafaelks rafaelks merged commit 39126b4 into develop Dec 3, 2018
@rafaelks rafaelks deleted the fix/auth-crash branch December 3, 2018 20:46
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.

3 participants