Browse Source

2.7.0 release

pull/1/head
InKwon James Kim 5 years ago
parent
commit
3b8264bd7b
  1. 7
      GME Remit/AppDelegate.swift

7
GME Remit/AppDelegate.swift

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

Loading…
Cancel
Save