Skip to content
This repository has been archived by the owner on Feb 21, 2024. It is now read-only.

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
soulfoodz committed Jan 3, 2020
1 parent 68398e7 commit 0781823
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 11 deletions.
10 changes: 1 addition & 9 deletions super-gluu/AppDelegate.swift
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate {

setupAppearance()

GADMobileAds.configure(withApplicationID: AppConfiguration.googleAdsId)
GADMobileAds.configure(withApplicationID: GluuConstants.GOOGLE_AD_ID)

setupSwiftyStoreKit()

Expand Down Expand Up @@ -171,19 +171,11 @@ class AppDelegate: UIResponder, UIApplicationDelegate {

}


func applicationDidEnterBackground(_ application: UIApplication) {

// rootVC.transitionToLandingNavigationViewController()

}

func applicationWillEnterForeground(_ application: UIApplication) {

// always update ad status when the user comes into the app
AdHandler.shared.refreshAdStatus()

// rootVC.transitionToLandingNavigationViewController()
rootVC.updateDisplay(nextState: RootState.security)
}

Expand Down
2 changes: 0 additions & 2 deletions super-gluu/Configuration/AppConfiguration.swift
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,4 @@ struct AppConfiguration {
static let systemLogIcon = UIImage(named: "icon_gluu_logo_log_details") ?? UIImage()
static let systemLogRedIcon = UIImage(named: "icon_gluu_logo_log_details_failed") ?? UIImage()
static let systemColor = UIColor.Gluu.green

static let googleAdsId = "ca-app-pub-3326465223655655~8301521230"
}
1 change: 1 addition & 0 deletions super-gluu/Configuration/Constants.swift
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ struct GluuConstants {
static let TERMS_OF_SERVICE = "https://gluu.org/docs/supergluu/user-guide/"

// Google Ads
static let GOOGLE_AD_ID = "ca-app-pub-3326465223655655~8301521230"
static let AD_UNIT_ID_BANNER = "ca-app-pub-3326465223655655/9778254436"
static let AD_UNIT_ID_INTERSTITIAL = "ca-app-pub-3326465223655655/1731023230"

Expand Down
1 change: 1 addition & 0 deletions super-gluu/Extensions/Color+Extension.swift
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,5 @@ extension UIColor {
static let tableBackground = UIColor(red: 247, green: 247, blue: 247)

}

}

0 comments on commit 0781823

Please sign in to comment.