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-06-28 18:40:49 +0300
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
bcf95de88f28f1a745b4e9ece4a08698dbeb2cc7
bcf95de8
1 parent
4c7c737e
fix constructCcmsUrl logs
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
SwiftWarplyFramework/SwiftWarplyFramework/swiftApi.swift
SwiftWarplyFramework/SwiftWarplyFramework/swiftApi.swift
View file @
bcf95de
...
...
@@ -1349,10 +1349,10 @@ public class swiftApi {
}
public
func
constructCcmsUrl
(
_
sessionId
:
String
,
_
campaign
:
LoyaltyContextualOfferModel
)
->
String
{
print
(
"CCMS_PRESSED"
+
" "
+
campaign
.
_id
+
" "
+
campaign
.
_offerName
)
for
item
in
GlobalVariables
.
campaigns
{
if
(
item
.
loyaltyCampaignId
==
campaign
.
_loyaltyCampaignId
)
{
print
(
"CCMS_PRESSED"
+
" "
+
campaign
.
_id
+
" "
+
campaign
.
_offerName
)
let
instanceOfMyApi
=
MyApi
()
let
campaignInfo
=
instanceOfMyApi
.
provideInfoForCampaign
()
let
finalUrl
=
(
item
.
index_url
??
""
)
...
...
@@ -1396,6 +1396,8 @@ public class swiftApi {
}
public
func
constructCcmsUrl
(
_
campaign
:
CampaignItemModel
,
_
ccmsCampaign
:
LoyaltyContextualOfferModel
)
->
String
{
print
(
"CCMS_PRESSED"
+
" "
+
ccmsCampaign
.
_id
+
" "
+
ccmsCampaign
.
_offerName
)
let
instanceOfMyApi
=
MyApi
()
let
campaignInfo
=
instanceOfMyApi
.
provideInfoForCampaign
()
let
finalUrl
=
(
campaign
.
index_url
??
""
)
...
...
Please
register
or
login
to post a comment