Is there a way to trigger an event when an error occurs in the iOS Mobile SDK?

haveamission
Contributor
Contributor

I understand that the iOS Mobile SDK is deprecated, and we're investigating the best way forward to remove it, however in the meantime, we need an error modal to popup when a user puts in a wrong password as this is causing a lot of user issues where they think it is related to our application.

 

I've got the following code:

 

        let vc = PayPalProfileSharingViewController.init(scopeValues: scopeValues, configuration: config, delegate: self)

        self.present(vc!, animated: true, completion: nil)

 

All the values are correct, but what I would like is if I could do some arbitrary event (in my case, popup a modal) when the user puts in an incorrect username or password. There does not appear to be any method to do this in the SDK.

Login to Me Too
0 REPLIES 0

Haven't Found your Answer?

It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.