Skip to content

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