Manos Chorianopoulos

add logs at webview

......@@ -17,6 +17,8 @@ import SwiftEventBus
public override func viewDidLoad() {
super.viewDidLoad()
print("Webview url: " + campaignUrl)
self.hidesBottomBarWhenPushed = true
......
......@@ -1516,6 +1516,7 @@ public class swiftApi {
+ "&client_id=" + (campaignInfo?["client_id"] as! String)
+ "&client_secret=" + (campaignInfo?["client_secret"] as! String);
print("constructCampaignUrl url: " + finalUrl)
return finalUrl
}
......@@ -1556,10 +1557,12 @@ public class swiftApi {
+ "&TREATMENT_CODE=" + (campaign._treatmentCode)
+ "&OfferAudienceLevel=" + (campaign._eligibleAssets != nil && campaign._eligibleAssets.count > 0 ? "MSISDN" : "GUID");
print("constructCcmsUrl url: " + finalUrl)
return finalUrl
break;
}
}
print("constructCcmsUrl url: " + "")
return ""
}
......@@ -1598,6 +1601,7 @@ public class swiftApi {
+ "&TREATMENT_CODE=" + (ccmsCampaign._treatmentCode)
+ "&OfferAudienceLevel=" + (ccmsCampaign._eligibleAssets != nil && ccmsCampaign._eligibleAssets.count > 0 ? "MSISDN" : "GUID");
print("constructCcmsUrl url: " + finalUrl)
return finalUrl
}
......