Skip to content

NSInternalInconsistencyException crash - Actions added to UIAlertController of style UIAlertActionStyleCancel must have a title when running in UIUserInterfaceIdiomPhone/Pad #483

Open

Description

Describe the bug

  • One of your localized strings for the cancel action is being returned as an empty string and crashing our app.
  • I suspect the issue is either on this line of code or this one

To Reproduce

When logging in your API needs to return the following error code.
One of your locales might be returning that empty string. We support the following in our app: Image

Expected behavior
App not to crash when that error is returned by your API

Screenshots

Environment

  • Device: iPhone 11, iPhone 12 Pro Max, iPhone 15 Pro Max, iPad Pro 13-inch (M4
  • OS: iOS 17.5.1, 17.6.1, iOS 18.0.1, iPad OS 17.5.1
  • Browser: [ e.g. Safari, Chrome, etc ]
  • GoogleSignIn SDK version: 7.1.0

Additional context

stack_trace_phone.txt
stack_trace_pad.txt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions