Manos Chorianopoulos

add constructCampaignUrlForShare

...@@ -1258,6 +1258,7 @@ public class swiftApi { ...@@ -1258,6 +1258,7 @@ public class swiftApi {
1258 1258
1259 1259
1260 public func constructCampaignUrl(_ campaign: CampaignItemModel) -> String { 1260 public func constructCampaignUrl(_ campaign: CampaignItemModel) -> String {
1261 + // TODO: Pending functionality
1261 return campaign.index_url ?? "" 1262 return campaign.index_url ?? ""
1262 } 1263 }
1263 1264
...@@ -1265,6 +1266,11 @@ public class swiftApi { ...@@ -1265,6 +1266,11 @@ public class swiftApi {
1265 return "" 1266 return ""
1266 } 1267 }
1267 1268
1269 + public func constructCampaignUrlForShare(_ campaign: CampaignItemModel, _ deeplink: String) -> String {
1270 + // TODO: Pending functionality
1271 + return campaign.index_url ?? ""
1272 + }
1273 +
1268 1274
1269 public class LoyaltyGiftsForYouOfferClickEvent { 1275 public class LoyaltyGiftsForYouOfferClickEvent {
1270 private var title: String 1276 private var title: String
......