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

Fix android tip jar refunds #341

Merged
merged 9 commits into from
Nov 5, 2023
Merged

Fix android tip jar refunds #341

merged 9 commits into from
Nov 5, 2023

Conversation

guytepper
Copy link
Member

Tipping on Android were always refunded after a few days.
The reason is that we didn't flush the purchase ("acknowledge" it to the play store):

your app must then acknowledge the purchase. This acknowledgement communicates to Google Play that you have granted entitlement for the purchase.

We had the flushing mechanism set in the TipJarScreen, but putting it there will possibly hav the flushing effect not run (if the user has exit the screen before it ran, or for whatever reason else. Putting in the main App component will ensure it'll be flushed, either in the current session or in the next app relaunch.

@guytepper guytepper marked this pull request as ready for review November 4, 2023 22:22
@guytepper guytepper merged commit df8a38c into main Nov 5, 2023
1 check failed
@guytepper guytepper deleted the fix-android-tip-jar-refunds branch November 5, 2023 14:00
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