Commit 9dea0504 by Demid Merzlyakov

Flurry initialization fix.

parent 45e3113a
......@@ -14,8 +14,7 @@ import GoogleMobileAds
import Swarm
import DTBiOSSDK
private let WDT_APP_ID = "e3b73414"
private let WDT_APP_KEY = "25e8d6b72de3bcd528f7769b073cc335"
@main
class AppDelegate: UIResponder, UIApplicationDelegate {
......@@ -56,7 +55,8 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
flurrySession = flurrySession?.withDataSaleOptOut(!canCollectData)
}
Flurry.startSession("kFlurryPartnerId", with: FlurrySessionBuilder
Logger(componentName: "Flurry").info("Initialize Flurry.")
Flurry.startSession(kFlurryPartnerId, with: FlurrySessionBuilder
.init()
.withCrashReporting(false)
.withAppVersion(appVersion))
......@@ -65,10 +65,13 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
var moEngageConfig = MOSDKConfig(appID: kMoEngageAppId)
moEngageConfig.appGroupID = "group.com.onelouder.oneweather.MoEngage"
let moeLogger = Logger(componentName: "MoEngage")
#if DEBUG
moeLogger.info("Initialize MoEngage (TEST)")
MoEngage.enableSDKLogs(true)
MoEngage.sharedInstance().initializeTest(with: moEngageConfig, andLaunchOptions: launchOptions)
#else
moeLogger.info("Initialize MoEngage (LIVE)")
MoEngage.sharedInstance().initializeLive(with: moEngageConfig, andLaunchOptions: launchOptions)
#endif
......
......@@ -12,7 +12,11 @@ let kMoEngageAppId = "11PSBEC6K93IYU1AC8WIYADY"
let kEventInAppPurchasedCompleted = "EventInAppPurchasedCompleted"
let a9AppKey = "2e440b094f7c44b4bae7044b764c61ac"
let kAdMoPubInitializationAdUnitId = "05bff78d4a4245bd98ff6b595c134889"
let kFlurryPartnerId = "2HJTQGPKT6VHXYRHFQTD"
let kOLAppMetricsKey: String = "OLAppMetricsKey"
let WDT_APP_ID = "e3b73414"
let WDT_APP_KEY = "25e8d6b72de3bcd528f7769b073cc335"
//MARK: - InApp
let kInAppOneWeatherProId = "com.onelouder.oneweather.inapp1"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment