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-07-12 17:18:23 +0300
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
56fa7ab6ed031262a393fdf600f5b8e17dc884db
56fa7ab6
1 parent
82c13072
fix constructCcmsUrl
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
SwiftWarplyFramework/SwiftWarplyFramework/swiftApi.swift
SwiftWarplyFramework/SwiftWarplyFramework/swiftApi.swift
View file @
56fa7ab
...
...
@@ -1665,10 +1665,12 @@ public class swiftApi {
+
"&WAVE="
+
(
campaign
.
_wave
)
+
"&VALIDITY="
+
(
campaign
.
_validity
)
+
"&TREATMENT_CODE="
+
(
campaign
.
_treatmentCode
)
+
"&OfferAudienceLevel="
+
(
campaign
.
_
eligibleAssets
!=
nil
&&
campaign
.
_eligibleAssets
.
count
>
0
?
"MSISDN"
:
"GUID"
)
+
"&OfferAudienceLevel="
+
(
campaign
.
_
offerAudienceLevel
)
+
"&ASSETS="
+
(
assetsString
)
+
"&ZONE="
+
(
campaign
.
_zone
);
// + "&OfferAudienceLevel=" + (campaign._eligibleAssets != nil && campaign._eligibleAssets.count > 0 ? "MSISDN" : "GUID")
print
(
"constructCcmsUrl url: "
+
finalUrl
)
return
finalUrl
break
;
...
...
@@ -1726,10 +1728,11 @@ public class swiftApi {
+
"&WAVE="
+
(
ccmsCampaign
.
_wave
)
+
"&VALIDITY="
+
(
ccmsCampaign
.
_validity
)
+
"&TREATMENT_CODE="
+
(
ccmsCampaign
.
_treatmentCode
)
+
"&OfferAudienceLevel="
+
(
ccmsCampaign
.
_
eligibleAssets
!=
nil
&&
ccmsCampaign
.
_eligibleAssets
.
count
>
0
?
"MSISDN"
:
"GUID"
)
+
"&OfferAudienceLevel="
+
(
ccmsCampaign
.
_
offerAudienceLevel
)
+
"&ASSETS="
+
(
assetsString
)
+
"&ZONE="
+
(
ccmsCampaign
.
_zone
);
// + "&OfferAudienceLevel=" + (ccmsCampaign._eligibleAssets != nil && ccmsCampaign._eligibleAssets.count > 0 ? "MSISDN" : "GUID")
print
(
"constructCcmsUrl url: "
+
finalUrl
)
return
finalUrl
}
...
...
Please
register
or
login
to post a comment