Toggle navigation
Toggle navigation
This project
Loading...
Sign in
open-source
/
warply_sdk_framework
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Graphs
Network
Create a new issue
Commits
Issue Boards
Authored by
Manos Chorianopoulos
2022-10-05 16:23:12 +0300
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
289e0f799f63c82192e75c8bd40f17835cb82d36
289e0f79
1 parent
2e565b69
added redeemCouponSet new popup
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
SwiftWarplyFramework/SwiftWarplyFramework/CouponViewController.swift
SwiftWarplyFramework/SwiftWarplyFramework/CouponViewController.swift
View file @
289e0f7
...
...
@@ -202,6 +202,16 @@ import SwiftEventBus
self
.
showDialog
(
"Αποτυχία"
,
"Δεν έχεις αρκετούς πόντους"
)
}
else
if
(
response
?
.
getStatus
==
6
)
{
let
firebaseEvent
=
swiftApi
.
LoyaltySDKFirebaseEventModel
()
firebaseEvent
.
_eventName
=
"loyalty_offer_activated"
firebaseEvent
.
setParameter
=
(
"name"
,
(
self
.
couponset
?
.
name
??
""
))
firebaseEvent
.
setParameter
=
(
"type"
,
"coupon"
)
firebaseEvent
.
setParameter
=
(
"successful"
,
"false"
)
SwiftEventBus
.
post
(
"firebase"
,
sender
:
firebaseEvent
)
self
.
showDialog
(
"H προσφορά δεν είναι πλέον διαθέσιμη"
,
"Μείνε συντονισμένος για νέες προσφορές και κουπόνια."
)
}
else
{
let
firebaseEvent
=
swiftApi
.
LoyaltySDKFirebaseEventModel
()
firebaseEvent
.
_eventName
=
"loyalty_offer_activated"
...
...
Please
register
or
login
to post a comment