coinbase / coinbase-bitmonet-sdk Goto Github PK
View Code? Open in Web Editor NEWDEPRECATED — Library to accept bitcoin payments in your Android App
License: BSD 2-Clause "Simplified" License
DEPRECATED — Library to accept bitcoin payments in your Android App
License: BSD 2-Clause "Simplified" License
Please clarify how this is not a violation of Google's Terms of Service.
Would it be possible to add gradle files so this could easily be imported into Android Studio?
In the file CoinbasePaymentProcessor.java, constructJSONForSendMoney(final String item, final double amount) creates the json that will be submitted to the send_money endpoint of Coinbase.
This worked for me until Friday, and then I realized we were getting 404s back from Coinbase with this message: {"success":false,"errors":["Required parameter missing: transaction"]}
Looking at their documentation, it seems they've made it required to include a "transaction" object in this json. A quick fix would be to wrap what's currently provided in constructJSONForSendMoney in a "transaction", and then send that json.
When user has already been authorized, calling Bitmonet.requestWalletAuthorization(this); simply show a Toast message.
It would be nicer and cleaner to have the interface walletOAuthStatusListener(true); to be triggered, so that the code flow is the same for both logged in & non-logged in cases.
Licensing this under GPLv2 makes it impractical to use in a commercial/closed source project. Yeah I could possible load the dex and access it via reflection, and will likely do that if need be, but what a PITA.
Would appreciate an alternative apache or BSD license being available.
According to API docs, I set the redirect uri to be "urn:ietf:wg:oauth:2.0:oob"
The callback is having this format https://coinbase.com/oauth/authorize/ACCESS_TOKEN_HERE
While the current source code is looking for "?code=" pattern.
I have modified my own code to work with the newer format, but unsure if I should keep the old format for backward compatibility?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.