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
5c356235
Commit
5c356235
authored
May 27, 2021
by
Demid Merzlyakov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
IOS-71: add Splash screen events and attributes.
parent
1cb9d692
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
0 deletions
+5
-0
1Weather/Analytics/AnalyticsEvent.swift
+3
-0
1Weather/UI/View controllers/SplashAnimation/SplashAnimationViewController.swift
+2
-0
No files found.
1Weather/Analytics/AnalyticsEvent.swift
View file @
5c356235
...
...
@@ -96,4 +96,7 @@ public enum AnalyticsEvent: String {
case
ANALYTICS_D3_RETAINED
=
"D3_RETAINED"
/// FTUE Funnel: When the user opens the app for the first time
case
ANALYTICS_FIRST_OPEN
=
"FIRST_OPEN"
/// Splash screen: Fired when a user sees the splash screen (for the first time)
case
ANALYTICS_FTUE_SPLASH_SEEN
=
"FTUE_SPLASH_SEEN"
}
1Weather/UI/View controllers/SplashAnimation/SplashAnimationViewController.swift
View file @
5c356235
...
...
@@ -59,6 +59,8 @@ class SplashAnimationViewController: UIViewController {
}
private
func
noCityAnimation
()
{
analytics
(
log
:
.
ANALYTICS_FTUE_SPLASH_SEEN
)
analytics
(
set
:
.
splashFTUE
,
to
:
true
)
self
.
animationView
?
.
play
(
completion
:
{[
weak
self
]
_
in
DispatchQueue
.
global
()
.
asyncAfter
(
deadline
:
.
now
()
+
0.5
)
{
self
?
.
appCoordinator
.
finishAnimation
()
...
...
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