2016-05-24 13 views
0

UberRides Githubのドキュメントに従って、私のアプリでUber SDKを設定しました。 「Uberと一緒に乗る」をタップするとログインページにリダイレクトされ、メールとパスワードを入力すると、IphoneとAndroid SDKの両方で「認証に問題がありました。もう一度やり直してください」というエラーが表示されます。 私はあまりにも多くの助けを提供することはできません任意のコードなしで乗車要求ボタンUber SDK認証、ログインボタンをタップするとき

// Pass in a UIViewController to modally present the Ride Request Widget over 
    id<UBSDKRideRequesting> behavior = [[UBSDKRideRequestViewRequestingBehavior alloc] initWithPresentingViewController: self]; 
    // Optional, defaults to using the user’s current location for pickup 
    CLLocation *location = [[CLLocation alloc] initWithLatitude: 37.787654 longitude: -122.402760]; 
    UBSDKRideParametersBuilder *builder = [[UBSDKRideParametersBuilder alloc] init]; 
    [builder setPickupLocation:location]; 
    UBSDKRideParameters *parameters = [builder build]; 
    UBSDKRideRequestButton *button = [[UBSDKRideRequestButton alloc] initWithRideParameters: parameters requestingBehavior: behavior]; 
    [self.view addSubview:button]; and also followed the link for intergration "https://github.com/uber/rides-ios-sdk" 

答えて

0

ため、このコードを使用していますが、Developer Dashboardから正しい情報を使用してアプリケーションを構成していることを確認するためにチェックしていますか? クライアントIDリダイレクトURIを、あなたのアプリに記載したものと正確に一致させる必要があります。 (This issue might help

それ以外の場合は、RideRequestButton

の実装を確認する必要があります
関連する問題