Code Monkey home page Code Monkey logo

Comments (10)

faarwa avatar faarwa commented on July 17, 2024

Hi @akki6230, can you please verify if the Redirect URI configured in your app's Info.plist is the same as the one in your app settings on the Uber Developers Dashboard?

from rides-ios-sdk.

akki6230 avatar akki6230 commented on July 17, 2024

Very Thanks @faarwa you replied :) but I double checked both are same. :(

from rides-ios-sdk.

faarwa avatar faarwa commented on July 17, 2024

You mentioned that most of the time it crashes - would you be able to provide the call stack for the crash?

from rides-ios-sdk.

akki6230 avatar akki6230 commented on July 17, 2024

My redirect_URI format was wrong now it is not showing any error or crashes. Now it shows The Ride Request Widget encountered a problem ??

from rides-ios-sdk.

jbrophy17 avatar jbrophy17 commented on July 17, 2024

Sorry to hear you're still having trouble @akki6230. That error message should only be presented by the LoginManager when there is no internet connection. The text is incorrectly based on being used from within the Ride Request Widget and will be updated soon.

Can you confirm that the device you're testing on is connected to the internet?

from rides-ios-sdk.

akki6230 avatar akki6230 commented on July 17, 2024

Yes @jbrophy17, it is connected to Internet :). Now I again tried Quick Integration shows There was a problem authenticating you. Please try again. what I'm doing wrong right now??

from rides-ios-sdk.

jbrophy17 avatar jbrophy17 commented on July 17, 2024

Tough to tell without more information, but that message indicates a problem involving your access token (getting it, saving it, or the token itself). I would suggest clearing your access token (call TokenManager.deleteToken() before what you added from Quick integration) and trying again.

from rides-ios-sdk.

akki6230 avatar akki6230 commented on July 17, 2024

Firstly 👍 for you both.(@faarwa, @jbrophy17) :) for your instant help.
I tried but no success. Now it seems there is problem with my SDK Integration. So please at first let me clear about the redirect_URI -

  1. is redirect_URI is optional ? If it is then why it shows Invalid Redirect URI provided. or The server was unable to understand your request.
  2. Which format an UBER redirect_URI should have?? please mentation an example too. I'm sure I'm not adding a right redirect_URI.
    Please help me as you done so far.
    Thanks

from rides-ios-sdk.

jbrophy17 avatar jbrophy17 commented on July 17, 2024
  1. The redirect uri is not optional, you need to provide it for implicit grant login.
  2. The format can be any URL really, but I would suggest using a unique scheme for your app, so for example "myApp://connect". And "myApp://connect" is what you have in the developer dashboard AND in your plist (they must match)

from rides-ios-sdk.

akki6230 avatar akki6230 commented on July 17, 2024

Very Sorry I forgot to tell you that my problem was fixed. When I set UberRides.xcodeproj target/General/Linked Frameworks and Libraries - ObjectMapper.framework status to Required earlier it was Optional, set by me cause I was getting error something like Library not loaded ... image not found. but as I set it to Required again and added ObjectMapper.framework to My Projects/General/Embeded Binaries. Everything worked.
screen shot 2016-04-28 at 11 50 57 am

Thanks for your support too

from rides-ios-sdk.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.