Skip to content
This repository was archived by the owner on Mar 15, 2018. It is now read-only.

New API for receipt checks on start (bug 981235) - #15

Merged
kumar303 merged 2 commits into
mozilla:masterfrom
kumar303:init-api
Jun 12, 2014
Merged

New API for receipt checks on start (bug 981235)#15
kumar303 merged 2 commits into
mozilla:masterfrom
kumar303:init-api

Conversation

@kumar303

Copy link
Copy Markdown
Contributor

Any r on the new API? You could ignore all the diff churn and just check the readme.

This change sets the stage for receipt verification which needs to happen when an app first loads. The purchase function will now invoke the same onpurchase() callback as receipt restoration would. However, receipt restoration will land in a future bug.

@kumar303

Copy link
Copy Markdown
Contributor Author

Got some great feedback from @mstriemer. The purchase callback is now inline which makes code easier to read. The init callbacks are still in flux; those are coming next.

kumar303 added a commit that referenced this pull request Jun 12, 2014
New API for receipt checks on start (bug 981235)
@kumar303
kumar303 merged commit 6a97ac4 into mozilla:master Jun 12, 2014
@kumar303
kumar303 deleted the init-api branch June 12, 2014 21:05
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant