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-09-27 17:26:57 +0300
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
a936d03089feef35796ed8dcda91be415a46eb3d
a936d030
1 parent
c8bff681
comment out getSingleCampaignAsync requests
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
36 additions
and
36 deletions
SwiftWarplyFramework/SwiftWarplyFramework/GiftsViewController.swift
SwiftWarplyFramework/SwiftWarplyFramework/MFYViewController.swift
SwiftWarplyFramework/SwiftWarplyFramework/swiftApi.swift
SwiftWarplyFramework/SwiftWarplyFramework/GiftsViewController.swift
View file @
a936d03
...
...
@@ -173,9 +173,9 @@ extension GiftsViewController: UITableViewDelegate, UITableViewDataSource{
vc
.
ccms
=
campaigns
[
indexPath
.
row
]
.
_ccms
self
.
navigationController
?
.
pushViewController
(
vc
,
animated
:
true
)
if
let
sessionUuid
=
campaigns
[
indexPath
.
row
]
.
session_uuid
{
getSingleCampaignAsyncRequest
(
sessionUuid
:
sessionUuid
)
}
//
if let sessionUuid = campaigns[indexPath.row].session_uuid {
//
getSingleCampaignAsyncRequest(sessionUuid: sessionUuid)
//
}
}
else
if
(
campaigns
[
indexPath
.
row
]
.
_type
!=
nil
&&
campaigns
[
indexPath
.
row
]
.
_type
==
"telco"
)
{
let
ccmsCampaigns
=
swiftApi
()
.
getCCMSLoyaltyCampaigns
()
...
...
@@ -190,9 +190,9 @@ extension GiftsViewController: UITableViewDelegate, UITableViewDataSource{
vc
.
campaign
=
campaigns
[
indexPath
.
row
]
self
.
navigationController
?
.
pushViewController
(
vc
,
animated
:
true
)
if
let
sessionUuid
=
campaigns
[
indexPath
.
row
]
.
session_uuid
{
getSingleCampaignAsyncRequest
(
sessionUuid
:
sessionUuid
)
}
//
if let sessionUuid = campaigns[indexPath.row].session_uuid {
//
getSingleCampaignAsyncRequest(sessionUuid: sessionUuid)
//
}
break
;
}
}
...
...
@@ -225,9 +225,9 @@ extension GiftsViewController: UITableViewDelegate, UITableViewDataSource{
self
.
navigationController
?
.
pushViewController
(
vc
,
animated
:
true
)
if
let
sessionUuid
=
campaigns
[
indexPath
.
row
]
.
session_uuid
{
getSingleCampaignAsyncRequest
(
sessionUuid
:
sessionUuid
)
}
//
if let sessionUuid = campaigns[indexPath.row].session_uuid {
//
getSingleCampaignAsyncRequest(sessionUuid: sessionUuid)
//
}
break
;
}
...
...
@@ -284,9 +284,9 @@ extension GiftsViewController: UITableViewDelegate, UITableViewDataSource{
vc
.
params
=
params
self
.
navigationController
?
.
pushViewController
(
vc
,
animated
:
true
)
if
let
sessionUuid
=
campaigns
[
indexPath
.
row
]
.
session_uuid
{
getSingleCampaignAsyncRequest
(
sessionUuid
:
sessionUuid
)
}
//
if let sessionUuid = campaigns[indexPath.row].session_uuid {
//
getSingleCampaignAsyncRequest(sessionUuid: sessionUuid)
//
}
}
else
{
let
seasonalEvent
=
swiftApi
.
LoyaltyGiftsForYouOfferClickEvent
()
...
...
SwiftWarplyFramework/SwiftWarplyFramework/MFYViewController.swift
View file @
a936d03
...
...
@@ -115,9 +115,9 @@ extension MFYViewController: UITableViewDelegate, UITableViewDataSource{
vc
.
ccms
=
campaigns
[
indexPath
.
row
]
.
_ccms
self
.
navigationController
?
.
pushViewController
(
vc
,
animated
:
true
)
if
let
sessionUuid
=
campaigns
[
indexPath
.
row
]
.
session_uuid
{
getSingleCampaignAsyncRequest
(
sessionUuid
:
sessionUuid
)
}
//
if let sessionUuid = campaigns[indexPath.row].session_uuid {
//
getSingleCampaignAsyncRequest(sessionUuid: sessionUuid)
//
}
}
else
if
(
campaigns
[
indexPath
.
row
]
.
_type
!=
nil
&&
campaigns
[
indexPath
.
row
]
.
_type
==
"telco"
)
{
let
ccmsCampaigns
=
swiftApi
()
.
getCCMSLoyaltyCampaigns
()
...
...
@@ -132,9 +132,9 @@ extension MFYViewController: UITableViewDelegate, UITableViewDataSource{
vc
.
campaign
=
campaigns
[
indexPath
.
row
]
self
.
navigationController
?
.
pushViewController
(
vc
,
animated
:
true
)
if
let
sessionUuid
=
campaigns
[
indexPath
.
row
]
.
session_uuid
{
getSingleCampaignAsyncRequest
(
sessionUuid
:
sessionUuid
)
}
//
if let sessionUuid = campaigns[indexPath.row].session_uuid {
//
getSingleCampaignAsyncRequest(sessionUuid: sessionUuid)
//
}
}
}
}
...
...
@@ -166,9 +166,9 @@ extension MFYViewController: UITableViewDelegate, UITableViewDataSource{
self
.
navigationController
?
.
pushViewController
(
vc
,
animated
:
true
)
if
let
sessionUuid
=
campaigns
[
indexPath
.
row
]
.
session_uuid
{
getSingleCampaignAsyncRequest
(
sessionUuid
:
sessionUuid
)
}
//
if let sessionUuid = campaigns[indexPath.row].session_uuid {
//
getSingleCampaignAsyncRequest(sessionUuid: sessionUuid)
//
}
break
;
}
...
...
@@ -231,9 +231,9 @@ extension MFYViewController: UITableViewDelegate, UITableViewDataSource{
vc
.
params
=
params
self
.
navigationController
?
.
pushViewController
(
vc
,
animated
:
true
)
if
let
sessionUuid
=
campaigns
[
indexPath
.
row
]
.
session_uuid
{
getSingleCampaignAsyncRequest
(
sessionUuid
:
sessionUuid
)
}
//
if let sessionUuid = campaigns[indexPath.row].session_uuid {
//
getSingleCampaignAsyncRequest(sessionUuid: sessionUuid)
//
}
}
}
...
...
SwiftWarplyFramework/SwiftWarplyFramework/swiftApi.swift
View file @
a936d03
...
...
@@ -4921,9 +4921,9 @@ public class swiftApi {
vc
.
campaign
=
campaign
controller
.
navigationController
?
.
pushViewController
(
vc
,
animated
:
true
)
if
let
sessionUuid
=
campaign
.
session_uuid
{
getSingleCampaignAsyncRequest
(
sessionUuid
:
sessionUuid
)
}
//
if let sessionUuid = campaign.session_uuid {
//
getSingleCampaignAsyncRequest(sessionUuid: sessionUuid)
//
}
break
;
}
...
...
@@ -4938,9 +4938,9 @@ public class swiftApi {
vc
.
params
=
swiftApi
()
.
constructCampaignParams
(
campaign
)
controller
.
navigationController
?
.
pushViewController
(
vc
,
animated
:
true
)
if
let
sessionUuid
=
campaign
.
session_uuid
{
getSingleCampaignAsyncRequest
(
sessionUuid
:
sessionUuid
)
}
//
if let sessionUuid = campaign.session_uuid {
//
getSingleCampaignAsyncRequest(sessionUuid: sessionUuid)
//
}
}
func
getSingleCampaignAsyncRequest
(
sessionUuid
:
String
)
{
...
...
@@ -4983,9 +4983,9 @@ public class swiftApi {
vc
.
params
=
swiftApi
()
.
constructCcmsParams
(
loyaltyCampaign
,
ccms
)
controller
.
navigationController
?
.
pushViewController
(
vc
,
animated
:
true
)
if
let
sessionUuid
=
loyaltyCampaign
.
session_uuid
{
getSingleCampaignAsyncRequest
(
sessionUuid
:
sessionUuid
)
}
//
if let sessionUuid = loyaltyCampaign.session_uuid {
//
getSingleCampaignAsyncRequest(sessionUuid: sessionUuid)
//
}
break
;
}
else
if
(
isTelco
&&
(
loyaltyCampaign
.
session_uuid
==
ccms
.
_loyaltyCampaignId
))
{
...
...
@@ -4996,9 +4996,9 @@ public class swiftApi {
vc
.
campaign
=
loyaltyCampaign
controller
.
navigationController
?
.
pushViewController
(
vc
,
animated
:
true
)
if
let
sessionUuid
=
loyaltyCampaign
.
session_uuid
{
getSingleCampaignAsyncRequest
(
sessionUuid
:
sessionUuid
)
}
//
if let sessionUuid = loyaltyCampaign.session_uuid {
//
getSingleCampaignAsyncRequest(sessionUuid: sessionUuid)
//
}
break
;
}
...
...
Please
register
or
login
to post a comment