Git Product home page Git Product logo

coinbase-ios-sdk's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

coinbase-ios-sdk's Issues

AFNetworking dependency

Just thought I would point out that AFNetworking is a dependency and it should be mentioned in the requirements section of the readme.

isAuthenicated doesn't work on relaunch

The isAuthenicated method will only return true after you have called one of the login methods. If you login successfully, then close down the application and relaunch it, calling isAuthenicated will return false, even though the correct auth code, and tokens are stored in the user defaults.

I'm not for sure the best way to solve this problem. Should isAuthenicated, check the data stored in the user defaults, instead of a boolean? You then have the problem of what to do if the access token is expired.

For my own application, I added a hasAuthCode method that checks if an auth code is present. I can use this to determine whether I need the user to login in or not. The access token will then be automatically refreshed when I make any requests. I didn't push this up, as I'm not for sure if this is the best solution for the library.

[Request]

I was wondering if it was possible to add an option to see the balance of multiple wallets instead of just picking one. I was also wondering if there was a way to implement a button in the drop down menu that would copy a current bitcoin address from your main wallet to the clipboard.

Invalid Redirect URI

When trying to use the authentication aspect of the library, coinbase says the supplied redirect URI is invalid. If you try to login with the sample application, you will see this error. After reading over the coinbase API documentation, it says for mobile/desktop apps, a redirect URI of urn:ietf:wg:oauth:2.0:oob should be used. I'm guessing the API has changed since the creation this library. I modified the library to use this redirect URI and I am able to authenticate with coinbase, but then the redirect from safari back to the example app is broken. I guessing instead of launching safari, you have to use a UIWebView in the example application and detect when the page changes to get the auth code.

http://coinbase.com/docs/api/authentication#oauth2

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.