uber / rides-ios-sdk

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

login is not working in UBER #225

Closed sanjeev1994 closed 6 years ago

sanjeev1994 commented 6 years ago

let scopes: [UberScope] = [.profile, .places, .request] let loginManager = LoginManager(loginType: .native) let loginButton = LoginButton(frame: CGRect.init(x: (self.view.frame.width/2)-130, y: 20, width: 260 , height: 50), scopes: scopes, loginManager: loginManager) loginButton.presentingViewController = self loginButton.delegate = self

This is my code when I pressed sign in it goes to uber app and bounces back to same app automatically.

edjiang commented 6 years ago

What's the error you get?

sanjeev1994 commented 6 years ago

It's working on my device while testing from the Xcode. When I release a build in testflight for others test it's not working. So I am not sure what error it's giving.

edjiang commented 6 years ago

You need to add the other users to your developers list for testing purposes, or get permission from Uber to use the request scope.

https://developer.uber.com/dashboard/

Go here, click on your app, and click on the Developers tab for more info.