Skip to content

Twitter login cancellation crashes app #1474

Closed
@ashish-naik

Description

@ashish-naik

I am using Twitter authentication without ParseUI framework.

When i initiate twitter auth session using PFTwitterUtils.logIn { (loggedInUser, error) in, the Twitter login page opens.

i am able to login using valid credentials.
But if i tap Cancel and then tap Return to app then app crashes with below error at line 61 in PFTwitterAuthenticationProvider.m

*** -[__NSPlaceholderDictionary initWithObjects:forKeys:count:]: attempt to insert nil object from objects[0]

Parse/TwitterUtils (1.17.3)
iOS 13.2.2 simulator

i tried breakpoints to catch flow in my code but crash happens before control returns to PFTwitterUtils.logIn { (loggedInUser, error)

What could be the issue?

Thanks
Ashish

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