Showing
1 changed file
with
10 additions
and
0 deletions
... | @@ -202,6 +202,16 @@ import SwiftEventBus | ... | @@ -202,6 +202,16 @@ import SwiftEventBus |
202 | 202 | ||
203 | self.showDialog("Αποτυχία","Δεν έχεις αρκετούς πόντους") | 203 | self.showDialog("Αποτυχία","Δεν έχεις αρκετούς πόντους") |
204 | 204 | ||
205 | + } else if (response?.getStatus == 6) { | ||
206 | + let firebaseEvent = swiftApi.LoyaltySDKFirebaseEventModel() | ||
207 | + firebaseEvent._eventName = "loyalty_offer_activated" | ||
208 | + firebaseEvent.setParameter = ("name", (self.couponset?.name ?? "")) | ||
209 | + firebaseEvent.setParameter = ("type", "coupon") | ||
210 | + firebaseEvent.setParameter = ("successful", "false") | ||
211 | + SwiftEventBus.post("firebase", sender: firebaseEvent) | ||
212 | + | ||
213 | + self.showDialog("H προσφορά δεν είναι πλέον διαθέσιμη","Μείνε συντονισμένος για νέες προσφορές και κουπόνια.") | ||
214 | + | ||
205 | } else { | 215 | } else { |
206 | let firebaseEvent = swiftApi.LoyaltySDKFirebaseEventModel() | 216 | let firebaseEvent = swiftApi.LoyaltySDKFirebaseEventModel() |
207 | firebaseEvent._eventName = "loyalty_offer_activated" | 217 | firebaseEvent._eventName = "loyalty_offer_activated" | ... | ... |
-
Please register or login to post a comment