|
|
@ -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( |
|
|
|