diff --git a/GME Remit/AppDelegate.swift b/GME Remit/AppDelegate.swift index a9360466..3170a62e 100644 --- a/GME Remit/AppDelegate.swift +++ b/GME Remit/AppDelegate.swift @@ -43,6 +43,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate { #if DEBUG NetworkActivityLogger.shared.startLogging() NetworkActivityLogger.shared.level = .debug + Bootpay.sharedInstance.appLaunch(application_id: "59a4d328396fa607b9e75de6") #endif IQKeyboardManager.shared.enable = true @@ -72,8 +73,6 @@ class AppDelegate: UIResponder, UIApplicationDelegate { StoreReviewHelper.shared.incrementAppOpenedCount() - Bootpay.sharedInstance.appLaunch(application_id: "59a4d328396fa607b9e75de6") - return true } @@ -142,11 +141,15 @@ class AppDelegate: UIResponder, UIApplicationDelegate { // MARK: BootPay func applicationWillResignActive(_ application: UIApplication) { + #if DEBUG Bootpay.sharedInstance.sessionActive(active: false) + #endif } func applicationDidBecomeActive(_ application: UIApplication) { + #if DEBUG Bootpay.sharedInstance.sessionActive(active: true) + #endif } func application(