Skip to content
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

Feature/add additional checker #223

Merged
merged 2 commits into from
Dec 24, 2016

Conversation

MedetZhakupov
Copy link
Contributor

@MedetZhakupov MedetZhakupov commented Dec 23, 2016

@serggl as you asked to create a new branch, hence new PR to have a clean history I've done some changes. Please, have a look at changes.

Hi AnjLab, here is the brief explanation why I made those changes.
After having a meeting with google guys I found out that checking for "lab service" as you do here is not enough. We have an use case when we have to check first whether the lab is supported or not. Depending on that our payment page will show Iab as a payment option if it's supported.

Example:
If the phone does not have sim card your method will return true since it's just checking for the existence of the package name but eventually lab service won't work because there is no sim card installed.

I know that it's really rear case but we still want to cover it since we have more than 1 million active users worldwide.

Lastly, I am proposing to have this extra method to make it more reliable no matter what are the circumstances are. If I need one-time purchase I will check for that, if I need subscription I will check for that. Please give a comment if you have any concern. By the way, great library, keep it up!

@serggl serggl merged commit be44e81 into anjlab:master Dec 24, 2016
serggl added a commit that referenced this pull request Dec 24, 2016
showdpro pushed a commit to showdpro/android-inapp-billing-v3 that referenced this pull request Jul 13, 2021
* one time prodcut checker method

* Update README.md
showdpro pushed a commit to showdpro/android-inapp-billing-v3 that referenced this pull request Jul 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants