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

eliminate background taskground task issue on iOS #661

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mohammad-rahchamani
Copy link

When I call fetchReceipt, I get a warning about not ending a background task (SKReceiptRefreshRequest).
Background Task 5 ("SKReceiptRefreshRequest"), was created over 30 seconds ago. In applications running in the background, this creates a risk of termination. Remember to call UIApplication.endBackgroundTask(_:) for your task in a timely manner to avoid this.
by canceling refreshReceiptRequest in the deinit, the warning is eliminated.

@frogg
Copy link
Contributor

frogg commented Nov 26, 2022

This is a great addition, should be merged!

@tikamsingh
Copy link

When you will update new release with this fixed.
Background Task 9 ("SKReceiptRefreshRequest"), was created over 30 seconds ago?

@hardikthakkar2208
Copy link

why the above change is still not merged in the latest branch?

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.

4 participants