-
Notifications
You must be signed in to change notification settings - Fork 179
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Non-backwards compatible changes. Closes #52, closes #90. #92
base: master
Are you sure you want to change the base?
Conversation
… fail for other reasons
@ludocrazy Not sure, will check. BTW, thanks for answering a few issues! You're awesome. |
Any reason not to pass the Transaction object to onPurchaseStateChanged instead of pieces? I recently made this change in order to add analytics and needed orderId and developerPayload. On a related note, any reason for the public Transaction fields not to be 'final'? |
@jgilbert42 Initially I wanted to keep onPurchaseStateChanged simple but given that it's fairly common to require the orderId or the developerPayload, it might be time to change this. Might do it before merging this pull request. Thanks for bringing this up. Regarding using final for the Transaction fields, I don't see what could be gained from it. Do you? |
@hpique Regarding using final for the Transaction fields, I don't see what could be gained from it. Do you? Not much really, but since AFAIK there's no reason they're modified directly it might help new developers to avoid mistakes if it is passed to onPurchaseStateChanged. Transactions appear to be stored before onPurchaseStateChanged is called anyway. More of a documentation in code type thought. A transaction does represent the signed payload that people shouldn't be modifying. |
Hello, I am new to this library. I'm wondering if I should be starting with this branch rather than master. It appears to have some significant bug fixes not present in master. Can someone who is knowledgeable let me know the best repo/branch to start from? Thanks. |
@jayschwa This pull request will be eventually merged with master, and as far as I know it doesn't introduce any new bugs. There's still a few things I'd like to change before merging it, though, so it might be best to wait before using it in production code. |
Is this library still supported? Or should be jump to using something else? |
I haven't been able to update it in while, sadly. I've seen a few forks that are active, and you're more than welcome to Hermes Pique Head Robot* Like us on Facebook: http://facebook.com/robotmedia Twitter: @hpique Carrer de Nàpols, 187 9º
Create Memorable Stories with Storybuilder! Request an Invite @ On Tue, Jul 16, 2013 at 5:11 PM, Magnesus [email protected] wrote:
|
requestPurchase
orrequestSubscription
. Please make sure this doesn't break your app.orderId
toIBillingObserver.onPurchaseStateChanged
. This is particularly useful to differentiate between different orders of the same unmanaged item, and in general makes it simpler to track orders.