uber / uber-ios-sdk

Uber iOS SDK (beta)
https://developer.uber.com/docs
MIT License
375 stars 125 forks source link

User cancelled the login - Swift 3 bug #162

Closed Avinodh closed 7 years ago

Avinodh commented 7 years ago

Hi! I'm facing the following issue: After clicking the Uber Login Button in my app, I get redirected to the native Uber app where I click "Allow". However, I see the following error in the console once I am redirected back to my app: Error Domain=com.uber.rides-ios-sdk.ridesAuthenticationError Code=25 "User cancelled the login process." UserInfo={NSLocalizedDescription=User cancelled the login process.}

Using Swift 3. Would appreciate any help!

avianydo commented 7 years ago

This happens to me also, on Swift 2.3. Any solution to that problem @Avinodh ?

edjiang commented 7 years ago

Duplicate of #90. I'll be looking into this as part of enhancements to the SDK. However, I don't anticipate that we will update the Swift 2.3 version with any fixes.