Skip to content

Uncaught exception: NSInvalidArgumentException: presentingViewController must be set. #169

Open
@romas34

Description

@romas34

Build for iOS.
Second authentication via Google account leads to application crash.
Steps:

  • I first log into the client with Google account;
  • do logging out;
  • log in again with Google;
  • close client (remove from memory);
  • launch the client again;
  • do logging out;
  • try login in via google again;
  • get a crash of the system;

I see an error in the logs: Uncaught exception: NSInvalidArgumentException: presentingViewController must be set.

The same system crash (same exception) can be obtained if:

  • I first log into the client with Google account;
  • Hide application;
  • go to the system settings and change system language;
  • launch application again;
  • logging out from Google accout;
  • try sign in via google again;
  • get a crash of the system;

If restart the application after that, then everything will be fine.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions