diff --git a/PadelClub/AppDelegate.swift b/PadelClub/AppDelegate.swift index a678151..f48fff5 100644 --- a/PadelClub/AppDelegate.swift +++ b/PadelClub/AppDelegate.swift @@ -22,6 +22,10 @@ class AppDelegate : NSObject, UIApplicationDelegate, UNUserNotificationCenterDel return true } + + func applicationWillEnterForeground(_ application: UIApplication) { + Guard.main.refreshPurchasedAppleProducts() + } // MARK: - Remote Notifications