Showing
14 changed files
with
55 additions
and
2 deletions
| ... | @@ -7,7 +7,7 @@ | ... | @@ -7,7 +7,7 @@ |
| 7 | <key>Pods-SwiftWarplyFramework.xcscheme_^#shared#^_</key> | 7 | <key>Pods-SwiftWarplyFramework.xcscheme_^#shared#^_</key> |
| 8 | <dict> | 8 | <dict> |
| 9 | <key>orderHint</key> | 9 | <key>orderHint</key> |
| 10 | - <integer>1</integer> | 10 | + <integer>0</integer> |
| 11 | </dict> | 11 | </dict> |
| 12 | </dict> | 12 | </dict> |
| 13 | </dict> | 13 | </dict> | ... | ... |
| ... | @@ -7,7 +7,7 @@ | ... | @@ -7,7 +7,7 @@ |
| 7 | <key>SwiftWarplyFramework.xcscheme_^#shared#^_</key> | 7 | <key>SwiftWarplyFramework.xcscheme_^#shared#^_</key> |
| 8 | <dict> | 8 | <dict> |
| 9 | <key>orderHint</key> | 9 | <key>orderHint</key> |
| 10 | - <integer>0</integer> | 10 | + <integer>1</integer> |
| 11 | </dict> | 11 | </dict> |
| 12 | </dict> | 12 | </dict> |
| 13 | </dict> | 13 | </dict> | ... | ... |
No preview for this file type
| ... | @@ -84,6 +84,14 @@ import SwiftEventBus | ... | @@ -84,6 +84,14 @@ import SwiftEventBus |
| 84 | 84 | ||
| 85 | } | 85 | } |
| 86 | 86 | ||
| 87 | + public override func viewWillAppear(_ animated: Bool) { | ||
| 88 | + super.viewWillAppear(animated) | ||
| 89 | + | ||
| 90 | + swiftApi().logTrackersEvent("screen", "ContextualScreen") | ||
| 91 | + | ||
| 92 | + } | ||
| 93 | + | ||
| 94 | + | ||
| 87 | // MARK: - Functions | 95 | // MARK: - Functions |
| 88 | func showConfirmDialog() -> Void { | 96 | func showConfirmDialog() -> Void { |
| 89 | 97 | ... | ... |
| ... | @@ -171,6 +171,13 @@ import AVFoundation | ... | @@ -171,6 +171,13 @@ import AVFoundation |
| 171 | 171 | ||
| 172 | } | 172 | } |
| 173 | 173 | ||
| 174 | + public override func viewWillAppear(_ animated: Bool) { | ||
| 175 | + super.viewWillAppear(animated) | ||
| 176 | + | ||
| 177 | + swiftApi().logTrackersEvent("screen", "CouponScreen") | ||
| 178 | + | ||
| 179 | + } | ||
| 180 | + | ||
| 174 | // MARK: - Functions | 181 | // MARK: - Functions |
| 175 | func toggleTerms() { | 182 | func toggleTerms() { |
| 176 | if (termsVisible) { | 183 | if (termsVisible) { | ... | ... |
| ... | @@ -112,6 +112,13 @@ import SwiftEventBus | ... | @@ -112,6 +112,13 @@ import SwiftEventBus |
| 112 | 112 | ||
| 113 | } | 113 | } |
| 114 | 114 | ||
| 115 | + public override func viewWillAppear(_ animated: Bool) { | ||
| 116 | + super.viewWillAppear(animated) | ||
| 117 | + | ||
| 118 | + swiftApi().logTrackersEvent("screen", "CouponsetScreen") | ||
| 119 | + | ||
| 120 | + } | ||
| 121 | + | ||
| 115 | // MARK: - Functions | 122 | // MARK: - Functions |
| 116 | func nonTelcoDialog(_ alertTitle: String, _ alertSubTitle: String) -> Void { | 123 | func nonTelcoDialog(_ alertTitle: String, _ alertSubTitle: String) -> Void { |
| 117 | 124 | ... | ... |
| ... | @@ -39,6 +39,8 @@ import SwiftEventBus | ... | @@ -39,6 +39,8 @@ import SwiftEventBus |
| 39 | public override func viewWillAppear(_ animated: Bool) { | 39 | public override func viewWillAppear(_ animated: Bool) { |
| 40 | super.viewWillAppear(animated) | 40 | super.viewWillAppear(animated) |
| 41 | 41 | ||
| 42 | + swiftApi().logTrackersEvent("screen", "ActiveCouponsScreen") | ||
| 43 | + | ||
| 42 | self.coupons = swiftApi().getCouponList() | 44 | self.coupons = swiftApi().getCouponList() |
| 43 | self.tableView.reloadData() | 45 | self.tableView.reloadData() |
| 44 | 46 | ... | ... |
| ... | @@ -90,6 +90,8 @@ import SwiftEventBus | ... | @@ -90,6 +90,8 @@ import SwiftEventBus |
| 90 | public override func viewWillAppear(_ animated: Bool) { | 90 | public override func viewWillAppear(_ animated: Bool) { |
| 91 | super.viewWillAppear(animated) | 91 | super.viewWillAppear(animated) |
| 92 | 92 | ||
| 93 | + swiftApi().logTrackersEvent("screen", "GiftsForYouScreen") | ||
| 94 | + | ||
| 93 | self.refreshData() | 95 | self.refreshData() |
| 94 | 96 | ||
| 95 | self.startTimer() | 97 | self.startTimer() | ... | ... |
| ... | @@ -64,6 +64,8 @@ import SwiftEventBus | ... | @@ -64,6 +64,8 @@ import SwiftEventBus |
| 64 | public override func viewWillAppear(_ animated: Bool) { | 64 | public override func viewWillAppear(_ animated: Bool) { |
| 65 | super.viewWillAppear(animated) | 65 | super.viewWillAppear(animated) |
| 66 | 66 | ||
| 67 | + swiftApi().logTrackersEvent("screen", "LoyaltyHistoryScreen") | ||
| 68 | + | ||
| 67 | self.startTimer() | 69 | self.startTimer() |
| 68 | } | 70 | } |
| 69 | 71 | ... | ... |
| ... | @@ -81,6 +81,8 @@ import SwiftEventBus | ... | @@ -81,6 +81,8 @@ import SwiftEventBus |
| 81 | public override func viewWillAppear(_ animated: Bool) { | 81 | public override func viewWillAppear(_ animated: Bool) { |
| 82 | super.viewWillAppear(animated) | 82 | super.viewWillAppear(animated) |
| 83 | 83 | ||
| 84 | + swiftApi().logTrackersEvent("screen", "MoreForYouScreen") | ||
| 85 | + | ||
| 84 | self.refreshData() | 86 | self.refreshData() |
| 85 | 87 | ||
| 86 | self.startTimer() | 88 | self.startTimer() | ... | ... |
| ... | @@ -99,6 +99,13 @@ import MapKit | ... | @@ -99,6 +99,13 @@ import MapKit |
| 99 | load() | 99 | load() |
| 100 | } | 100 | } |
| 101 | 101 | ||
| 102 | + public override func viewWillAppear(_ animated: Bool) { | ||
| 103 | + super.viewWillAppear(animated) | ||
| 104 | + | ||
| 105 | + swiftApi().logTrackersEvent("screen", "ShopsScreen") | ||
| 106 | + | ||
| 107 | + } | ||
| 108 | + | ||
| 102 | // mvp | 109 | // mvp |
| 103 | @objc func load() { | 110 | @objc func load() { |
| 104 | 111 | ... | ... |
| ... | @@ -111,6 +111,13 @@ import SwiftEventBus | ... | @@ -111,6 +111,13 @@ import SwiftEventBus |
| 111 | 111 | ||
| 112 | } | 112 | } |
| 113 | 113 | ||
| 114 | + public override func viewWillAppear(_ animated: Bool) { | ||
| 115 | + super.viewWillAppear(animated) | ||
| 116 | + | ||
| 117 | + swiftApi().logTrackersEvent("screen", "CouponShareScreen") | ||
| 118 | + | ||
| 119 | + } | ||
| 120 | + | ||
| 114 | deinit { | 121 | deinit { |
| 115 | NotificationCenter.default.removeObserver(self) | 122 | NotificationCenter.default.removeObserver(self) |
| 116 | } | 123 | } | ... | ... |
| ... | @@ -124,6 +124,13 @@ import SwiftEventBus | ... | @@ -124,6 +124,13 @@ import SwiftEventBus |
| 124 | toggleMore() | 124 | toggleMore() |
| 125 | } | 125 | } |
| 126 | 126 | ||
| 127 | + public override func viewWillAppear(_ animated: Bool) { | ||
| 128 | + super.viewWillAppear(animated) | ||
| 129 | + | ||
| 130 | + swiftApi().logTrackersEvent("screen", "TelcoScreen") | ||
| 131 | + | ||
| 132 | + } | ||
| 133 | + | ||
| 127 | // MARK: - Functions | 134 | // MARK: - Functions |
| 128 | func toggleMore() { | 135 | func toggleMore() { |
| 129 | if (moreVisible) { | 136 | if (moreVisible) { | ... | ... |
| ... | @@ -291,6 +291,8 @@ import SwiftEventBus | ... | @@ -291,6 +291,8 @@ import SwiftEventBus |
| 291 | 291 | ||
| 292 | public override func viewWillAppear(_ animated: Bool) { | 292 | public override func viewWillAppear(_ animated: Bool) { |
| 293 | super.viewWillAppear(animated) | 293 | super.viewWillAppear(animated) |
| 294 | + | ||
| 295 | + swiftApi().logTrackersEvent("screen", "LoyaltyWalletScreen") | ||
| 294 | 296 | ||
| 295 | addNavShadow() | 297 | addNavShadow() |
| 296 | 298 | ... | ... |
-
Please register or login to post a comment