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

Implement a function that check if user is in a subscription-free country #1355

Closed
tomivm opened this issue Feb 13, 2023 · 2 comments · Fixed by #1365
Closed

Implement a function that check if user is in a subscription-free country #1355

tomivm opened this issue Feb 13, 2023 · 2 comments · Fixed by #1365
Labels

Comments

@tomivm
Copy link
Collaborator

tomivm commented Feb 13, 2023

Actually, users from determined countries will need a Subscription to access premium features.
2 options could determine this.

  1. Use our own location state.
    One impediment to this option is the cases where users' location is not recognized.
    We need to create a scenario for this or bring those users out of the requirement
  2. Use Playstore product availability.
    We can check the availability of the products and in cases that any product is available, execute the requirement.
    One impediment to this option is an absence of internet connection or a connection failure that finishes in an empty product list.
@tomivm tomivm added the premiun label Feb 13, 2023
@tomivm
Copy link
Collaborator Author

tomivm commented Feb 14, 2023

Keeping in mind the behavior of 'getting products' explained on #1357 would be better to start using our own location state to determine if a user is in a subscription-free country.

@tomivm tomivm changed the title Define how determined countries need subscription to premium features Implement a function that check if user is in a subscription-free country Feb 14, 2023
@RodriSanchez1
Copy link
Collaborator

I was wrong, i just test this behavior of the app offline. The plugin saves the products internaly. The products are loaded no matters if you are offlline

@RodriSanchez1 RodriSanchez1 linked a pull request Feb 22, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants