Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
1
1weather
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Dmitriy Stepanets
1weather
Commits
9dea0504
Commit
9dea0504
authored
May 12, 2021
by
Demid Merzlyakov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Flurry initialization fix.
parent
45e3113a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
3 deletions
+10
-3
1Weather/AppDelegate.swift
+6
-3
1Weather/Common/Constants.swift
+4
-0
No files found.
1Weather/AppDelegate.swift
View file @
9dea0504
...
...
@@ -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
...
...
1Weather/Common/Constants.swift
View file @
9dea0504
...
...
@@ -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"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment