adaptyteam / AdaptySDK-iOS

iOS SDK for growing mobile in-app purchases
https://docs.adapty.io/docs/quickstart
MIT License
368 stars 38 forks source link

[BackgroundTask] Background Task 9 ("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. #52

Closed doganaysahins closed 2 years ago

doganaysahins commented 2 years ago

Hi, im gettin that error when I called makePurchase method

2022-09-21 19:15:46.240154+0300 WidgetCreatorApp[2573:408467] [BackgroundTask] Background Task 9 ("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.

after that its re init my main app, redirecting to inited view in swiftui. how can I handle that?