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
89286564
Commit
89286564
authored
Oct 15, 2021
by
Dmitry Stepanets
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feature/IOS-290-moengage-os' into develop
parents
87646ff1
286fac0f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
0 deletions
+6
-0
1Weather/AppDelegate.swift
+2
-0
OneWeatherAnalytics/OneWeatherAnalytics/AnalyticsAttribute.swift
+4
-0
No files found.
1Weather/AppDelegate.swift
View file @
89286564
...
...
@@ -50,6 +50,8 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
func
application
(
_
application
:
UIApplication
,
didFinishLaunchingWithOptions
launchOptions
:
[
UIApplication
.
LaunchOptionsKey
:
Any
]?)
->
Bool
{
settings
.
appDelegate
=
self
settings
.
delegate
.
add
(
delegate
:
self
)
//Set platform for analytics
analytics
(
set
:
.
userPlatform
,
to
:
"iOS"
)
ThemeManager
.
refreshAppearance
()
UserDefaults
.
migrateUserDefaultsToAppGroupsIfNeeded
()
...
...
OneWeatherAnalytics/OneWeatherAnalytics/AnalyticsAttribute.swift
View file @
89286564
...
...
@@ -12,6 +12,8 @@ public enum AnalyticsAttribute {
case
lastSeenCity
case
fipsList
case
lastSeenFipsCodeNonTracfone
/// iOS/Android
case
userPlatform
/// True/False; Wether the splash screen has been shown to the user for the first time or not.
case
splashFTUE
case
att
...
...
@@ -29,6 +31,8 @@ public enum AnalyticsAttribute {
return
"SPLASH_FTUE"
case
.
att
:
return
"ATT"
case
.
userPlatform
:
return
"USER_PLATFORM"
}
}
}
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