Skip to content
This repository was archived by the owner on Jul 2, 2025. It is now read-only.
This repository was archived by the owner on Jul 2, 2025. It is now read-only.

Cancelling google sign in on ios gives wrong error #426

Description

@vonovak

Describe your environment

  • Device: iphone x simulator
  • OS version: ios 13 sorry, it was 12.4
  • SDK version: google sign in sdk 5.0.0 and 5.0.1
  • [Android] Google Play Services version: not relevant

Describe the problem:

Canceling the sign in process leads to kGIDSignInErrorCodeUnknown instead of kGIDSignInErrorCodeCanceled. Please NOTE that I am able to sign in successfully if I don't cancel the flow.

Steps to reproduce:

  1. integrate sign in
  2. tap login in
  3. tap cancel in the login modal (see 1st screenshot)
  4. the delegate is called with wrong error (see 2nd screenshot)

Screenshot 2019-10-02 at 11 25 26

Screenshot 2019-10-02 at 11 39 28

Observed Results:

  • the delegate is called with kGIDSignInErrorCodeUnknown

Expected Results:

  • the delegate is called with kGIDSignInErrorCodeCanceled as covered in docs

Relevant Code:

// just use the sample app

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions