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"