Dimitris Togias

reorg xcode workspace project

Showing 273 changed files with 6510 additions and 1304 deletions
// !$*UTF8*$!
{
archiveVersion = 1;
classes = {
};
objectVersion = 55;
objects = {
/* Begin PBXBuildFile section */
1E72D24F283644900005576C /* CouponBarcodeViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1E72D24E2836448F0005576C /* CouponBarcodeViewController.swift */; };
1E7536772822C90D00149CC9 /* CouponsViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1E7536762822C90D00149CC9 /* CouponsViewController.swift */; };
1E7564B62823B27100B9D2AE /* CouponViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1E7564B52823B27000B9D2AE /* CouponViewController.swift */; };
1E7564B82823C4B700B9D2AE /* ViewControllerExtensions.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1E7564B72823C4B700B9D2AE /* ViewControllerExtensions.swift */; };
1E7564BE2824098200B9D2AE /* GiftsViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1E7564BD2824098200B9D2AE /* GiftsViewController.swift */; };
1EA1AF0C28353E3F008998AA /* CampaignWebviewViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1EA1AF0B28353E3F008998AA /* CampaignWebviewViewController.swift */; };
1EA2BB7B2865C7B8003F2AB0 /* MFYViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1EA2BB7A2865C7B8003F2AB0 /* MFYViewController.swift */; };
1EA94CCF2864B3F200BB1EB7 /* InboxTableViewCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1EA94CCE2864B3F200BB1EB7 /* InboxTableViewCell.swift */; };
1EAE155F286225FA00709597 /* WalletViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1EAE155E286225FA00709597 /* WalletViewController.swift */; };
1EB5F4C628536EEB0016F36E /* StepsViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1EB5F4C528536EEB0016F36E /* StepsViewController.swift */; };
1EB5F4CC285371C70016F36E /* LoyaltyAnalysisViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1EB5F4CB285371C70016F36E /* LoyaltyAnalysisViewController.swift */; };
1EBE971F2865CF820080EFF7 /* MFYInboxTableViewCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1EBE971E2865CF820080EFF7 /* MFYInboxTableViewCell.swift */; };
1EBEAFFD280D5C7700BF802C /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1EBEAFFC280D5C7700BF802C /* AppDelegate.swift */; };
1EBEAFFF280D5C7700BF802C /* SceneDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1EBEAFFE280D5C7700BF802C /* SceneDelegate.swift */; };
1EBEB001280D5C7700BF802C /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1EBEB000280D5C7700BF802C /* ViewController.swift */; };
1EBEB004280D5C7700BF802C /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 1EBEB002280D5C7700BF802C /* Main.storyboard */; };
1EBEB006280D5C7B00BF802C /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 1EBEB005280D5C7B00BF802C /* Assets.xcassets */; };
1EBEB009280D5C7B00BF802C /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 1EBEB007280D5C7B00BF802C /* LaunchScreen.storyboard */; };
1EBEB014280D5C7B00BF802C /* swift_exampleTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1EBEB013280D5C7B00BF802C /* swift_exampleTests.swift */; };
1EBEB01E280D5C7B00BF802C /* swift_exampleUITests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1EBEB01D280D5C7B00BF802C /* swift_exampleUITests.swift */; };
1EBEB020280D5C7B00BF802C /* swift_exampleUITestsLaunchTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1EBEB01F280D5C7B00BF802C /* swift_exampleUITestsLaunchTests.swift */; };
1ECB85AE287C0C9B000BC3FE /* iOS_ccms_offers.json in Resources */ = {isa = PBXBuildFile; fileRef = 1ECB85AD287C0C9B000BC3FE /* iOS_ccms_offers.json */; };
A0E24192288B2CCA0063BB15 /* CouponsTableViewCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = A0E24191288B2CCA0063BB15 /* CouponsTableViewCell.swift */; };
A0E24194288B2CD70063BB15 /* SwiftWarplyFramework.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = A0E24193288B2CD70063BB15 /* SwiftWarplyFramework.framework */; };
A0E24195288B2CD70063BB15 /* SwiftWarplyFramework.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = A0E24193288B2CD70063BB15 /* SwiftWarplyFramework.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
/* End PBXBuildFile section */
/* Begin PBXContainerItemProxy section */
1EBEB010280D5C7B00BF802C /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = 1EBEAFF1280D5C7700BF802C /* Project object */;
proxyType = 1;
remoteGlobalIDString = 1EBEAFF8280D5C7700BF802C;
remoteInfo = swift_example;
};
1EBEB01A280D5C7B00BF802C /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = 1EBEAFF1280D5C7700BF802C /* Project object */;
proxyType = 1;
remoteGlobalIDString = 1EBEAFF8280D5C7700BF802C;
remoteInfo = swift_example;
};
/* End PBXContainerItemProxy section */
/* Begin PBXCopyFilesBuildPhase section */
A0E24196288B2CD70063BB15 /* Embed Frameworks */ = {
isa = PBXCopyFilesBuildPhase;
buildActionMask = 2147483647;
dstPath = "";
dstSubfolderSpec = 10;
files = (
A0E24195288B2CD70063BB15 /* SwiftWarplyFramework.framework in Embed Frameworks */,
);
name = "Embed Frameworks";
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXCopyFilesBuildPhase section */
/* Begin PBXFileReference section */
1E72D24E2836448F0005576C /* CouponBarcodeViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = CouponBarcodeViewController.swift; path = ViewControllers/CouponBarcodeViewController.swift; sourceTree = "<group>"; };
1E7536762822C90D00149CC9 /* CouponsViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = CouponsViewController.swift; path = ViewControllers/CouponsViewController.swift; sourceTree = "<group>"; };
1E7564B52823B27000B9D2AE /* CouponViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = CouponViewController.swift; path = ViewControllers/CouponViewController.swift; sourceTree = "<group>"; };
1E7564B72823C4B700B9D2AE /* ViewControllerExtensions.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewControllerExtensions.swift; sourceTree = "<group>"; };
1E7564BD2824098200B9D2AE /* GiftsViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = GiftsViewController.swift; path = ViewControllers/GiftsViewController.swift; sourceTree = "<group>"; };
1EA1AF0B28353E3F008998AA /* CampaignWebviewViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = CampaignWebviewViewController.swift; path = ViewControllers/CampaignWebviewViewController.swift; sourceTree = "<group>"; };
1EA2BB7A2865C7B8003F2AB0 /* MFYViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = MFYViewController.swift; path = ViewControllers/MFYViewController.swift; sourceTree = "<group>"; };
1EA94CCE2864B3F200BB1EB7 /* InboxTableViewCell.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = InboxTableViewCell.swift; path = ViewControllers/InboxTableViewCell.swift; sourceTree = "<group>"; };
1EAE155E286225FA00709597 /* WalletViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = WalletViewController.swift; path = ViewControllers/WalletViewController.swift; sourceTree = "<group>"; };
1EB5F4C528536EEB0016F36E /* StepsViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = StepsViewController.swift; path = ViewControllers/StepsViewController.swift; sourceTree = "<group>"; };
1EB5F4CB285371C70016F36E /* LoyaltyAnalysisViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = LoyaltyAnalysisViewController.swift; path = ViewControllers/LoyaltyAnalysisViewController.swift; sourceTree = "<group>"; };
1EBE971E2865CF820080EFF7 /* MFYInboxTableViewCell.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = MFYInboxTableViewCell.swift; path = ViewControllers/MFYInboxTableViewCell.swift; sourceTree = "<group>"; };
1EBEAFF9280D5C7700BF802C /* Demo.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Demo.app; sourceTree = BUILT_PRODUCTS_DIR; };
1EBEAFFC280D5C7700BF802C /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; };
1EBEAFFE280D5C7700BF802C /* SceneDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SceneDelegate.swift; sourceTree = "<group>"; };
1EBEB000280D5C7700BF802C /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = "<group>"; };
1EBEB003280D5C7700BF802C /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = "<group>"; };
1EBEB005280D5C7B00BF802C /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
1EBEB008280D5C7B00BF802C /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = "<group>"; };
1EBEB00A280D5C7B00BF802C /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
1EBEB00F280D5C7B00BF802C /* DemoTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = DemoTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
1EBEB013280D5C7B00BF802C /* swift_exampleTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = swift_exampleTests.swift; sourceTree = "<group>"; };
1EBEB019280D5C7B00BF802C /* DemoUITests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = DemoUITests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
1EBEB01D280D5C7B00BF802C /* swift_exampleUITests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = swift_exampleUITests.swift; sourceTree = "<group>"; };
1EBEB01F280D5C7B00BF802C /* swift_exampleUITestsLaunchTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = swift_exampleUITestsLaunchTests.swift; sourceTree = "<group>"; };
1ECB85AD287C0C9B000BC3FE /* iOS_ccms_offers.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; path = iOS_ccms_offers.json; sourceTree = "<group>"; };
A0E24191288B2CCA0063BB15 /* CouponsTableViewCell.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = CouponsTableViewCell.swift; path = ViewControllers/CouponsTableViewCell.swift; sourceTree = "<group>"; };
A0E24193288B2CD70063BB15 /* SwiftWarplyFramework.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; path = SwiftWarplyFramework.framework; sourceTree = BUILT_PRODUCTS_DIR; };
/* End PBXFileReference section */
/* Begin PBXFrameworksBuildPhase section */
1EBEAFF6280D5C7700BF802C /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
A0E24194288B2CD70063BB15 /* SwiftWarplyFramework.framework in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
1EBEB00C280D5C7B00BF802C /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
1EBEB016280D5C7B00BF802C /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXFrameworksBuildPhase section */
/* Begin PBXGroup section */
1EBEAFF0280D5C7700BF802C = {
isa = PBXGroup;
children = (
1EBEAFFB280D5C7700BF802C /* Demo */,
1EBEB012280D5C7B00BF802C /* DemoTests */,
1EBEB01C280D5C7B00BF802C /* DemoUITests */,
1EBEAFFA280D5C7700BF802C /* Products */,
485C722C6BBE9EBD27165C95 /* Frameworks */,
);
sourceTree = "<group>";
};
1EBEAFFA280D5C7700BF802C /* Products */ = {
isa = PBXGroup;
children = (
1EBEAFF9280D5C7700BF802C /* Demo.app */,
1EBEB00F280D5C7B00BF802C /* DemoTests.xctest */,
1EBEB019280D5C7B00BF802C /* DemoUITests.xctest */,
);
name = Products;
sourceTree = "<group>";
};
1EBEAFFB280D5C7700BF802C /* Demo */ = {
isa = PBXGroup;
children = (
A0E24191288B2CCA0063BB15 /* CouponsTableViewCell.swift */,
1ECB85AD287C0C9B000BC3FE /* iOS_ccms_offers.json */,
1EA2BB7A2865C7B8003F2AB0 /* MFYViewController.swift */,
1EA94CCE2864B3F200BB1EB7 /* InboxTableViewCell.swift */,
1EAE155E286225FA00709597 /* WalletViewController.swift */,
1EBEAFFC280D5C7700BF802C /* AppDelegate.swift */,
1EBEAFFE280D5C7700BF802C /* SceneDelegate.swift */,
1EBEB000280D5C7700BF802C /* ViewController.swift */,
1EBEB002280D5C7700BF802C /* Main.storyboard */,
1EBE971E2865CF820080EFF7 /* MFYInboxTableViewCell.swift */,
1EB5F4CB285371C70016F36E /* LoyaltyAnalysisViewController.swift */,
1EB5F4C528536EEB0016F36E /* StepsViewController.swift */,
1E72D24E2836448F0005576C /* CouponBarcodeViewController.swift */,
1EA1AF0B28353E3F008998AA /* CampaignWebviewViewController.swift */,
1E7564BD2824098200B9D2AE /* GiftsViewController.swift */,
1E7536762822C90D00149CC9 /* CouponsViewController.swift */,
1E7564B52823B27000B9D2AE /* CouponViewController.swift */,
1E7564B72823C4B700B9D2AE /* ViewControllerExtensions.swift */,
1EBEB005280D5C7B00BF802C /* Assets.xcassets */,
1EBEB007280D5C7B00BF802C /* LaunchScreen.storyboard */,
1EBEB00A280D5C7B00BF802C /* Info.plist */,
);
path = Demo;
sourceTree = "<group>";
};
1EBEB012280D5C7B00BF802C /* DemoTests */ = {
isa = PBXGroup;
children = (
1EBEB013280D5C7B00BF802C /* swift_exampleTests.swift */,
);
path = DemoTests;
sourceTree = "<group>";
};
1EBEB01C280D5C7B00BF802C /* DemoUITests */ = {
isa = PBXGroup;
children = (
1EBEB01D280D5C7B00BF802C /* swift_exampleUITests.swift */,
1EBEB01F280D5C7B00BF802C /* swift_exampleUITestsLaunchTests.swift */,
);
path = DemoUITests;
sourceTree = "<group>";
};
485C722C6BBE9EBD27165C95 /* Frameworks */ = {
isa = PBXGroup;
children = (
A0E24193288B2CD70063BB15 /* SwiftWarplyFramework.framework */,
);
name = Frameworks;
sourceTree = "<group>";
};
/* End PBXGroup section */
/* Begin PBXNativeTarget section */
1EBEAFF8280D5C7700BF802C /* Demo */ = {
isa = PBXNativeTarget;
buildConfigurationList = 1EBEB023280D5C7B00BF802C /* Build configuration list for PBXNativeTarget "Demo" */;
buildPhases = (
1EBEAFF5280D5C7700BF802C /* Sources */,
1EBEAFF6280D5C7700BF802C /* Frameworks */,
1EBEAFF7280D5C7700BF802C /* Resources */,
A0E24196288B2CD70063BB15 /* Embed Frameworks */,
);
buildRules = (
);
dependencies = (
);
name = Demo;
packageProductDependencies = (
);
productName = swift_example;
productReference = 1EBEAFF9280D5C7700BF802C /* Demo.app */;
productType = "com.apple.product-type.application";
};
1EBEB00E280D5C7B00BF802C /* DemoTests */ = {
isa = PBXNativeTarget;
buildConfigurationList = 1EBEB026280D5C7B00BF802C /* Build configuration list for PBXNativeTarget "DemoTests" */;
buildPhases = (
2E1D9394A7D3F1B916891516 /* [CP] Check Pods Manifest.lock */,
1EBEB00B280D5C7B00BF802C /* Sources */,
1EBEB00C280D5C7B00BF802C /* Frameworks */,
1EBEB00D280D5C7B00BF802C /* Resources */,
);
buildRules = (
);
dependencies = (
1EBEB011280D5C7B00BF802C /* PBXTargetDependency */,
);
name = DemoTests;
productName = swift_exampleTests;
productReference = 1EBEB00F280D5C7B00BF802C /* DemoTests.xctest */;
productType = "com.apple.product-type.bundle.unit-test";
};
1EBEB018280D5C7B00BF802C /* DemoUITests */ = {
isa = PBXNativeTarget;
buildConfigurationList = 1EBEB029280D5C7B00BF802C /* Build configuration list for PBXNativeTarget "DemoUITests" */;
buildPhases = (
74F5B673BFD335A51E6543F5 /* [CP] Check Pods Manifest.lock */,
1EBEB015280D5C7B00BF802C /* Sources */,
1EBEB016280D5C7B00BF802C /* Frameworks */,
1EBEB017280D5C7B00BF802C /* Resources */,
DB23C2415C1061659E197C57 /* [CP] Embed Pods Frameworks */,
);
buildRules = (
);
dependencies = (
1EBEB01B280D5C7B00BF802C /* PBXTargetDependency */,
);
name = DemoUITests;
productName = swift_exampleUITests;
productReference = 1EBEB019280D5C7B00BF802C /* DemoUITests.xctest */;
productType = "com.apple.product-type.bundle.ui-testing";
};
/* End PBXNativeTarget section */
/* Begin PBXProject section */
1EBEAFF1280D5C7700BF802C /* Project object */ = {
isa = PBXProject;
attributes = {
BuildIndependentTargetsInParallel = 1;
LastSwiftUpdateCheck = 1310;
LastUpgradeCheck = 1310;
TargetAttributes = {
1EBEAFF8280D5C7700BF802C = {
CreatedOnToolsVersion = 13.1;
};
1EBEB00E280D5C7B00BF802C = {
CreatedOnToolsVersion = 13.1;
TestTargetID = 1EBEAFF8280D5C7700BF802C;
};
1EBEB018280D5C7B00BF802C = {
CreatedOnToolsVersion = 13.1;
TestTargetID = 1EBEAFF8280D5C7700BF802C;
};
};
};
buildConfigurationList = 1EBEAFF4280D5C7700BF802C /* Build configuration list for PBXProject "Demo" */;
compatibilityVersion = "Xcode 13.0";
developmentRegion = en;
hasScannedForEncodings = 0;
knownRegions = (
en,
Base,
);
mainGroup = 1EBEAFF0280D5C7700BF802C;
packageReferences = (
);
productRefGroup = 1EBEAFFA280D5C7700BF802C /* Products */;
projectDirPath = "";
projectRoot = "";
targets = (
1EBEAFF8280D5C7700BF802C /* Demo */,
1EBEB00E280D5C7B00BF802C /* DemoTests */,
1EBEB018280D5C7B00BF802C /* DemoUITests */,
);
};
/* End PBXProject section */
/* Begin PBXResourcesBuildPhase section */
1EBEAFF7280D5C7700BF802C /* Resources */ = {
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
1ECB85AE287C0C9B000BC3FE /* iOS_ccms_offers.json in Resources */,
1EBEB009280D5C7B00BF802C /* LaunchScreen.storyboard in Resources */,
1EBEB006280D5C7B00BF802C /* Assets.xcassets in Resources */,
1EBEB004280D5C7700BF802C /* Main.storyboard in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
1EBEB00D280D5C7B00BF802C /* Resources */ = {
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
1EBEB017280D5C7B00BF802C /* Resources */ = {
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXResourcesBuildPhase section */
/* Begin PBXShellScriptBuildPhase section */
2E1D9394A7D3F1B916891516 /* [CP] Check Pods Manifest.lock */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputFileListPaths = (
);
inputPaths = (
"${PODS_PODFILE_DIR_PATH}/Podfile.lock",
"${PODS_ROOT}/Manifest.lock",
);
name = "[CP] Check Pods Manifest.lock";
outputFileListPaths = (
);
outputPaths = (
"$(DERIVED_FILE_DIR)/Pods-swift_exampleTests-checkManifestLockResult.txt",
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
showEnvVarsInLog = 0;
};
74F5B673BFD335A51E6543F5 /* [CP] Check Pods Manifest.lock */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputFileListPaths = (
);
inputPaths = (
"${PODS_PODFILE_DIR_PATH}/Podfile.lock",
"${PODS_ROOT}/Manifest.lock",
);
name = "[CP] Check Pods Manifest.lock";
outputFileListPaths = (
);
outputPaths = (
"$(DERIVED_FILE_DIR)/Pods-swift_example-swift_exampleUITests-checkManifestLockResult.txt",
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
showEnvVarsInLog = 0;
};
DB23C2415C1061659E197C57 /* [CP] Embed Pods Frameworks */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputFileListPaths = (
"${PODS_ROOT}/Target Support Files/Pods-swift_example-swift_exampleUITests/Pods-swift_example-swift_exampleUITests-frameworks-${CONFIGURATION}-input-files.xcfilelist",
);
name = "[CP] Embed Pods Frameworks";
outputFileListPaths = (
"${PODS_ROOT}/Target Support Files/Pods-swift_example-swift_exampleUITests/Pods-swift_example-swift_exampleUITests-frameworks-${CONFIGURATION}-output-files.xcfilelist",
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-swift_example-swift_exampleUITests/Pods-swift_example-swift_exampleUITests-frameworks.sh\"\n";
showEnvVarsInLog = 0;
};
/* End PBXShellScriptBuildPhase section */
/* Begin PBXSourcesBuildPhase section */
1EBEAFF5280D5C7700BF802C /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
1E7536772822C90D00149CC9 /* CouponsViewController.swift in Sources */,
1EBEB001280D5C7700BF802C /* ViewController.swift in Sources */,
1E7564BE2824098200B9D2AE /* GiftsViewController.swift in Sources */,
1E7564B62823B27100B9D2AE /* CouponViewController.swift in Sources */,
1EAE155F286225FA00709597 /* WalletViewController.swift in Sources */,
1EBE971F2865CF820080EFF7 /* MFYInboxTableViewCell.swift in Sources */,
1EBEAFFD280D5C7700BF802C /* AppDelegate.swift in Sources */,
1E7564B82823C4B700B9D2AE /* ViewControllerExtensions.swift in Sources */,
1EBEAFFF280D5C7700BF802C /* SceneDelegate.swift in Sources */,
1EA94CCF2864B3F200BB1EB7 /* InboxTableViewCell.swift in Sources */,
1EB5F4C628536EEB0016F36E /* StepsViewController.swift in Sources */,
1EA2BB7B2865C7B8003F2AB0 /* MFYViewController.swift in Sources */,
1E72D24F283644900005576C /* CouponBarcodeViewController.swift in Sources */,
1EA1AF0C28353E3F008998AA /* CampaignWebviewViewController.swift in Sources */,
1EB5F4CC285371C70016F36E /* LoyaltyAnalysisViewController.swift in Sources */,
A0E24192288B2CCA0063BB15 /* CouponsTableViewCell.swift in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
1EBEB00B280D5C7B00BF802C /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
1EBEB014280D5C7B00BF802C /* swift_exampleTests.swift in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
1EBEB015280D5C7B00BF802C /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
1EBEB01E280D5C7B00BF802C /* swift_exampleUITests.swift in Sources */,
1EBEB020280D5C7B00BF802C /* swift_exampleUITestsLaunchTests.swift in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXSourcesBuildPhase section */
/* Begin PBXTargetDependency section */
1EBEB011280D5C7B00BF802C /* PBXTargetDependency */ = {
isa = PBXTargetDependency;
target = 1EBEAFF8280D5C7700BF802C /* Demo */;
targetProxy = 1EBEB010280D5C7B00BF802C /* PBXContainerItemProxy */;
};
1EBEB01B280D5C7B00BF802C /* PBXTargetDependency */ = {
isa = PBXTargetDependency;
target = 1EBEAFF8280D5C7700BF802C /* Demo */;
targetProxy = 1EBEB01A280D5C7B00BF802C /* PBXContainerItemProxy */;
};
/* End PBXTargetDependency section */
/* Begin PBXVariantGroup section */
1EBEB002280D5C7700BF802C /* Main.storyboard */ = {
isa = PBXVariantGroup;
children = (
1EBEB003280D5C7700BF802C /* Base */,
);
name = Main.storyboard;
sourceTree = "<group>";
};
1EBEB007280D5C7B00BF802C /* LaunchScreen.storyboard */ = {
isa = PBXVariantGroup;
children = (
1EBEB008280D5C7B00BF802C /* Base */,
);
name = LaunchScreen.storyboard;
sourceTree = "<group>";
};
/* End PBXVariantGroup section */
/* Begin XCBuildConfiguration section */
1EBEB021280D5C7B00BF802C /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
CLANG_ANALYZER_NONNULL = YES;
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
CLANG_CXX_LANGUAGE_STANDARD = "gnu++17";
CLANG_CXX_LIBRARY = "libc++";
CLANG_ENABLE_MODULES = YES;
CLANG_ENABLE_OBJC_ARC = YES;
CLANG_ENABLE_OBJC_WEAK = YES;
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
CLANG_WARN_BOOL_CONVERSION = YES;
CLANG_WARN_COMMA = YES;
CLANG_WARN_CONSTANT_CONVERSION = YES;
CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
CLANG_WARN_EMPTY_BODY = YES;
CLANG_WARN_ENUM_CONVERSION = YES;
CLANG_WARN_INFINITE_RECURSION = YES;
CLANG_WARN_INT_CONVERSION = YES;
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
CLANG_WARN_STRICT_PROTOTYPES = YES;
CLANG_WARN_SUSPICIOUS_MOVE = YES;
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
COPY_PHASE_STRIP = NO;
DEBUG_INFORMATION_FORMAT = dwarf;
ENABLE_BITCODE = NO;
ENABLE_STRICT_OBJC_MSGSEND = YES;
ENABLE_TESTABILITY = YES;
GCC_C_LANGUAGE_STANDARD = gnu11;
GCC_DYNAMIC_NO_PIC = NO;
GCC_NO_COMMON_BLOCKS = YES;
GCC_OPTIMIZATION_LEVEL = 0;
GCC_PREPROCESSOR_DEFINITIONS = (
"DEBUG=1",
"$(inherited)",
);
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
GCC_WARN_UNDECLARED_SELECTOR = YES;
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 15.0;
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
MTL_FAST_MATH = YES;
ONLY_ACTIVE_ARCH = YES;
OTHER_CFLAGS = "";
SDKROOT = iphoneos;
SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
};
name = Debug;
};
1EBEB022280D5C7B00BF802C /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
CLANG_ANALYZER_NONNULL = YES;
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
CLANG_CXX_LANGUAGE_STANDARD = "gnu++17";
CLANG_CXX_LIBRARY = "libc++";
CLANG_ENABLE_MODULES = YES;
CLANG_ENABLE_OBJC_ARC = YES;
CLANG_ENABLE_OBJC_WEAK = YES;
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
CLANG_WARN_BOOL_CONVERSION = YES;
CLANG_WARN_COMMA = YES;
CLANG_WARN_CONSTANT_CONVERSION = YES;
CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
CLANG_WARN_EMPTY_BODY = YES;
CLANG_WARN_ENUM_CONVERSION = YES;
CLANG_WARN_INFINITE_RECURSION = YES;
CLANG_WARN_INT_CONVERSION = YES;
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
CLANG_WARN_STRICT_PROTOTYPES = YES;
CLANG_WARN_SUSPICIOUS_MOVE = YES;
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
COPY_PHASE_STRIP = NO;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
ENABLE_BITCODE = NO;
ENABLE_NS_ASSERTIONS = NO;
ENABLE_STRICT_OBJC_MSGSEND = YES;
GCC_C_LANGUAGE_STANDARD = gnu11;
GCC_NO_COMMON_BLOCKS = YES;
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
GCC_WARN_UNDECLARED_SELECTOR = YES;
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 15.0;
MTL_ENABLE_DEBUG_INFO = NO;
MTL_FAST_MATH = YES;
OTHER_CFLAGS = "";
SDKROOT = iphoneos;
SWIFT_COMPILATION_MODE = wholemodule;
SWIFT_OPTIMIZATION_LEVEL = "-O";
VALIDATE_PRODUCT = YES;
};
name = Release;
};
1EBEB024280D5C7B00BF802C /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1;
DEVELOPMENT_TEAM = VW5AF53FLP;
GENERATE_INFOPLIST_FILE = YES;
INFOPLIST_FILE = swift_example/Info.plist;
INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES;
INFOPLIST_KEY_UILaunchStoryboardName = LaunchScreen;
INFOPLIST_KEY_UIMainStoryboardFile = Main;
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
);
MARKETING_VERSION = 1.0;
PRODUCT_BUNDLE_IDENTIFIER = "swift.example.warply.ly.swift-example";
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_EMIT_LOC_STRINGS = YES;
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = "1,2";
};
name = Debug;
};
1EBEB025280D5C7B00BF802C /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1;
DEVELOPMENT_TEAM = VW5AF53FLP;
GENERATE_INFOPLIST_FILE = YES;
INFOPLIST_FILE = swift_example/Info.plist;
INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES;
INFOPLIST_KEY_UILaunchStoryboardName = LaunchScreen;
INFOPLIST_KEY_UIMainStoryboardFile = Main;
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
);
MARKETING_VERSION = 1.0;
PRODUCT_BUNDLE_IDENTIFIER = "swift.example.warply.ly.swift-example";
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_EMIT_LOC_STRINGS = YES;
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = "1,2";
};
name = Release;
};
1EBEB027280D5C7B00BF802C /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
BUNDLE_LOADER = "$(TEST_HOST)";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1;
DEVELOPMENT_TEAM = VW5AF53FLP;
GENERATE_INFOPLIST_FILE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 15.0;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
"@loader_path/Frameworks",
);
MARKETING_VERSION = 1.0;
PRODUCT_BUNDLE_IDENTIFIER = "swift.example.warply.ly.swift-exampleTests";
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_EMIT_LOC_STRINGS = NO;
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = "1,2";
TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Demo.app/Demo";
};
name = Debug;
};
1EBEB028280D5C7B00BF802C /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
BUNDLE_LOADER = "$(TEST_HOST)";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1;
DEVELOPMENT_TEAM = VW5AF53FLP;
GENERATE_INFOPLIST_FILE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 15.0;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
"@loader_path/Frameworks",
);
MARKETING_VERSION = 1.0;
PRODUCT_BUNDLE_IDENTIFIER = "swift.example.warply.ly.swift-exampleTests";
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_EMIT_LOC_STRINGS = NO;
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = "1,2";
TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Demo.app/Demo";
};
name = Release;
};
1EBEB02A280D5C7B00BF802C /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1;
DEVELOPMENT_TEAM = VW5AF53FLP;
GENERATE_INFOPLIST_FILE = YES;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
"@loader_path/Frameworks",
);
MARKETING_VERSION = 1.0;
PRODUCT_BUNDLE_IDENTIFIER = "swift.example.warply.ly.swift-exampleUITests";
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_EMIT_LOC_STRINGS = NO;
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = "1,2";
TEST_TARGET_NAME = swift_example;
};
name = Debug;
};
1EBEB02B280D5C7B00BF802C /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1;
DEVELOPMENT_TEAM = VW5AF53FLP;
GENERATE_INFOPLIST_FILE = YES;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
"@loader_path/Frameworks",
);
MARKETING_VERSION = 1.0;
PRODUCT_BUNDLE_IDENTIFIER = "swift.example.warply.ly.swift-exampleUITests";
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_EMIT_LOC_STRINGS = NO;
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = "1,2";
TEST_TARGET_NAME = swift_example;
};
name = Release;
};
/* End XCBuildConfiguration section */
/* Begin XCConfigurationList section */
1EBEAFF4280D5C7700BF802C /* Build configuration list for PBXProject "Demo" */ = {
isa = XCConfigurationList;
buildConfigurations = (
1EBEB021280D5C7B00BF802C /* Debug */,
1EBEB022280D5C7B00BF802C /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
1EBEB023280D5C7B00BF802C /* Build configuration list for PBXNativeTarget "Demo" */ = {
isa = XCConfigurationList;
buildConfigurations = (
1EBEB024280D5C7B00BF802C /* Debug */,
1EBEB025280D5C7B00BF802C /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
1EBEB026280D5C7B00BF802C /* Build configuration list for PBXNativeTarget "DemoTests" */ = {
isa = XCConfigurationList;
buildConfigurations = (
1EBEB027280D5C7B00BF802C /* Debug */,
1EBEB028280D5C7B00BF802C /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
1EBEB029280D5C7B00BF802C /* Build configuration list for PBXNativeTarget "DemoUITests" */ = {
isa = XCConfigurationList;
buildConfigurations = (
1EBEB02A280D5C7B00BF802C /* Debug */,
1EBEB02B280D5C7B00BF802C /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
/* End XCConfigurationList section */
};
rootObject = 1EBEAFF1280D5C7700BF802C /* Project object */;
}
<?xml version="1.0" encoding="UTF-8"?>
<Workspace
version = "1.0">
<FileRef
location = "self:">
</FileRef>
</Workspace>
......@@ -2,13 +2,7 @@
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>SchemeUserState</key>
<dict>
<key>Pods-SwiftWarplyFramework.xcscheme_^#shared#^_</key>
<dict>
<key>orderHint</key>
<integer>1</integer>
</dict>
</dict>
<key>IDEDidComputeMac32BitWarning</key>
<true/>
</dict>
</plist>
......
//
// AppDelegate.swift
// swift_example
//
// Created by Manos Chorianopoulos on 18/4/22.
//
import UIKit
import SwiftWarplyFramework
@main
class AppDelegate: UIResponder, UIApplicationDelegate {
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
// Override point for customization after application launch.
let instanceOfMyApi = MyApi()
instanceOfMyApi.setToStage()
// germanos uuid 70de8f34a4eb4044bb5c47d63aabd9ac
// cosmote uuid f83dfde1145e4c2da69793abb2f579af
// instanceOfMyApi.initialize(launchOptions, uuid:"f83dfde1145e4c2da69793abb2f579af", merchantId: "20113", lang: "el")
instanceOfMyApi.initialize(withCallback: launchOptions, uuid: "f83dfde1145e4c2da69793abb2f579af", merchantId: "20113", lang: "el", successBlock: initializeCallback, failureBlock: initializeFailureCallback)
// ===========================
// let instanceOfMyApi = MyApi()
// instanceOfMyApi.verifyTicketAsync(guid, ticket, verifyAsyncCallback, failureBlock: verifyAsyncFailureCallback)
func initializeCallback(_ initializeData: [AnyHashable: Any]?) -> Void {
print("===== initializeData ======")
print(initializeData)
print(initializeData?["msg"])
print(initializeData?["status"])
print("====================")
if let initializeDataDictionary = initializeData as? [String: Any] {
// let tempResponse = swiftApi.GenericResponseModel(dictionary: initializeDataDictionary)
// verifyTicketCallback(tempResponse);
} else {
// verifyTicketCallback(nil)
}
}
func initializeFailureCallback(_ error: Error?) -> Void {
print("initialize error: ")
print(error)
print("====================")
// verifyTicketCallback(nil)
}
// ================================
// instanceOfMyApi.setLang("en")
// var logout = instanceOfMyApi.logout()
// var login = instanceOfMyApi.login("6981234567", password: "123456", loginType: "msisdn")
// Set UserDefaults variables
// let launchedBefore = UserDefaults.standard.bool(forKey: "launchedBefore")
// if (!launchedBefore) {
// UserDefaults.standard.set(true, forKey: "launchedBefore")
// UserDefaults.standard.set(false, forKey: "hasOpenedGifts")
// }
return true
}
// MARK: UISceneSession Lifecycle
func application(_ application: UIApplication, configurationForConnecting connectingSceneSession: UISceneSession, options: UIScene.ConnectionOptions) -> UISceneConfiguration {
// Called when a new scene session is being created.
// Use this method to select a configuration to create the new scene with.
return UISceneConfiguration(name: "Default Configuration", sessionRole: connectingSceneSession.role)
}
func application(_ application: UIApplication, didDiscardSceneSessions sceneSessions: Set<UISceneSession>) {
// Called when the user discards a scene session.
// If any sessions were discarded while the application was not running, this will be called shortly after application:didFinishLaunchingWithOptions.
// Use this method to release any resources that were specific to the discarded scenes, as they will not return.
}
}
{
"colors" : [
{
"idiom" : "universal"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
{
"images" : [
{
"idiom" : "iphone",
"scale" : "2x",
"size" : "20x20"
},
{
"idiom" : "iphone",
"scale" : "3x",
"size" : "20x20"
},
{
"idiom" : "iphone",
"scale" : "2x",
"size" : "29x29"
},
{
"idiom" : "iphone",
"scale" : "3x",
"size" : "29x29"
},
{
"idiom" : "iphone",
"scale" : "2x",
"size" : "40x40"
},
{
"idiom" : "iphone",
"scale" : "3x",
"size" : "40x40"
},
{
"idiom" : "iphone",
"scale" : "2x",
"size" : "60x60"
},
{
"idiom" : "iphone",
"scale" : "3x",
"size" : "60x60"
},
{
"idiom" : "ipad",
"scale" : "1x",
"size" : "20x20"
},
{
"idiom" : "ipad",
"scale" : "2x",
"size" : "20x20"
},
{
"idiom" : "ipad",
"scale" : "1x",
"size" : "29x29"
},
{
"idiom" : "ipad",
"scale" : "2x",
"size" : "29x29"
},
{
"idiom" : "ipad",
"scale" : "1x",
"size" : "40x40"
},
{
"idiom" : "ipad",
"scale" : "2x",
"size" : "40x40"
},
{
"idiom" : "ipad",
"scale" : "1x",
"size" : "76x76"
},
{
"idiom" : "ipad",
"scale" : "2x",
"size" : "76x76"
},
{
"idiom" : "ipad",
"scale" : "2x",
"size" : "83.5x83.5"
},
{
"idiom" : "ios-marketing",
"scale" : "1x",
"size" : "1024x1024"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
{
"info" : {
"author" : "xcode",
"version" : 1
}
}
{
"images" : [
{
"filename" : "active_code_logo.png",
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "active_code_logo-1.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "active_code_logo-2.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
{
"images" : [
{
"filename" : "coupon_bg.png",
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "coupon_bg-1.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "coupon_bg-2.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
{
"images" : [
{
"filename" : "coupons_scrollview.png",
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "coupons_scrollview-1.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "coupons_scrollview-2.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
{
"images" : [
{
"filename" : "coupons_scrollview_dark.png",
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "coupons_scrollview_dark-1.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "coupons_scrollview_dark-2.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
{
"images" : [
{
"filename" : "coupons_scrollview_white.png",
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "coupons_scrollview_white-1.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "coupons_scrollview_white-2.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
{
"images" : [
{
"filename" : "curved_bg_white.png",
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "curved_bg_white-1.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "curved_bg_white-2.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
{
"images" : [
{
"filename" : "default_profile_image.png",
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "default_profile_image-1.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "default_profile_image-2.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
{
"images" : [
{
"filename" : "dfy_logo_white.png",
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "dfy_logo_white-1.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "dfy_logo_white-2.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
{
"images" : [
{
"filename" : "filters_btn.png",
"idiom" : "universal",
"scale" : "1x"
},
{
"idiom" : "universal",
"scale" : "2x"
},
{
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
{
"images" : [
{
"filename" : "heart.png",
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "heart-1.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "heart-2.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
{
"images" : [
{
"filename" : "ic_back.png",
"idiom" : "universal",
"scale" : "1x"
},
{
"idiom" : "universal",
"scale" : "2x"
},
{
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
{
"images" : [
{
"filename" : "ic_background_circle.png",
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "ic_background_circle-1.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "ic_background_circle-2.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
{
"images" : [
{
"filename" : "ic_bag.png",
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "ic_bag-1.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "ic_bag-2.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
{
"images" : [
{
"filename" : "ic_cart.png",
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "ic_cart-1.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "ic_cart-2.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
{
"images" : [
{
"filename" : "ic_cosmote_logo.png",
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "ic_cosmote_logo-1.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "ic_cosmote_logo-2.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
{
"images" : [
{
"filename" : "ic_down.png",
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "ic_down-1.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "ic_down-2.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
{
"images" : [
{
"filename" : "ic_down_dark.png",
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "ic_down_dark-1.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "ic_down_dark-2.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
{
"images" : [
{
"filename" : "ic_food.png",
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "ic_food-1.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "ic_food-2.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
{
"images" : [
{
"filename" : "ic_gift.png",
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "ic_gift-1.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "ic_gift-2.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
{
"images" : [
{
"filename" : "ic_plane.png",
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "ic_plane-1.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "ic_plane-2.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
{
"images" : [
{
"filename" : "ic_smile.png",
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "ic_smile-1.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "ic_smile-2.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
{
"images" : [
{
"filename" : "ic_steering_wheel.png",
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "ic_steering_wheel-1.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "ic_steering_wheel-2.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
{
"images" : [
{
"filename" : "ic_up.png",
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "ic_up-1.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "ic_up-2.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
{
"images" : [
{
"filename" : "ic_up_dark.png",
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "ic_up_dark-1.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "ic_up_dark-2.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
{
"images" : [
{
"filename" : "ic_wallet.png",
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "ic_wallet-1.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "ic_wallet-2.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
{
"images" : [
{
"filename" : "location_icon.png",
"idiom" : "universal",
"scale" : "1x"
},
{
"idiom" : "universal",
"scale" : "2x"
},
{
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
{
"images" : [
{
"filename" : "new_icon.png",
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "new_icon-1.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "new_icon-2.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
{
"images" : [
{
"filename" : "search_icon.png",
"idiom" : "universal",
"scale" : "1x"
},
{
"idiom" : "universal",
"scale" : "2x"
},
{
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
{
"images" : [
{
"filename" : "wallet_coupons.png",
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "wallet_coupons-1.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "wallet_coupons-2.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
{
"images" : [
{
"filename" : "wallet_dfy_earn.png",
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "wallet_dfy_earn-1.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "wallet_dfy_earn-2.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="13122.16" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES" initialViewController="01J-lp-oVM">
<dependencies>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="13104.12"/>
<capability name="Safe area layout guides" minToolsVersion="9.0"/>
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
</dependencies>
<scenes>
<!--View Controller-->
<scene sceneID="EHf-IW-A2E">
<objects>
<viewController id="01J-lp-oVM" sceneMemberID="viewController">
<view key="view" contentMode="scaleToFill" id="Ze5-6b-2t3">
<rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<color key="backgroundColor" xcode11CocoaTouchSystemColor="systemBackgroundColor" cocoaTouchSystemColor="whiteColor"/>
<viewLayoutGuide key="safeArea" id="6Tk-OE-BBY"/>
</view>
</viewController>
<placeholder placeholderIdentifier="IBFirstResponder" id="iYj-Kq-Ea1" userLabel="First Responder" sceneMemberID="firstResponder"/>
</objects>
<point key="canvasLocation" x="53" y="375"/>
</scene>
</scenes>
</document>
This diff could not be displayed because it is too large.
......@@ -2,17 +2,24 @@
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>SchemeUserState</key>
<key>UIApplicationSceneManifest</key>
<dict>
<key>Pods-SwiftWarplyFramework.xcscheme</key>
<dict>
<key>isShown</key>
<key>UIApplicationSupportsMultipleScenes</key>
<false/>
<key>orderHint</key>
<integer>0</integer>
<key>UISceneConfigurations</key>
<dict>
<key>UIWindowSceneSessionRoleApplication</key>
<array>
<dict>
<key>UISceneConfigurationName</key>
<string>Default Configuration</string>
<key>UISceneDelegateClassName</key>
<string>$(PRODUCT_MODULE_NAME).SceneDelegate</string>
<key>UISceneStoryboardFile</key>
<string>Main</string>
</dict>
</array>
</dict>
</dict>
<key>SuppressBuildableAutocreation</key>
<dict/>
</dict>
</plist>
......
//
// SceneDelegate.swift
// swift_example
//
// Created by Manos Chorianopoulos on 18/4/22.
//
import UIKit
import SwiftWarplyFramework
class SceneDelegate: UIResponder, UIWindowSceneDelegate {
var window: UIWindow?
func scene(_ scene: UIScene, willConnectTo session: UISceneSession, options connectionOptions: UIScene.ConnectionOptions) {
// Use this method to optionally configure and attach the UIWindow `window` to the provided UIWindowScene `scene`.
// If using a storyboard, the `window` property will automatically be initialized and attached to the scene.
// This delegate does not imply the connecting scene or session are new (see `application:configurationForConnectingSceneSession` instead).
guard let _ = (scene as? UIWindowScene) else { return }
// if let windowScene = scene as? UIWindowScene {
// let window = UIWindow(windowScene: windowScene)
// let instanceOfMyApi = MyApi()
//
// // var login = instanceOfMyApi.login("6981234567", password: "123456", loginType: "msisdn")
//
// // window.rootViewController = instanceOfMyApi.openCoupons()
// window.rootViewController = instanceOfMyApi.openGifts()
// self.window = window
// window.makeKeyAndVisible()
// }
}
func sceneDidDisconnect(_ scene: UIScene) {
// Called as the scene is being released by the system.
// This occurs shortly after the scene enters the background, or when its session is discarded.
// Release any resources associated with this scene that can be re-created the next time the scene connects.
// The scene may re-connect later, as its session was not necessarily discarded (see `application:didDiscardSceneSessions` instead).
}
func sceneDidBecomeActive(_ scene: UIScene) {
// Called when the scene has moved from an inactive state to an active state.
// Use this method to restart any tasks that were paused (or not yet started) when the scene was inactive.
}
func sceneWillResignActive(_ scene: UIScene) {
// Called when the scene will move from an active state to an inactive state.
// This may occur due to temporary interruptions (ex. an incoming phone call).
}
func sceneWillEnterForeground(_ scene: UIScene) {
// Called as the scene transitions from the background to the foreground.
// Use this method to undo the changes made on entering the background.
}
func sceneDidEnterBackground(_ scene: UIScene) {
// Called as the scene transitions from the foreground to the background.
// Use this method to save data, release shared resources, and store enough scene-specific state information
// to restore the scene back to its current state.
}
}
//
// ViewController.swift
// swift_example
//
// Created by Manos Chorianopoulos on 18/4/22.
//
import UIKit
import SwiftWarplyFramework
import SwiftEventBus
class ViewController: UIViewController, UITextFieldDelegate {
@IBOutlet weak var guidTextField: UITextField!
var isLoggedIn: Bool = false
override func viewDidLoad() {
super.viewDidLoad()
// Do any additional setup after loading the view.
self.setupToHideKeyboardOnTapOnView()
guidTextField.delegate = self
// iOS_ccms_offers
let ccms_offers = loadJsonFrom(fileName: "iOS_ccms_offers")
// print("======= ccms_offers ========")
// print(ccms_offers[0])
var ccmsCampaignsArray:Array<swiftApi.LoyaltyContextualOfferModel> = [];
for ccmsItem in ccms_offers {
let tempCcmsItem = ccmsItem as [String: Any]
let newCcmsCampaign = swiftApi.LoyaltyContextualOfferModel()
newCcmsCampaign._sessionId = tempCcmsItem["sessionId"] as? String ?? ""
newCcmsCampaign._eligibleAssets = tempCcmsItem["eligibleAssets"] as? Array<String> ?? []
newCcmsCampaign._id = tempCcmsItem["id"] as? String ?? ""
newCcmsCampaign._businessAdditionalId = tempCcmsItem["businessAdditionalId"] as? String ?? ""
newCcmsCampaign._treatmentCode = tempCcmsItem["treatmentCode"] as? String ?? ""
newCcmsCampaign._offerName = tempCcmsItem["offerName"] as? String ?? ""
newCcmsCampaign._productType = tempCcmsItem["productType"] as? String ?? ""
newCcmsCampaign._provDuration = tempCcmsItem["provDuration"] as? String ?? ""
newCcmsCampaign._noOfRecurrance = tempCcmsItem["noOfRecurrance"] as? String ?? ""
newCcmsCampaign._price = tempCcmsItem["price"] as? String ?? ""
newCcmsCampaign._discount = tempCcmsItem["discount"] as? String ?? ""
newCcmsCampaign._voiceCategory = tempCcmsItem["voiceCategory"] as? String ?? ""
newCcmsCampaign._dataCategory = tempCcmsItem["dataCategory"] as? String ?? ""
newCcmsCampaign._minsValue = tempCcmsItem["minsValue"] as? String ?? ""
newCcmsCampaign._dataValue = tempCcmsItem["dataValue"] as? String ?? ""
newCcmsCampaign._provStepValueMins = tempCcmsItem["provStepValueMins"] as? String ?? ""
newCcmsCampaign._postpayProduct = tempCcmsItem["postpayProduct"] as? String ?? ""
newCcmsCampaign._notificationMessage = tempCcmsItem["notificationMessage"] as? String ?? ""
newCcmsCampaign._loyaltyCampaignId = tempCcmsItem["loyaltyCampaignId"] as? String ?? ""
newCcmsCampaign._businessService = tempCcmsItem["businessService"] as? String ?? ""
newCcmsCampaign._uaciOfferTrackingCode = tempCcmsItem["uaciOfferTrackingCode"] as? String ?? ""
newCcmsCampaign._offerCode1 = tempCcmsItem["offerCode1"] as? String ?? ""
newCcmsCampaign._score = tempCcmsItem["score"] as? String ?? ""
newCcmsCampaign._zone = tempCcmsItem["zone"] as? String ?? ""
newCcmsCampaign._wave = tempCcmsItem["wave"] as? String ?? ""
newCcmsCampaign._validity = tempCcmsItem["validity"] as? String ?? ""
newCcmsCampaign._offerAudienceLevel = tempCcmsItem["offerAudienceLevel"] as? String ?? ""
ccmsCampaignsArray.append(newCcmsCampaign)
}
swiftApi().setCCMSLoyaltyCampaigns(campaigns: ccmsCampaignsArray)
// let ccmsFinal = swiftApi().getCCMSLoyaltyCampaigns()
// print("========== CCMSLoyaltyCampaigns ============")
// print(ccmsFinal)
//
// print(ccmsFinal[0]._sessionId)
// print(ccmsFinal[0]._id)
// print(ccmsFinal[0]._loyaltyCampaignId)
// print(ccmsFinal[0]._eligibleAssets)
// print(ccmsFinal[0]._eligibleAssets[0])
// print("========== CCMSLoyaltyCampaigns ============")
// TODO: DELETE =====>
// getCampaignsRequest()
// getProfileRequest()
// getCouponsRequest()
// getPacingDetailsRequest()
// swiftApi().handleSharing(self, "96de198745b740af997732ec9b82a732")
// TODO: DELETE <=====
SwiftEventBus.onBackgroundThread(self, name: "questionnaire") { result in
let event : swiftApi.QuestionnaireEventModel = result?.object as! swiftApi.QuestionnaireEventModel
print("===== SwiftEventBus.onBackgroundThread questionnaire =====")
print(event._name)
print(event._parameter)
// self.showEventDialog((event._name + " " + event._parameter))
}
SwiftEventBus.onBackgroundThread(self, name: "pacing") { result in
let event : swiftApi.WarplyPacingEventModel = result?.object as! swiftApi.WarplyPacingEventModel
print("===== SwiftEventBus.onBackgroundThread pacing =====")
print(event._isEnabled)
print(event._isVisible)
// self.showEventDialog(("pacing" + " Enabled: " + (event._isEnabled ? "true" : "false") + " Visible: " + (event._isVisible ? "true" : "false")))
}
}
func loadJsonFrom(fileName: String) -> [[String: AnyObject]] {
let path = Bundle.main.path(forResource: fileName, ofType: "json")
let jsonData = try! Data(contentsOf: URL(fileURLWithPath: path!))
let jsonResult: [[String: AnyObject]] = try! JSONSerialization.jsonObject(with: jsonData, options: .allowFragments) as! [[String: AnyObject]]
return jsonResult
}
func showEventDialog(_ alertTitle: String) -> Void {
let alert = UIAlertController(title: "Event received!", message: alertTitle, preferredStyle: .alert)
alert.addAction(UIAlertAction(title: "OK", style: .default, handler: { action in
switch action.style{
case .default:
print("default")
case .cancel:
print("cancel")
case .destructive:
print("destructive")
}
}))
self.present(alert, animated: true, completion: nil)
}
// TODO: DELETE =====>
func getCampaignsRequest() {
swiftApi().getCampaignsAsync(getCampaignsCallback)
}
func getCampaignsCallback (_ campaignsData: Array<swiftApi.CampaignItemModel>?) -> Void {
if (campaignsData != nil) {
DispatchQueue.main.async {
// swiftApi().setUniqueCampaignList(campaignsData ?? [])
print("========= DispatchQueue campaignsData SUCCESSSS =========")
print(campaignsData)
print("========= DispatchQueue campaignsData SUCCESSSS =========")
print("========= getCampaignList =========")
print(swiftApi().getCampaignList())
print("========= getCampaignList =========")
print("========= getCampaignList count =========")
print(swiftApi().getCampaignList().filter { $0.offer_category == "gifts_for_you" }.count)
print("========= getCampaignList count =========")
}
} else {
}
}
func getPacingDetailsRequest() {
swiftApi().getPacingDetailsAsync(getPacingCallback)
}
func getPacingCallback (_ pacingData: swiftApi.PacingDetails?) -> Void {
if (pacingData != nil) {
DispatchQueue.main.async {
print("========= DispatchQueue pacingData SUCCESSSS =========")
print(pacingData)
print("========= DispatchQueue pacingData _steps =========")
print(pacingData?._steps)
print("========= DispatchQueue pacingData _meters =========")
print(pacingData?._meters)
print("========= DispatchQueue pacingData _steps _day =========")
print(pacingData?._steps._day)
print("========= DispatchQueue pacingData _steps _week =========")
print(pacingData?._steps._week)
print("========= DispatchQueue pacingData _steps _month =========")
print(pacingData?._steps._month)
print("========= DispatchQueue pacingData _steps _total =========")
print(pacingData?._steps._total)
print("========= DispatchQueue pacingData _steps _day _value =========")
print(pacingData?._steps._total._value)
print("========= DispatchQueue pacingData _steps _day _goal =========")
print(pacingData?._steps._day._goal)
print("========= DispatchQueue pacingData _steps _day _per_day =========")
print(pacingData?._steps._day._per_day)
for item in pacingData?._steps._day._per_day ?? [] {
print("========= DispatchQueue pacingData _steps _per_day _value =========")
print(item._value)
print("========= DispatchQueue pacingData _steps _per_day _day =========")
print(item._day)
}
print("========= DispatchQueue pacingData _meters _day =========")
print(pacingData?._meters._day)
print("========= DispatchQueue pacingData _meters _week =========")
print(pacingData?._meters._week)
print("========= DispatchQueue pacingData _meters _month =========")
print(pacingData?._meters._month)
print("========= DispatchQueue pacingData _meters _total =========")
print(pacingData?._meters._total)
print("========= DispatchQueue pacingData _meters _day _value =========")
print(pacingData?._meters._total._value)
print("========= DispatchQueue pacingData _meters _day _goal =========")
print(pacingData?._meters._month._goal)
print("========= DispatchQueue pacingData _meters _day _per_day =========")
print(pacingData?._meters._month._per_day)
for item in pacingData?._meters._day._per_day ?? [] {
print("========= DispatchQueue pacingData _meters _per_day _value =========")
print(item._value)
print("========= DispatchQueue pacingData _meters _per_day _day =========")
print(item._day)
}
}
} else {
}
}
func getCouponsRequest() {
swiftApi().getCouponsAsync(getCouponsCallback)
}
func getCouponsCallback (_ couponsData: Array<swiftApi.CouponItemModel>?) -> Void {
if (couponsData != nil) {
DispatchQueue.main.async {
print("========= getCouponsRequest SUCCESSSS =========")
// swiftApi().setCouponList(couponsData)
// let activeCouponData = swiftApi().filterActiveCoupons(couponsData ?? [])
// swiftApi().setCouponList(activeCouponData)
}
} else {
print("========= getCouponsRequest ERROR =========")
}
}
func getProfileRequest() {
swiftApi().getProfileAsync(getProfileCallback)
}
func getProfileCallback (_ profileData: swiftApi.ProfileModel?) -> Void {
if (profileData != nil) {
DispatchQueue.main.async {
swiftApi().setConsumer(profileData ?? swiftApi.ProfileModel())
print("========= getProfileRequest SUCCESSSS =========")
print(profileData)
}
} else {
print("========= getProfileRequest ERROR =========")
}
}
// TODO: DELETE <=====
// MARK: Functions
// MARK: Actions
@IBAction func navigate(sender: UIButton) {
// let instanceOfMyApi = MyApi()
// let giftsViewController = instanceOfMyApi.openGifts(view)!
// giftsViewController.view.tag = 5
// addChild(giftsViewController)
// giftsViewController.view.frame = self.view.frame
// view.addSubview(giftsViewController.view)
// giftsViewController.didMove(toParent: self)
// let instanceOfMyApi = MyApi()
// let couponsViewController = instanceOfMyApi.openCoupons(view)!
// couponsViewController.view.tag = 1
// addChild(couponsViewController)
// couponsViewController.view.frame = self.view.frame
// view.addSubview(couponsViewController.view)
// couponsViewController.didMove(toParent: self)
// let instanceOfMyApi = MyApi()
// let allGiftsViewController = instanceOfMyApi.openAllGifts(view)!
// allGiftsViewController.view.tag = 8
// addChild(allGiftsViewController)
// allGiftsViewController.view.frame = self.view.frame
// view.addSubview(allGiftsViewController.view)
// allGiftsViewController.didMove(toParent: self)
// let instanceOfMyApi = MyApi()
// let oldCouponsViewController = instanceOfMyApi.openOldCoupons(view)!
// oldCouponsViewController.view.tag = 9
// addChild(oldCouponsViewController)
// oldCouponsViewController.view.frame = self.view.frame
// view.addSubview(oldCouponsViewController.view)
// oldCouponsViewController.didMove(toParent: self)
// let instanceOfMyApi = MyApi()
// let detailsViewController = instanceOfMyApi.openDetails(view)!
// detailsViewController.view.tag = 10
// addChild(detailsViewController)
// detailsViewController.view.frame = self.view.frame
// view.addSubview(detailsViewController.view)
// detailsViewController.didMove(toParent: self)
// let storyboard = UIStoryboard(name: "Main", bundle: Bundle(for: MyEmptyClass.self))
// let storyboard = UIStoryboard(name: "Main", bundle: nil)
// let vc = storyboard.instantiateViewController(withIdentifier: "CouponViewController") as! CouponViewController
// self.navigationController?.pushViewController(vc, animated: true)
// let storyboard = UIStoryboard(name: "Main", bundle: nil)
// let vc = storyboard.instantiateViewController(withIdentifier: "GiftsViewController") as! GiftsViewController
// self.navigationController?.pushViewController(vc, animated: true)
// MFYViewController
// let storyboard = UIStoryboard(name: "Main", bundle: nil)
// let vc = storyboard.instantiateViewController(withIdentifier: "MFYViewController") as! MFYViewController
// self.navigationController?.pushViewController(vc, animated: true)
// let storyboard = UIStoryboard(name: "Main", bundle: nil)
// let vc = storyboard.instantiateViewController(withIdentifier: "CampaignWebviewViewController") as! CampaignWebviewViewController
// self.navigationController?.pushViewController(vc, animated: true)
// let storyboard = UIStoryboard(name: "Main", bundle: nil)
// let vc = storyboard.instantiateViewController(withIdentifier: "CouponBarcodeViewController") as! CouponBarcodeViewController
// self.navigationController?.pushViewController(vc, animated: true)
// WalletViewController
// let storyboard = UIStoryboard(name: "Main", bundle: nil)
// let vc = storyboard.instantiateViewController(withIdentifier: "WalletViewController") as! WalletViewController
// self.navigationController?.pushViewController(vc, animated: true)
// WalletViewController from pod
// let storyboard = UIStoryboard(name: "Main", bundle: Bundle(for: MyEmptyClass.self))
// let vc = storyboard.instantiateViewController(withIdentifier: "WalletViewController") as! SwiftWarplyFramework.WalletViewController
// self.navigationController?.pushViewController(vc, animated: true)
// GiftsViewController from pod
// let storyboard = UIStoryboard(name: "Main", bundle: Bundle(for: MyEmptyClass.self))
// let vc = storyboard.instantiateViewController(withIdentifier: "GiftsViewController") as! SwiftWarplyFramework.GiftsViewController
// self.navigationController?.pushViewController(vc, animated: true)
// MFYViewController from pod
// let storyboard = UIStoryboard(name: "Main", bundle: Bundle(for: MyEmptyClass.self))
// let vc = storyboard.instantiateViewController(withIdentifier: "MFYViewController") as! SwiftWarplyFramework.MFYViewController
// self.navigationController?.pushViewController(vc, animated: true)
// TODO: TEST
// swiftApi().openQuestionnaire(self)
// let storyboard = UIStoryboard(name: "Main", bundle: nil)
// let vc = storyboard.instantiateViewController(withIdentifier: "CouponsViewController") as! CouponsViewController
// self.navigationController?.pushViewController(vc, animated: true)
if (self.isLoggedIn) {
// CouponsViewController from pod
let storyboard = UIStoryboard(name: "Main", bundle: Bundle(for: MyEmptyClass.self))
let vc = storyboard.instantiateViewController(withIdentifier: "CouponsViewController") as! SwiftWarplyFramework.CouponsViewController
self.navigationController?.pushViewController(vc, animated: true)
}
}
@IBAction func giftsBtnAction(_ sender: Any) {
// let storyboard = UIStoryboard(name: "Main", bundle: nil)
// let vc = storyboard.instantiateViewController(withIdentifier: "GiftsViewController") as! GiftsViewController
// self.navigationController?.pushViewController(vc, animated: true)
if (self.isLoggedIn) {
// GiftsViewController from pod
let storyboard = UIStoryboard(name: "Main", bundle: Bundle(for: MyEmptyClass.self))
let vc = storyboard.instantiateViewController(withIdentifier: "GiftsViewController") as! SwiftWarplyFramework.GiftsViewController
self.navigationController?.pushViewController(vc, animated: true)
}
}
@IBAction func morefybtnAction(_ sender: Any) {
// let storyboard = UIStoryboard(name: "Main", bundle: nil)
// let vc = storyboard.instantiateViewController(withIdentifier: "MFYViewController") as! MFYViewController
// self.navigationController?.pushViewController(vc, animated: true)
if (self.isLoggedIn) {
// MFYViewController from pod
let storyboard = UIStoryboard(name: "Main", bundle: Bundle(for: MyEmptyClass.self))
let vc = storyboard.instantiateViewController(withIdentifier: "MFYViewController") as! SwiftWarplyFramework.MFYViewController
self.navigationController?.pushViewController(vc, animated: true)
}
}
@IBAction func walletBtnAction(_ sender: Any) {
// let storyboard = UIStoryboard(name: "Main", bundle: nil)
// let vc = storyboard.instantiateViewController(withIdentifier: "WalletViewController") as! WalletViewController
// self.navigationController?.pushViewController(vc, animated: true)
if (self.isLoggedIn) {
// WalletViewController from pod
let storyboard = UIStoryboard(name: "Main", bundle: Bundle(for: MyEmptyClass.self))
let vc = storyboard.instantiateViewController(withIdentifier: "WalletViewController") as! SwiftWarplyFramework.WalletViewController
self.navigationController?.pushViewController(vc, animated: true)
}
}
@IBAction func telcoBtnAction(_ sender: Any) {
if (self.isLoggedIn) {
// TelcoViewController from pod
let storyboard = UIStoryboard(name: "Main", bundle: Bundle(for: MyEmptyClass.self))
let vc = storyboard.instantiateViewController(withIdentifier: "TelcoViewController") as! SwiftWarplyFramework.TelcoViewController
self.navigationController?.pushViewController(vc, animated: true)
}
}
@IBAction func loginBtnAction(_ sender: Any) {
// TODO: ADD getCosmoteUser request
// guidTextField.text
swiftApi().getCosmoteUserAsync(guid: guidTextField.text ?? "", getCosmoteUserCallback)
func getCosmoteUserCallback (_ responseData: swiftApi.GenericResponseModel?) -> Void {
if (responseData != nil) {
DispatchQueue.main.async {
print("========= getCosmoteUserAsync SUCCESSSS =========")
print(responseData)
if (responseData?.getStatus == 1) {
self.getCampaignsRequest()
self.getProfileRequest()
self.getCouponsRequest()
self.isLoggedIn = true
}
}
} else {
print("========= getCosmoteUserAsync ERROR =========")
print(responseData)
}
}
}
@IBAction func guidTextFieldEditingChanged(_ sender: UITextField) {
// print("==== guidTextFieldEditingChanged ======")
// print(sender.text)
// print(guidTextField.text)
}
}
extension UIViewController
{
func setupToHideKeyboardOnTapOnView()
{
let tap: UITapGestureRecognizer = UITapGestureRecognizer(target: self, action: #selector(UIViewController.dismissKeyboard))
tap.cancelsTouchesInView = false
view.addGestureRecognizer(tap)
}
@objc func dismissKeyboard()
{
view.endEditing(true)
}
}
//
// ViewControllerExtensions.swift
// swift_example
//
// Created by Manos Chorianopoulos on 5/5/22.
//
import UIKit
extension UIViewController {
func setBackButton() {
let uiscreen: CGRect = UIScreen.main.bounds
let backButton = UIButton(type: UIButton.ButtonType.custom) as UIButton
backButton.frame = CGRect(x: 0, y: 0, width: uiscreen.height * 0.025, height: uiscreen.height * 0.02)
// backButton.frame = CGRect(x: 0, y: 0, width: uiscreen.height * 0.01, height: uiscreen.height * 0.01)
// backButton.backgroundColor = .red
backButton.imageView!.contentMode = .scaleAspectFit
//backButton.setBackgroundImage(UIImage(named:Assets.Navigation.backButton), for: UIControlState())
backButton.setImage(UIImage(named: "ic_back"), for: .normal)
// backButton.imageEdgeInsets = UIEdgeInsets(top: 0, left: -20, bottom: 0, right: 0)
backButton.addTarget(self, action: #selector(moveToBack(_:)), for: .touchUpInside)
backButton.translatesAutoresizingMaskIntoConstraints = false
// Add width, height constraints
let widthContraints = NSLayoutConstraint(item: backButton, attribute: NSLayoutConstraint.Attribute.width, relatedBy: NSLayoutConstraint.Relation.equal, toItem: nil, attribute: NSLayoutConstraint.Attribute.notAnAttribute, multiplier: 1, constant: uiscreen.height * 0.025)
let heightContraints = NSLayoutConstraint(item: backButton, attribute: NSLayoutConstraint.Attribute.height, relatedBy: NSLayoutConstraint.Relation.equal, toItem: nil, attribute: NSLayoutConstraint.Attribute.notAnAttribute, multiplier: 1, constant: uiscreen.height * 0.02)
NSLayoutConstraint.activate([heightContraints,widthContraints])
let leftBarButtonItem: UIBarButtonItem = UIBarButtonItem(customView: backButton)
self.navigationItem.setLeftBarButton(leftBarButtonItem, animated: false)
self.navigationItem.title = ""
}
@objc func moveToBack(_ sender:UIButton){
self.navigationController?.popViewController(animated: true)
}
func setNavigationTitle(_ title: String) {
let uiscreen: CGRect = UIScreen.main.bounds
// let titleLabel = UILabel(frame: CGRect(x: 0, y: 0, width: 25, height: 45))
let titleLabel = UILabel(frame: CGRect(x: 0, y: 0, width: uiscreen.width * 0.7, height: uiscreen.height * 0.03))
titleLabel.text = title
titleLabel.textColor = UIColor(red: 0.21, green: 0.32, blue: 0.41, alpha: 1.00)
// titleLabel.font = UIFont(name: Fonts.ProximaNova.semibold, size: 16)
titleLabel.font = UIFont.systemFont(ofSize: 16, weight: UIFont.Weight.semibold)
titleLabel.adjustsFontSizeToFitWidth = true
titleLabel.textAlignment = .center
// titleLabel.backgroundColor = .red
self.navigationItem.titleView = titleLabel
}
}
extension String {
var htmlToAttributedString: NSAttributedString? {
guard let data = data(using: .utf8) else { return nil }
do {
return try NSAttributedString(data: data, options: [.documentType: NSAttributedString.DocumentType.html, .characterEncoding:String.Encoding.utf8.rawValue], documentAttributes: nil)
} catch {
return nil
}
}
var htmlToString: String {
return htmlToAttributedString?.string ?? ""
}
}
extension String {
var length: Int {
return count
}
subscript (i: Int) -> String {
return self[i ..< i + 1]
}
func substring(fromIndex: Int) -> String {
return self[min(fromIndex, length) ..< length]
}
func substring(toIndex: Int) -> String {
return self[0 ..< max(0, toIndex)]
}
subscript (r: Range<Int>) -> String {
let range = Range(uncheckedBounds: (lower: max(0, min(length, r.lowerBound)),
upper: min(length, max(0, r.upperBound))))
let start = index(startIndex, offsetBy: range.lowerBound)
let end = index(start, offsetBy: range.upperBound - range.lowerBound)
return String(self[start ..< end])
}
}
extension UIView {
func addDashedBorderVertical(color: UIColor, width: CGFloat, height: CGFloat) {
// let color = UIColor(red: 0.44, green: 0.44, blue: 0.44, alpha: 1.00).cgColor
let color = color.cgColor
let frameSize = self.frame.size
let lineLayer = CAShapeLayer()
lineLayer.strokeColor = color
// lineLayer.lineWidth = 1
lineLayer.lineWidth = width
lineLayer.lineDashPattern = [5,5]
let path = CGMutablePath()
// path.addLines(between: [CGPoint(x: frameSize.width/2, y: 0), CGPoint(x: frameSize.width/2, y: frameSize.height)])
// path.addLines(between: [CGPoint(x: frameSize.width/2, y: 0), CGPoint(x: frameSize.width/2, y: 110)])
path.addLines(between: [CGPoint(x: frameSize.width/2, y: 0), CGPoint(x: frameSize.width/2, y: height)])
lineLayer.path = path
self.layer.addSublayer(lineLayer)
}
}
extension UIImageView {
// func downloaded(from url: URL, contentMode mode: ContentMode = .scaleAspectFit) {
// contentMode = mode
// URLSession.shared.dataTask(with: url) { data, response, error in
// guard
// let httpURLResponse = response as? HTTPURLResponse, httpURLResponse.statusCode == 200,
// let mimeType = response?.mimeType, mimeType.hasPrefix("image"),
// let data = data, error == nil,
// let image = UIImage(data: data)
// else { return }
// DispatchQueue.main.async() { [weak self] in
// self?.image = image
// }
// }.resume()
// }
// func downloaded(from link: String, contentMode mode: ContentMode = .scaleAspectFit) {
// guard let url = URL(string: link) else { return }
// downloaded(from: url, contentMode: mode)
// }
func load(link: String, placeholder: UIImage?, cache: URLCache? = nil) {
guard let url = URL(string: link) else { return }
let cache = cache ?? URLCache.shared
let request = URLRequest(url: url)
if let data = cache.cachedResponse(for: request)?.data, let image = UIImage(data: data) {
DispatchQueue.main.async {
self.image = image
// print("==== Cached Image =====")
}
} else {
self.image = placeholder
URLSession.shared.dataTask(with: request, completionHandler: { (data, response, error) in
if let data = data, let response = response, ((response as? HTTPURLResponse)?.statusCode ?? 500) < 300, let image = UIImage(data: data) {
let cachedData = CachedURLResponse(response: response, data: data)
cache.storeCachedResponse(cachedData, for: request)
DispatchQueue.main.async {
self.image = image
// print("==== Image from url =====")
}
}
}).resume()
}
}
}
typealias GradientPoints = (startPoint: CGPoint, endPoint: CGPoint)
enum GradientOrientation {
case topRightBottomLeft
case topLeftBottomRight
case horizontal
case vertical
var startPoint : CGPoint {
return points.startPoint
}
var endPoint : CGPoint {
return points.endPoint
}
var points : GradientPoints {
switch self {
case .topRightBottomLeft:
return (CGPoint(x: 0.0,y: 1.0), CGPoint(x: 1.0,y: 0.0))
case .topLeftBottomRight:
return (CGPoint(x: 0.0,y: 0.0), CGPoint(x: 1,y: 1))
case .horizontal:
return (CGPoint(x: 0.0,y: 0.5), CGPoint(x: 1.0,y: 0.5))
case .vertical:
return (CGPoint(x: 0.0,y: 0.0), CGPoint(x: 0.0,y: 1.0))
}
}
}
extension UIView {
func applyGradient(colours: [UIColor], locations: [NSNumber]? = nil, cornerRadius: CGFloat) {
let gradient = CAGradientLayer()
gradient.frame = self.bounds
gradient.colors = colours.map { $0.cgColor }
gradient.locations = locations
gradient.cornerRadius = cornerRadius
gradient.name = "linearGradientLayer"
self.layer.insertSublayer(gradient, at: 0)
}
func applyGradient(colours: [UIColor], gradient orientation: GradientOrientation, cornerRadius: CGFloat) {
let gradient = CAGradientLayer()
gradient.frame = self.bounds
gradient.colors = colours.map { $0.cgColor }
gradient.startPoint = orientation.startPoint
gradient.endPoint = orientation.endPoint
gradient.cornerRadius = cornerRadius
gradient.name = "linearGradientLayer"
self.layer.insertSublayer(gradient, at: 0)
}
}
//
// CampaignWebviewViewController.swift
// swift_example
//
// Created by Manos Chorianopoulos on 18/5/22.
//
import UIKit
import WebKit
// TODO: UNCOMMENT
//import SwiftEventBus
// TODO: DELETE
import SwiftWarplyFramework
class CampaignWebviewViewController: UIViewController, WKNavigationDelegate, WKScriptMessageHandler {
@IBOutlet weak var webview: WKWebView!
public var campaignUrl: String = ""
override func viewDidLoad() {
super.viewDidLoad()
var campaignUrl = campaignUrl.addingPercentEncoding(withAllowedCharacters: .urlQueryAllowed)
print("Webview url: " + (campaignUrl ?? ""))
self.hidesBottomBarWhenPushed = true
setBackButton()
webview.navigationDelegate = self
if let url = URL(string: campaignUrl ?? "") {
webview.load(URLRequest(url: url))
webview.allowsBackForwardNavigationGestures = true
}
webview.configuration.userContentController.add(self, name: "Cosmote")
}
func userContentController(_ userContentController: WKUserContentController, didReceive message: WKScriptMessage) {
print("=== event callback ===")
print(message.name, message.body)
print("=== event callback ===")
print(message.body)
if let event = message.body as? String {
let eventArray = event.split(separator: ":")
if (eventArray[0] == "event") {
if (eventArray[1] == "closeArtwork") {
print("=== event closeArtwork ===")
self.navigationController?.popViewController(animated: true)
} else if (eventArray[1] == "addUserTag") {
let questionnaireEvent = swiftApi.QuestionnaireEventModel()
questionnaireEvent._name = String(eventArray[1])
if (eventArray.count > 2) {
questionnaireEvent._parameter = String(eventArray[2])
swiftApi().setUserTag(String(eventArray[2]))
} else {
questionnaireEvent._parameter = ""
swiftApi().setUserTag("")
}
// if ((eventArray[2] != nil) && (eventArray[2] != "")) {
// questionnaireEvent._parameter = String(eventArray[2])
// swiftApi().setUserTag(String(eventArray[2]))
// } else {
// questionnaireEvent._parameter = ""
// swiftApi().setUserTag("")
// }
// TODO: UNCOMMENT
// SwiftEventBus.post("questionnaire", sender: questionnaireEvent)
// swiftApi().setUserTag(String(eventArray[2]))
// self.navigationController?.popViewController(animated: true)
} else if (eventArray[1] == "couponRetrieved") {
let couponEvent = swiftApi.CouponEventModel()
// TODO: UNCOMMENT
// SwiftEventBus.post("coupon_retrieved", sender: couponEvent)
} else if (eventArray[2] == "serviceDisabled") {
let pacingService = swiftApi.WarplyPacingEventModel()
pacingService._isEnabled = false
// TODO: UNCOMMENT
// SwiftEventBus.post("pacing", sender: pacingService)
} else if (eventArray[2] == "serviceEnabled") {
let pacingService = swiftApi.WarplyPacingEventModel()
pacingService._isEnabled = true
// TODO: UNCOMMENT
// SwiftEventBus.post("pacing", sender: pacingService)
} else if (eventArray[2] == "shortcutEnabled") {
let pacingEvent = swiftApi.WarplyPacingEventModel()
pacingEvent._isVisible = true
// TODO: UNCOMMENT
// SwiftEventBus.post("pacing", sender: pacingEvent)
} else if (eventArray[2] == "shortcutDisabled") {
let pacingEvent = swiftApi.WarplyPacingEventModel()
pacingEvent._isVisible = false
// TODO: UNCOMMENT
// SwiftEventBus.post("pacing", sender: pacingEvent)
} else if (eventArray[1] == "request" || eventArray[1] == "response") {
print("**************** WARPLY Webview Log START *****************")
print(eventArray[2])
print("**************** WARPLY Webview Log END *****************")
}
}
}
// webview.evaluateJavaScript("window.asyncResponseFromIos(123)")
}
}
//
// CouponBarcodeViewController.swift
// swift_example
//
// Created by Manos Chorianopoulos on 19/5/22.
//
import UIKit
import SwiftWarplyFramework
// TODO: Uncomment for barcode
//import RSBarcodes_Swift
//import AVFoundation
//import SwiftEventBus
class CouponBarcodeViewController: UIViewController {
@IBOutlet weak var backgroundImage: UIImageView!
@IBOutlet weak var scrollView: UIScrollView!
@IBOutlet weak var scrollContentView: UIView!
@IBOutlet weak var couponImage: UIImageView!
@IBOutlet weak var couponImageHeight: NSLayoutConstraint!
@IBOutlet weak var nameLabel: UILabel!
@IBOutlet weak var discriptionLabel: UILabel!
@IBOutlet weak var couponView: UIView!
@IBOutlet weak var couponNumberLabel: UILabel!
@IBOutlet weak var barcodeImage: UIImageView!
@IBOutlet weak var barcodeImageHeight: NSLayoutConstraint!
@IBOutlet weak var barcodeLabel: UILabel!
@IBOutlet weak var showBarcodeButton: UIButton!
@IBOutlet weak var expirationLabel: UILabel!
@IBOutlet weak var redeemButton: UIButton!
@IBOutlet weak var termsButton: UIButton!
@IBOutlet weak var termsTextView: UITextView!
@IBOutlet weak var termsTextViewHeight: NSLayoutConstraint!
//TODO: ADD
@IBOutlet weak var borderViewHeight: NSLayoutConstraint!
@IBOutlet weak var borderView2Height: NSLayoutConstraint!
let uiscreen: CGRect = UIScreen.main.bounds
var termsVisible: Bool = false;
var barcodeVisible: Bool = false;
public var coupon: swiftApi.CouponItemModel?
override func viewDidLoad() {
super.viewDidLoad()
// TODO: DELETE ===>
// swiftApi().setUserTag("NEWtestTag")
self.hidesBottomBarWhenPushed = true
// Do any additional setup after loading the view.
setBackButton()
setNavigationTitle("Εκπτωτικό κουπόνι")
backgroundImage.image = UIImage(named: "coupons_scrollview_white")
scrollView.clipsToBounds = true
scrollView.layer.cornerRadius = 30
scrollView.layer.maskedCorners = [ .layerMinXMinYCorner] // Top left corner radius
// COUPONSET: desc, img_preview, name, terms
// COUPON: coupon, expiration, discount, status
let couponSetData: swiftApi.CouponSetItemModel? = coupon?.couponset_data
couponImage.load(link: couponSetData?.img_preview ?? "", placeholder: UIImage(), cache: URLCache())
couponImage.contentMode = .scaleAspectFill
couponImageHeight.constant = self.uiscreen.height * 0.25
nameLabel.text = couponSetData?.name ?? ""
discriptionLabel.text = couponSetData?.short_description ?? ""
couponView.layer.cornerRadius = 10
couponNumberLabel.text = coupon?.coupon ?? ""
let barcodeString = constructBarcode() ?? ""
barcodeLabel.text = barcodeString
// TODO: Uncomment for barcode
// if let barcodeUIImage = RSUnifiedCodeGenerator.shared.generateCode(barcodeString, machineReadableCodeObjectType: AVMetadataObject.ObjectType.ean13.rawValue, targetSize: CGSize(width: self.uiscreen.width * 0.8, height: self.uiscreen.height * 0.1)) {
// barcodeImage.image = barcodeUIImage
//
// barcodeImageHeight.constant = self.uiscreen.height * 0.1
// } else {
// barcodeImageHeight.constant = 0
// }
showBarcodeButton.titleLabel?.font = .systemFont(ofSize: 15.0, weight: .semibold)
expirationLabel.text = "Το κουπόνι ισχύει έως " + (coupon?.expiration ?? "")
redeemButton.titleLabel?.font = UIFont.systemFont(ofSize: 15, weight: .medium)
termsButton.titleLabel?.font = .systemFont(ofSize: 15.0, weight: .semibold)
// termsButton.imageView?.layer.transform = CATransform3DMakeScale(1.5, 1.5, 1.5)
let htmlText = couponSetData?.terms ?? ""
termsTextView.attributedText = htmlText.htmlToAttributedString
termsTextView.font = UIFont.systemFont(ofSize: 14, weight: UIFont.Weight.regular)
termsTextView.textColor = UIColor(red: 0.25, green: 0.33, blue: 0.39, alpha: 1.00)
termsTextView.textAlignment = .center
termsTextView.isScrollEnabled = false
toggleTerms()
toggleBarcode()
// Logs
print("Coupon: " + (coupon?.coupon ?? ""))
print("Coupon Name: " + (couponSetData?.name ?? ""))
print("Coupon Description: " + (couponSetData?.short_description ?? ""))
print("Coupon Expiration: " + (coupon?.expiration ?? ""))
}
// MARK: - Functions
func toggleTerms() {
if (termsVisible) {
termsTextView.isHidden = false
let targetSize = CGSize(width: termsTextView.frame.width, height: CGFloat(MAXFLOAT))
termsTextViewHeight.constant = termsTextView.sizeThatFits(targetSize).height
termsButton.setImage(UIImage(named: "ic_up_dark.png"), for: .normal)
} else {
termsTextView.isHidden = true
termsTextViewHeight.constant = CGFloat(0)
termsButton.setImage(UIImage(named: "ic_down_dark.png"), for: .normal)
}
}
func toggleBarcode() {
if (barcodeVisible) {
// termsTextView.isHidden = false
// let targetSize = CGSize(width: termsTextView.frame.width, height: CGFloat(MAXFLOAT))
// termsTextViewHeight.constant = termsTextView.sizeThatFits(targetSize).height
barcodeImage.isHidden = false
let targetSize = CGSize(width: barcodeImage.frame.width, height: CGFloat(MAXFLOAT))
termsTextViewHeight.constant = barcodeImage.sizeThatFits(targetSize).height
barcodeLabel.isHidden = false
showBarcodeButton.setTitle("Απόκρυψη barcode", for: .normal)
showBarcodeButton.setImage(UIImage(named: "ic_up_dark.png"), for: .normal)
} else {
// termsTextView.isHidden = true
// termsTextViewHeight.constant = CGFloat(0)
barcodeImage.isHidden = true
barcodeImageHeight.constant = CGFloat(0)
barcodeLabel.isHidden = true
showBarcodeButton.setTitle("Εμφάνιση barcode", for: .normal)
showBarcodeButton.setImage(UIImage(named: "ic_down_dark.png"), for: .normal)
}
}
func constructBarcode() -> String? {
// EAN 13 barcode construction
let couponData = coupon?.couponset_data
let couponString = coupon?.coupon ?? ""
if (!couponString.isEmpty) {
var checkDigit = 0;
var result = 0;
var fixedCouponCode = couponString;
if (fixedCouponCode.count < 12) {
let loops = 12 - fixedCouponCode.count;
var zerosStr = "";
for i in 0 ..< loops {
zerosStr += "0"
}
fixedCouponCode = zerosStr + fixedCouponCode;
}
var multiplier = 3;
for idx in (0 ... (fixedCouponCode.count - 1)).reversed() {
let curChar = fixedCouponCode[idx];
result += (Int(curChar) ?? 0) * multiplier;
multiplier = multiplier == 3 ? 1 : 3;
}
checkDigit = 10 - (result % 10);
let barcodeStr = fixedCouponCode + String(checkDigit);
return barcodeStr;
}
return ""
}
// MARK: - Actions
@IBAction func redeemButtomAction(_ sender: Any) {
// TODO: Add redeem action
// SwiftEventBus.post("couponBarcodeRedeem", sender: coupon)
// SwiftEventBus.post("couponBarcodeRedeem", sender: coupon)
let alert = UIAlertController(title: "Το κουπόνι σου ενεργοποιήθηκε", message: "Μπορείς να το βρεις στην αρχική οθόνη της εφαρμογής και στην ενότητα ενεργά δώρα!", preferredStyle: .alert)
alert.addAction(UIAlertAction(title: "OK", style: .default, handler: { action in
switch action.style{
case .default:
print("default")
case .cancel:
print("cancel")
case .destructive:
print("destructive")
}
}))
self.present(alert, animated: true, completion: nil)
}
@IBAction func showBarcodeAction(_ sender: Any) {
barcodeVisible = !barcodeVisible
toggleBarcode()
}
@IBAction func termsButtonAction(_ sender: Any) {
termsVisible = !termsVisible
toggleTerms()
}
}
//
// CouponViewController.swift
// swift_example
//
// Created by Manos Chorianopoulos on 5/5/22.
//
import UIKit
import SwiftWarplyFramework
//import SwiftEventBus
class CouponViewController: UIViewController {
@IBOutlet weak var mainView: UIView!
@IBOutlet weak var backgroundImage: UIImageView!
@IBOutlet weak var scrollView: UIScrollView!
@IBOutlet weak var scrollContentView: UIView!
@IBOutlet weak var couponImage: UIImageView!
@IBOutlet weak var couponImageHeight: NSLayoutConstraint!
@IBOutlet weak var nameLabel: UILabel!
@IBOutlet weak var descriptionLabel: UILabel!
@IBOutlet weak var redeemButton: UIButton!
@IBOutlet weak var termsButton: UIButton!
@IBOutlet weak var termsTextView: UITextView!
@IBOutlet weak var termsTextViewHeight: NSLayoutConstraint!
let uiscreen: CGRect = UIScreen.main.bounds
var termsVisible: Bool = false;
public var couponset: swiftApi.CouponSetItemModel?
override func viewDidLoad() {
super.viewDidLoad()
self.hidesBottomBarWhenPushed = true
// Do any additional setup after loading the view.
setBackButton()
setNavigationTitle("Εκπτωτικό κουπόνι")
backgroundImage.image = UIImage(named: "coupons_scrollview_white")
scrollView.clipsToBounds = true
scrollView.layer.cornerRadius = 30
scrollView.layer.maskedCorners = [ .layerMinXMinYCorner] // Top left corner radius
couponImage.load(link: couponset?.img_preview ?? "", placeholder: UIImage(), cache: URLCache())
couponImage.contentMode = .scaleAspectFill
couponImageHeight.constant = self.uiscreen.height * 0.25
nameLabel.text = couponset?.name ?? ""
descriptionLabel.text = couponset?.short_description ?? ""
redeemButton.titleLabel?.font = UIFont.systemFont(ofSize: 15, weight: .medium)
termsButton.titleLabel?.font = .systemFont(ofSize: 15.0, weight: .semibold)
// termsButton.imageView?.layer.transform = CATransform3DMakeScale(1.5, 1.5, 1.5)
let htmlText = couponset?.terms ?? ""
termsTextView.attributedText = htmlText.htmlToAttributedString
termsTextView.font = UIFont.systemFont(ofSize: 14, weight: UIFont.Weight.regular)
termsTextView.textColor = UIColor(red: 0.25, green: 0.33, blue: 0.39, alpha: 1.00)
termsTextView.textAlignment = .center
termsTextView.isScrollEnabled = false
toggleTerms()
}
// MARK: - Functions
func toggleTerms() {
if (termsVisible) {
termsTextView.isHidden = false
let targetSize = CGSize(width: termsTextView.frame.width, height: CGFloat(MAXFLOAT))
termsTextViewHeight.constant = termsTextView.sizeThatFits(targetSize).height
termsButton.setImage(UIImage(named: "ic_up_dark.png"), for: .normal)
} else {
termsTextView.isHidden = true
termsTextViewHeight.constant = CGFloat(0)
termsButton.setImage(UIImage(named: "ic_down_dark.png"), for: .normal)
}
}
func redeemCouponSetRequest(uuid: String) {
swiftApi().redeemCouponSetAsync(uuid: uuid, redeemCouponSetCallback)
}
func redeemCouponSetCallback (_ response: swiftApi.GenericResponseModel?) -> Void {
if (response != nil) {
print("==== redeemCouponSet response =======")
print(response)
print(response?.getResult)
print(response?.getStatus)
print(response?.getMsg)
print("==== redeemCouponSet response =======")
DispatchQueue.main.async {
if (response?.getStatus == 1) {
// Do something
}
}
} else {
print("==== redeemCouponSet response nil =======")
}
}
// MARK: - Actions
@IBAction func redeemButtomAction(_ sender: Any) {
print("redeem Buttom Pressed!")
print(couponset?.uuid ?? "")
print("redeem Buttom Pressed!")
redeemCouponSetRequest(uuid: couponset?.uuid ?? "")
// SwiftEventBus.post("couponRedeem", sender: coupon)
}
@IBAction func termsButtonAction(_ sender: Any) {
termsVisible = !termsVisible
toggleTerms()
}
}
//
// CouponsTableViewCell.swift
// swift_example
//
// Created by Manos Chorianopoulos on 17/5/22.
//
import UIKit
import SwiftWarplyFramework
class CouponsTableViewCell: UITableViewCell {
@IBOutlet weak var couponBgImage: UIImageView!
@IBOutlet weak var couponImage: UIImageView!
@IBOutlet weak var borderView: UIView!
@IBOutlet weak var nameLabel: UILabel!
@IBOutlet weak var dicountLabel: UILabel!
@IBOutlet weak var discriptionLabel: UILabel!
@IBOutlet weak var expirationLabel: UILabel!
override func awakeFromNib() {
super.awakeFromNib()
// Initialization code
couponBgImage.image = UIImage(named: "coupon_bg")
borderView.addDashedBorderVertical(color: UIColor(red: 0.44, green: 0.44, blue: 0.44, alpha: 1.00), width: 1.0, height: 110.0)
}
override func setSelected(_ selected: Bool, animated: Bool) {
super.setSelected(selected, animated: animated)
// Configure the view for the selected state
}
override func layoutSubviews() {
super.layoutSubviews()
//set the values for top,left,bottom,right margins
let margins = UIEdgeInsets(top: 0, left: 0, bottom: 30, right: 0)
contentView.frame = contentView.frame.inset(by: margins)
}
func configureCell(coupon: swiftApi.CouponItemModel) {
// COUPONSET: desc, img_preview, name, terms
// COUPON: coupon, expiration, discount, status
let couponSetData: swiftApi.CouponSetItemModel? = coupon.couponset_data
couponImage.load(link: couponSetData?.img_preview ?? "", placeholder: UIImage(), cache: URLCache())
nameLabel.text = couponSetData?.name ?? ""
dicountLabel.text = (coupon.discount ?? "") + "€"
discriptionLabel.text = couponSetData?.short_description ?? ""
expirationLabel.text = "Ισχύει έως "+(coupon.expiration ?? "")
}
}
//
// CouponsViewController.swift
// swift_example
//
// Created by Manos Chorianopoulos on 4/5/22.
//
import UIKit
import SwiftWarplyFramework
//import SwiftEventBus
class CouponsViewController: UIViewController {
@IBOutlet weak var backgroundImage: UIImageView!
@IBOutlet weak var tableView: UITableView!
// TEST
public var campaigns:Array<swiftApi.CampaignItemModel> = swiftApi().getCampaignList()
// <==
public var coupons:Array<swiftApi.CouponItemModel> = []
override func viewDidLoad() {
super.viewDidLoad()
self.hidesBottomBarWhenPushed = true
getCouponsRequest()
// TEST
// getCampaignsRequest()
// consumerIntegrationRequest(nonTelco: true, acceptedConsent: true, msisdnList: ["1","2"], guid: "guid")
// <==
setBackButton()
setNavigationTitle("Ενεργά κουπόνια")
backgroundImage.image = UIImage(named: "coupons_scrollview_dark")
tableView.delegate = self
tableView.dataSource = self
tableView.clipsToBounds = true
tableView.layer.cornerRadius = 30
tableView.layer.maskedCorners = [ .layerMinXMinYCorner] // Top left corner radius
tableView.contentInset.top = 50
// TODO: DELETE - TEST
// swiftApi().openQuestionnaire(self);
// LoyaltySDKFirebaseEventModel
// let event = swiftApi.LoyaltySDKFirebaseEventModel()
//
// print("======= get =======")
// print(event._parameters)
// print("======= get =======")
// event._eventName = "test"
// event.setParameter = ("1", "asd")
// event.setParameter = ("1", "aaaa")
// event.setParameter = ("2", "bbbb")
// print("======= get 2 =======")
// print(event._parameters)
// print("======= get 2 =======")
// WarplyPacingModel
// let pacing = swiftApi.WarplyPacingModel()
//
// print("======= get =======")
// print(pacing._tree_co2_year)
// print("======= get =======")
// pacing._tree_co2_year = 1.0
// print("======= get 2 =======")
// print(pacing._tree_co2_year)
// print("======= get 2 =======")
// let campaign = swiftApi.LoyaltyContextualOfferModel(sessionId: "sessionId", eligibleAssets: ["asset1","asset2"], id: "id", businessAdditionalId: "businessAdditionalId", treatmentCode: "treatmentCode")
// let campaign2 = swiftApi.LoyaltyContextualOfferModel(sessionId: <#T##String?#>, eligibleAssets: <#T##Array<String>?#>, id: <#T##String?#>, businessAdditionalId: <#T##String?#>, treatmentCode: <#T##String?#>)
// let campaign3 = swiftApi.LoyaltyContextualOfferModel()
// print("======= get =======")
// print(campaign._eligibleAssets)
// print("======= get =======")
// campaign._eligibleAssets = ["asset1","asset2", "3", "4"]
// print("======= get 2 =======")
// print(campaign._eligibleAssets)
// print("======= get 2 =======")
// TODO: DELETE - TEST SwiftEventBus
// SwiftEventBus.onBackgroundThread(self, name: "couponBarcodePressed") { result in
//
// let coupon : swiftApi.CouponItemModel = result?.object as! swiftApi.CouponItemModel
// print("===== SwiftEventBus.onBackgroundThread =====")
// print(coupon.couponset_data?.name)
// print("===== SwiftEventBus.onBackgroundThread =====")
// SwiftEventBus.postToMainThread("couponBarcodePressedMain", sender: coupon)
// }
//
// SwiftEventBus.onMainThread(self, name: "couponBarcodePressedMain") { result in
//
// let coupon : swiftApi.CouponItemModel = result?.object as! swiftApi.CouponItemModel
// print("===== SwiftEventBus.onMainThread =====")
// print(coupon.couponset_data?.name)
// print("===== SwiftEventBus.onMainThread =====")
// }
//
// SwiftEventBus.onBackgroundThread(self, name: "couponBarcodeRedeem") { result in
//
// let coupon : swiftApi.CouponItemModel = result?.object as! swiftApi.CouponItemModel
// print("===== SwiftEventBus.onBackgroundThread couponBarcodeRedeem =====")
// print(coupon.couponset_data?.name)
// print("===== SwiftEventBus.onBackgroundThread couponBarcodeRedeem =====")
// // SwiftEventBus.postToMainThread("couponBarcodePressedMain", sender: coupon)
// }
//
// SwiftEventBus.onBackgroundThread(self, name: "firebase") { result in
//
// let event : swiftApi.LoyaltySDKFirebaseEventModel = result?.object as! swiftApi.LoyaltySDKFirebaseEventModel
// print("===== SwiftEventBus.onBackgroundThread firebase =====")
// print(event._eventName)
// print("===== SwiftEventBus.onBackgroundThread firebase =====")
// }
//
// SwiftEventBus.onBackgroundThread(self, name: "ccms") { result in
//
// let event : swiftApi.LoyaltyContextualOfferModel = result?.object as! swiftApi.LoyaltyContextualOfferModel
// print("===== SwiftEventBus.onBackgroundThread ccms =====")
// print(event)
// print("===== SwiftEventBus.onBackgroundThread ccms =====")
// }
//
// SwiftEventBus.onBackgroundThread(self, name: "gifts") { result in
//
// let event : swiftApi.LoyaltyGiftsForYouOfferClickEvent = result?.object as! swiftApi.LoyaltyGiftsForYouOfferClickEvent
// print("===== SwiftEventBus.onBackgroundThread gifts =====")
// print(event._title)
// print("===== SwiftEventBus.onBackgroundThread gifts =====")
// }
// SwiftEventBus.onBackgroundThread(self, name: "pacing_visible") { result in
//
// let event : swiftApi.WarplyPacingCardEventModel = result?.object as! swiftApi.WarplyPacingCardEventModel
// print("===== SwiftEventBus.onBackgroundThread pacing_visible =====")
// print(event._isVisible)
// print("===== SwiftEventBus.onBackgroundThread pacing_visible =====")
// }
// // pacing_service event
// SwiftEventBus.onBackgroundThread(self, name: "pacing_service") { result in
//
// let event : swiftApi.WarplyPacingCardServiceEnabledModel = result?.object as! swiftApi.WarplyPacingCardServiceEnabledModel
// print("===== SwiftEventBus.onBackgroundThread pacing_visible =====")
// print(event._isEnabled)
// print("===== SwiftEventBus.onBackgroundThread pacing_visible =====")
// }
// // analysis_pressed event
// SwiftEventBus.onBackgroundThread(self, name: "analysis_pressed") { result in
//
// let event : swiftApi.WarplyDealsAnalysisEventModel = result?.object as! swiftApi.WarplyDealsAnalysisEventModel
// print("===== SwiftEventBus.onBackgroundThread analysis_pressed =====")
// print(event._isPressed)
// print("===== SwiftEventBus.onBackgroundThread analysis_pressed =====")
// }
// // ccms_enabled event
// SwiftEventBus.onBackgroundThread(self, name: "ccms_enabled") { result in
// let event : swiftApi.WarplyCCMSEnabledModel = result?.object as! swiftApi.WarplyCCMSEnabledModel
// print("===== SwiftEventBus.onBackgroundThread ccms_enabled =====")
// print(event._isActivated)
// print("===== SwiftEventBus.onBackgroundThread ccms_enabled =====")
// }
}
// TODO: DELETE - TEST SwiftEventBus
// override func viewWillDisappear(_ animated: Bool) {
// super.viewWillDisappear(animated)
// SwiftEventBus.unregister(self)
// print("===== SwiftEventBus.unregister =====")
// }
// MARK: - API Functions
func getCouponsRequest() {
swiftApi().getCouponsAsync(getCouponsCallback)
}
func getCouponsCallback (_ couponsData: Array<swiftApi.CouponItemModel>?) -> Void {
if (couponsData != nil) {
let activeCouponData = swiftApi().filterActiveCoupons(couponsData ?? [])
self.coupons = activeCouponData
DispatchQueue.main.async {
self.tableView.reloadData()
}
} else {
self.coupons = []
}
}
// TODO DELETE: TESTING ===>
func consumerIntegrationRequest(nonTelco: Bool, acceptedConsent: Bool, msisdnList: Array<String>, guid: String) {
swiftApi().consumerIntegrationAsync(nonTelco: nonTelco, acceptedConsent: acceptedConsent, msisdnList: msisdnList, guid: guid, consumerIntegrationCallback)
}
func consumerIntegrationCallback (_ response: swiftApi.GenericResponseModel?) -> Void {
if (response != nil) {
print("==== consumerIntegration response =======")
print(response)
print(response?.getResult)
print(response?.getStatus)
print(response?.getMsg)
print("==== consumerIntegration response =======")
DispatchQueue.main.async {
// Do something
}
} else {
print("==== consumerIntegration response nil =======")
}
}
func getCampaignsRequest() {
swiftApi().getCampaignsAsync(getCampaignsCallback)
}
func getCampaignsCallback (_ campaignsData: Array<swiftApi.CampaignItemModel>?) -> Void {
if (campaignsData != nil) {
self.campaigns = campaignsData ?? []
DispatchQueue.main.async {
// self.tableView.reloadData()
swiftApi().setUniqueCampaignList(campaignsData ?? [])
// TODO: Rerender screen
print("========= DispatchQueue campaignsData SUCCESSSS =========")
print(campaignsData)
print("========= DispatchQueue campaignsData SUCCESSSS =========")
}
} else {
self.campaigns = []
}
}
func openQuestionnaire(_ controller: UIViewController) -> Void {
for item in self.campaigns {
if (item.offer_category == "questionnaire") {
let storyboard = UIStoryboard(name: "Main", bundle: nil)
let vc = storyboard.instantiateViewController(withIdentifier: "CampaignWebviewViewController") as! CampaignWebviewViewController
let url = swiftApi().constructCampaignUrl(item)
vc.campaignUrl = url
controller.navigationController?.pushViewController(vc, animated: true)
break;
}
}
}
// <=== TODO DELETE: TESTING
}
// MARK: - TableView
extension CouponsViewController: UITableViewDelegate, UITableViewDataSource{
func numberOfSections(in tableView: UITableView) -> Int {
return 1
}
func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int {
return self.coupons.count
}
func tableView(_ tableView: UITableView, heightForRowAt indexPath: IndexPath) -> CGFloat {
return 120.0 + 30.0
// return UITableViewAutomaticDimension
}
func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell {
let cell = tableView.dequeueReusableCell(withIdentifier: "CouponsTableViewCellId", for: indexPath) as! CouponsTableViewCell
cell.configureCell(coupon: coupons[indexPath.row])
return cell
}
func tableView(_ tableView: UITableView, didSelectRowAt indexPath: IndexPath) {
// TODO: DELETE - TEST SwiftEventBus
// SwiftEventBus.post("couponBarcodePressed", sender: coupons[indexPath.row])
// firebase event
// let firebaseEvent = swiftApi.LoyaltySDKFirebaseEventModel()
// firebaseEvent._eventName = "abc"
// firebaseEvent.setParameter = ("1", "asd")
// SwiftEventBus.post("firebase", sender: firebaseEvent)
//
// // ccms event
// let ccms = swiftApi.LoyaltyContextualOfferModel()
// SwiftEventBus.post("ccms", sender: ccms)
//
// // gifts event
// let gift = swiftApi.LoyaltyGiftsForYouOfferClickEvent()
// gift._title = "testTitle"
// SwiftEventBus.post("gifts", sender: gift)
// // pacing_visible event
// let pacingEvent = swiftApi.WarplyPacingCardEventModel()
// pacingEvent._isVisible = true
// SwiftEventBus.post("pacing_visible", sender: pacingEvent)
// // pacing_service event
// let pacingService = swiftApi.WarplyPacingCardServiceEnabledModel()
// pacingService._isEnabled = true
// SwiftEventBus.post("pacing_service", sender: pacingService)
// // analysis_pressed event
// let dealsAnalysis = swiftApi.WarplyDealsAnalysisEventModel()
// dealsAnalysis._isPressed = true
// SwiftEventBus.post("analysis_pressed", sender: dealsAnalysis)
// // ccms_enabled event
// let ccmsEnabled = swiftApi.WarplyCCMSEnabledModel()
// ccmsEnabled._isActivated = true
// SwiftEventBus.post("ccms_enabled", sender: ccmsEnabled)
// ===
// TODO: navigate to CouponBarcode
// Logs
let couponSetData: swiftApi.CouponSetItemModel? = coupons[indexPath.row].couponset_data
print("Coupon clicked: " + (coupons[indexPath.row].coupon ?? ""))
print("Coupon Name clicked: " + (couponSetData?.name ?? ""))
print("Coupon Description clicked: " + (couponSetData?.short_description ?? ""))
print("Coupon Expiration clicked: " + (coupons[indexPath.row].expiration ?? ""))
let storyboard = UIStoryboard(name: "Main", bundle: nil)
let vc = storyboard.instantiateViewController(withIdentifier: "CouponBarcodeViewController") as! CouponBarcodeViewController
vc.coupon = coupons[indexPath.row]
self.navigationController?.pushViewController(vc, animated: true)
// openQuestionnaire(self)
// CouponViewController
// let storyboard = UIStoryboard(name: "Main", bundle: nil)
// let vc = storyboard.instantiateViewController(withIdentifier: "CouponViewController") as! CouponViewController
// vc.couponset = coupons[indexPath.row].couponset_data
// self.navigationController?.pushViewController(vc, animated: true)
// let storyboard = UIStoryboard(name: "Main", bundle: Bundle(for: MyEmptyClass.self))
// let vc = storyboard.instantiateViewController(withIdentifier: "CouponViewController") as! CouponViewController
// vc.couponset = couponSets[indexPath.row]
// self.navigationController?.pushViewController(vc, animated: true)
// let storyboard = UIStoryboard(name: "Main", bundle: nil)
// let vc = storyboard.instantiateViewController(withIdentifier: "CampaignWebviewViewController") as! CampaignWebviewViewController
// let url = swiftApi().constructCampaignUrl(campaigns[0])
//// let url = swiftApi().constructCampaignUrlForShare("5765a6aa4a604fa39a70bd4a0af6f53e", "12345")
//
//// // vc.campaignUrl = "https://www.google.com"
// vc.campaignUrl = url
// self.navigationController?.pushViewController(vc, animated: true)
// let storyboard = UIStoryboard(name: "Main", bundle: Bundle(for: MyEmptyClass.self))
// let vc = storyboard.instantiateViewController(withIdentifier: "CampaignViewController") as! CampaignViewController
// vc.campaignUrl = "https://www.google.com"
// self.navigationController?.pushViewController(vc, animated: true)
}
}
//
// GiftsViewController.swift
// swift_example
//
// Created by Manos Chorianopoulos on 5/5/22.
//
import UIKit
import SwiftWarplyFramework
@objc public class GiftsViewController: UIViewController {
@IBOutlet weak var mainView: UIView!
@IBOutlet weak var tableView: UITableView!
public var coupons:Array<swiftApi.CouponItemModel> = []
public var couponSets:Array<swiftApi.CouponSetItemModel> = []
public var campaigns:Array<swiftApi.CampaignItemModel> = swiftApi().mergeGFYCCMSLoyaltyCampaigns(campaigns: swiftApi().getCCMSLoyaltyCampaigns())
// TODO: ADD
public var seasonalList:Array<swiftApi.LoyaltyGiftsForYouPackage> = swiftApi().getSeasonalList()
// var response:swiftApi.VerifyTicketResponseModel?
// var profile: swiftApi.ProfileModel?
let uiscreen: CGRect = UIScreen.main.bounds
let hasOpenedGifts = UserDefaults.standard.bool(forKey: "hasOpenedGifts")
// if(!hasOpenedGifts)
// UserDefaults.standard.set(true, forKey: "hasOpenedGifts")
public override func viewDidLoad() {
super.viewDidLoad()
self.hidesBottomBarWhenPushed = true
// TODO: DELETE ===>
let seasonal1 = swiftApi.LoyaltyGiftsForYouPackage()
seasonal1._title = "test1"
seasonal1._imageUrl = "https://warply.s3.amazonaws.com/artworks/ea0f7ca82b2e478394c4608c213f7c10/default.png"
seasonal1._loyaltyPackageId = "id1"
let seasonal2 = swiftApi.LoyaltyGiftsForYouPackage()
seasonal2._title = "test2"
seasonal2._imageUrl = "https://warply.s3.amazonaws.com/artworks/ea0f7ca82b2e478394c4608c213f7c10/default.png"
seasonal2._loyaltyPackageId = "id2"
let seasonalArray:Array<swiftApi.LoyaltyGiftsForYouPackage> = [seasonal1, seasonal2]
swiftApi().setSeasonalList(seasonalArray)
// TODO: DELETE <===
// TODO: ADD
if (seasonalList.count > 0) {
for seasonalItem in seasonalList {
let newCampaign = swiftApi.CampaignItemModel()
newCampaign._title = seasonalItem._title
newCampaign._logo_url = seasonalItem._imageUrl
newCampaign._loyaltyPackageId = seasonalItem._loyaltyPackageId
campaigns.append(newCampaign)
}
}
// getCouponsRequest()
// getCouponSetsRequest()
// TODO: DELETE
// getCampaignsRequest()
// getProfileRequest()
// verifyTicketAsyncRequest(guid: "6009615311", ticket: "eyJraWQiOiIxNSIsInR5cCI6IkpXVCIsImFsZyI6IlJTNTEyIn0.eyJhdWQiOiJnYXBwIiwic3ViIjoiNjAwOTYxNTMxMSIsInVzZXJJbmZvIjp7Imd1aWQiOiI2MDA5NjE1MzExIiwiZW1haWwiOiJkaW1pdHJpc2trQHdhcnAubHkiLCJmaXJzdG5hbWUiOiJUZXN0IiwibGFzdG5hbWUiOiJUZXN0Iiwib3RlUG9ydGFsU3RhdHVzIjoiMSIsIm90ZVBvcnRhbGlzQ29ycG9yYXRlIjoiMCIsIm90ZVBvcnRhbFVzZXJMZXZlbCI6InJlc2lkZW50aWFsIiwib3RlZ3JvdXBQYXNzd29yZERhdGUiOiIyMDIxLTA2LTA4Iiwib3RlZ3JvdXBTdGF0dXMiOiJhY3RpdmUiLCJvdGVncm91cFJlZ2lzdHJhdGlvbkRhdGUiOiIyMDIwLTA1LTE2Iiwib3RlZ3JvdXBBbHRlcm5hdGl2ZU1TSVNETiI6IjY5Nzg0NTMwNDUiLCJleHRndWlkIjoiMEo5bDJMUklqRngxTnJOcDRmRWJ4Zz09IiwiaW1hZ2VVUkwiOiJodHRwczovL2FjY291bnQuY29zbW90ZS5nci9pbWFnZS91c2VyX2ZlbWFsZV9wb3J0cmFpdD9pbWdfaWQ9MCZpbWdfaWRfdG9rZW49Tk9jckh2eEc5cCUyQmR0SVJWV3ZGc0VsM0k5SVklM0QmdD0xNjUxNzIwMjQ2NjA0IiwiY29udGFjdEluZm9FbWFpbFJlc3AiOltdLCJjb250YWN0SW5mb1Bob25lUmVzcCI6W10sInNob3dEYXRhUmVtaW5kZXIiOmZhbHNlLCJ2ZXJpZmllZFJlY0RhdGEiOnRydWV9LCJuYmYiOjE2NTIxMDA5OTEsInJvbGVzIjpbXSwic2NvcGUiOlsidXNlckluZm8iLCJzZXJ2aWNlcyIsInJvbGVzIl0sImtpZCI6MTUsImlzcyI6IlBVQkxJQ19DQUxMRVIiLCJzZXJ2aWNlcyI6W10sImV4cCI6MTY1MjEwMjc5MSwiaWF0IjoxNjUyMTAwOTkxfQ.ORJuVx-ggFL-hHcioyKI7GYUDufRd8oY7EJrCYMR6HnGKZAQF-eQe62MdFZpqi2vqUQs3ga8496EK344vDfkEV9hhEZDhK-1LXMNY24MBe_ssIxGG5zzb-sRSeGvWGYEIr6yme6LQ0Dn8-93I-mvxfxrPzHQiSeGi7KkJENxTtyIhoe3qIj-0a-dcdOYzzQDDJGIMVINv89iNBaxj6wFA4Z6B307vgeJzBJkPsV3xclRHNofATBnpBFKdJIizA-OpAFtnLux7YQcbEyM0SuQMn9BnQhnXa7LXK1yXbEe6rlNoIbrP9Hp_WRR2ezY2LnfOm60eQ9PiGepxtvHiZsYTg")
setBackButton()
setNavigationTitle("GIFTS for YOU")
tableView.delegate = self
tableView.dataSource = self
tableView.clipsToBounds = true
tableView.layer.cornerRadius = 30
tableView.layer.maskedCorners = [ .layerMinXMinYCorner] // Top left corner radius
tableView.contentInset.top = 50
// setNavRightButton(false)
// Add Linear Gradient
// let gradient = CAGradientLayer()
// gradient.frame = mainView.bounds
// gradient.colors = [UIColor(red: 0.10, green: 0.68, blue: 0.80, alpha: 1.00).cgColor, UIColor(red: 0.43, green: 0.74, blue: 0.48, alpha: 1.00).cgColor]
// gradient.startPoint = CGPoint(x: 0.5, y: 0)
// gradient.endPoint = CGPoint(x: 0.5, y: 1)
// mainView.layer.insertSublayer(gradient, at: 0)
// Add Top left corner radius
mainView.clipsToBounds = true
mainView.layer.cornerRadius = 30
mainView.layer.maskedCorners = [ .layerMinXMinYCorner] // Top left corner radius
mainView.backgroundColor = UIColor(red: 0.22, green: 0.32, blue: 0.40, alpha: 1.00)
}
// Add navigation right button
// func setNavRightButton(_ isSelected: Bool) -> (){ // -> UIButton
// // Location Button
// let locationButton = UIButton(type: UIButton.ButtonType.custom) as UIButton
// locationButton.frame = CGRect(x: 0, y: 0, width: self.uiscreen.height * 0.04, height: self.uiscreen.height * 0.04)
// locationButton.setBackgroundImage(UIImage(named:"location_icon"), for: UIControl.State())
//
// locationButton.translatesAutoresizingMaskIntoConstraints = false
// // Add width, height constraints
// let widthContraints = NSLayoutConstraint(item: locationButton, attribute: NSLayoutConstraint.Attribute.width, relatedBy: NSLayoutConstraint.Relation.equal, toItem: nil, attribute: NSLayoutConstraint.Attribute.notAnAttribute, multiplier: 1, constant: self.uiscreen.height * 0.04)
// let heightContraints = NSLayoutConstraint(item: locationButton, attribute: NSLayoutConstraint.Attribute.height, relatedBy: NSLayoutConstraint.Relation.equal, toItem: nil, attribute: NSLayoutConstraint.Attribute.notAnAttribute, multiplier: 1, constant: self.uiscreen.height * 0.04)
// NSLayoutConstraint.activate([heightContraints,widthContraints])
//
// locationButton.addTarget(self, action: #selector(self.locationButtonTapped(_:)), for: .touchUpInside)
// let LocationButtonItem: UIBarButtonItem = UIBarButtonItem(customView: locationButton)
// self.navigationItem.setRightBarButton(LocationButtonItem, animated: false)
//
//// Add an array of items at the right of the nav bar
//// self.navigationItem.setRightBarButtonItems([LocationButtonItem], animated: false)
//// return locationButton
// }
func getCouponsRequest() {
swiftApi().getCouponsAsync(getCouponsCallback)
}
func getCouponsCallback (_ couponsData: Array<swiftApi.CouponItemModel>?) -> Void {
if (couponsData != nil) {
let activeCouponData = swiftApi().filterActiveCoupons(couponsData ?? [])
self.coupons = activeCouponData
DispatchQueue.main.async {
// self.tableView.reloadData()
// TODO: Rerender screen
print("========= DispatchQueue couponsData SUCCESSSS =========")
print(activeCouponData)
print("========= DispatchQueue couponsData SUCCESSSS =========")
}
} else {
self.coupons = []
}
}
func getCouponSetsRequest() {
swiftApi().getCouponSetsAsync(getCouponSetsCallback)
}
func getCouponSetsCallback (_ couponSetsData: Array<swiftApi.CouponSetItemModel>?) -> Void {
if (couponSetsData != nil) {
self.couponSets = couponSetsData ?? []
DispatchQueue.main.async {
// self.tableView.reloadData()
// TODO: Rerender screen
print("========= DispatchQueue couponSetsData SUCCESSSS =========")
print(couponSetsData)
print("========= DispatchQueue couponSetsData SUCCESSSS =========")
}
} else {
self.couponSets = []
}
}
// TODO: DELETE =====>
func getCampaignsRequest() {
swiftApi().getCampaignsAsync(getCampaignsCallback)
}
func getCampaignsCallback (_ campaignsData: Array<swiftApi.CampaignItemModel>?) -> Void {
if (campaignsData != nil) {
DispatchQueue.main.async {
// TODO: Rerender screen
swiftApi().setUniqueCampaignList(campaignsData ?? [])
// TODO: DELETE TESTING ===>
let ccmsCampaign1 = swiftApi.LoyaltyContextualOfferModel(sessionId: "", eligibleAssets: [], id: "", businessAdditionalId: "", treatmentCode: "", offerName: "", productType: "", provDuration: "", noOfRecurrance: "", price: "", discount: "", voiceCategory: "", dataCategory: "", minsValue: "", dataValue: "", provStepValueMins: "", postpayProduct: "", notificationMessage: "", loyaltyCampaignId: "1", businessService: "", uaciOfferTrackingCode: "", offerCode1: "", score: "", zone: "", wave: "", validity: "", offerAudienceLevel: "")
let ccmsCampaign2 = swiftApi.LoyaltyContextualOfferModel(sessionId: "", eligibleAssets: ["1","2","3"], id: "", businessAdditionalId: "", treatmentCode: "", offerName: "", productType: "", provDuration: "", noOfRecurrance: "", price: "", discount: "", voiceCategory: "", dataCategory: "", minsValue: "", dataValue: "", provStepValueMins: "", postpayProduct: "", notificationMessage: "", loyaltyCampaignId: "8eb71c4ceaff409c896e2d1f6f1c20f3", businessService: "", uaciOfferTrackingCode: "", offerCode1: "", score: "", zone: "", wave: "", validity: "", offerAudienceLevel: "")
let ccmsCampaignsArray: Array<swiftApi.LoyaltyContextualOfferModel> = [ccmsCampaign1, ccmsCampaign2]
swiftApi().setCCMSLoyaltyCampaigns(campaigns: ccmsCampaignsArray)
// TODO: DELETE TESTING <===
self.campaigns = swiftApi().getCampaignList().filter { $0.offer_category == "gifts_for_you" }
for campaign in self.campaigns {
print("================")
print(campaign.session_uuid)
print(campaign.ccms_offer)
print(campaign.title)
}
// self.campaigns = campaignsData?.filter {
// let tempCampaign = $0
// let isGFY = tempCampaign.offer_category == "gifts_for_you"
// let hasExtraFields = (tempCampaign.hasExtraFields != nil) && (tempCampaign.hasExtraFields == true)
// let isCcmsOffer = (tempCampaign.ccms_offer != nil) && (tempCampaign.ccms_offer != "") && (tempCampaign.ccms_offer == "true")
//
// let ccmsCampaigns = swiftApi().getCCMSLoyaltyCampaigns()
// let loyaltyCampaignIdExists = ccmsCampaigns.contains { $0._loyaltyCampaignId == tempCampaign.session_uuid }
// return isGFY && (!hasExtraFields || (isCcmsOffer && loyaltyCampaignIdExists))
//
// } ?? []
// swiftApi().openQuestionnaire(self)
print("========= DispatchQueue campaignsData SUCCESSSS =========")
print(campaignsData)
print("========= DispatchQueue campaignsData SUCCESSSS =========")
print("========= getCampaignList =========")
print(swiftApi().getCampaignList())
print("========= getCampaignList =========")
print("========= getCampaignList count =========")
print(swiftApi().getCampaignList().filter { $0.offer_category == "gifts_for_you" }.count)
print("========= getCampaignList count =========")
// TODO: DELETE ===>
let seasonal1 = swiftApi.LoyaltyGiftsForYouPackage()
seasonal1._title = "test1"
seasonal1._imageUrl = "https://warply.s3.amazonaws.com/artworks/ea0f7ca82b2e478394c4608c213f7c10/default.png"
seasonal1._loyaltyPackageId = "id1"
let seasonal2 = swiftApi.LoyaltyGiftsForYouPackage()
seasonal2._title = "test2"
seasonal2._imageUrl = "https://warply.s3.amazonaws.com/artworks/ea0f7ca82b2e478394c4608c213f7c10/default.png"
seasonal2._loyaltyPackageId = "id2"
let seasonalArray:Array<swiftApi.LoyaltyGiftsForYouPackage> = [seasonal1, seasonal2]
swiftApi().setSeasonalList(seasonalArray)
self.seasonalList = swiftApi().getSeasonalList()
if (self.seasonalList.count > 0) {
for seasonalItem in self.seasonalList {
let newCampaign = swiftApi.CampaignItemModel()
newCampaign._title = seasonalItem._title
newCampaign._logo_url = seasonalItem._imageUrl
self.campaigns.append(newCampaign)
}
}
// TODO: DELETE <===
self.tableView.reloadData()
}
} else {
self.campaigns = []
}
}
// TODO: DELETE <=====
func getProfileRequest() {
swiftApi().getProfileAsync(getProfileCallback)
}
func getProfileCallback (_ profileData: swiftApi.ProfileModel?) -> Void {
if (profileData != nil) {
// self.profile = profileData ?? nil
DispatchQueue.main.async {
// self.tableView.reloadData()
// TODO: Rerender screen
print("========= DispatchQueue profileData SUCCESSSS =========")
print(profileData)
print("========= DispatchQueue profileData SUCCESSSS =========")
}
} else {
// self.profile = nil
}
}
func verifyTicketAsyncRequest(guid: String, ticket: String) {
swiftApi().verifyTicketAsync(guid: guid, ticket: ticket, verifyTicketCallback)
}
func verifyTicketCallback (_ verifyTicketData: swiftApi.VerifyTicketResponseModel?) -> Void {
if (verifyTicketData != nil) {
// self.response = verifyTicketData
DispatchQueue.main.async {
// self.tableView.reloadData()
// TODO: Rerender screen
print("========= DispatchQueue verifyTicketData SUCCESSSS =========")
print(verifyTicketData)
print("========= DispatchQueue verifyTicketData SUCCESSSS =========")
// self.response = verifyTicketData
print("========= DispatchQueue verifyTicketData SUCCESSSS =========")
print(verifyTicketData?.getResult ?? "")
print(verifyTicketData?.getStatus ?? "")
// print(self.response.result ?? "")
// print(verifyTicketData?["result"] ?? "")
print("========= DispatchQueue verifyTicketData SUCCESSSS =========")
}
} else {
// self.response = nil
}
}
/// Get Accounts
// func getCouponsRequest(){
//// progress.showLoader(onView: self.view, isNeedBlueSpinner: true)
//
//// var coupons = swiftApi().getCoupons()
//
//
// AccountsModel.sharedInstance.getAccounts(){(result) in
//// DispatchQueue.main.async {
//// self.progress.dismissLoader()
//// }
//
// if let response = result {
// if(response.statusId == "1"){
// self.accounts = response.accounts
//
// DispatchQueue.main.async {
// self.tableView.reloadData()
// }
// }
// }
//
// }
// }
// MARK: - Actions
@objc func locationButtonTapped(_ sender: Any) {
print("Location Button Tapped!")
}
}
// MARK: - TableView
extension GiftsViewController: UITableViewDelegate, UITableViewDataSource{
public func numberOfSections(in tableView: UITableView) -> Int {
return 1
}
public func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int {
return self.campaigns.count
}
public func tableView(_ tableView: UITableView, heightForRowAt indexPath: IndexPath) -> CGFloat {
return 140.0 + 10.0
// return UITableViewAutomaticDimension
}
public func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell {
let cell = tableView.dequeueReusableCell(withIdentifier: "InboxTableViewCellId", for: indexPath) as! InboxTableViewCell
cell.configureCell(campaign: campaigns[indexPath.row])
return cell
}
public func tableView(_ tableView: UITableView, didSelectRowAt indexPath: IndexPath) {
// TODO: DELETE - TEST SwiftEventBus
// SwiftEventBus.post("couponBarcodePressed", sender: coupons[indexPath.row])
// firebase event
// let firebaseEvent = swiftApi.LoyaltySDKFirebaseEventModel()
// firebaseEvent._eventName = "abc"
// firebaseEvent.setParameter = ("1", "asd")
// SwiftEventBus.post("firebase", sender: firebaseEvent)
//
// // ccms event
// let ccms = swiftApi.LoyaltyContextualOfferModel()
// SwiftEventBus.post("ccms", sender: ccms)
//
// // gifts event
// let gift = swiftApi.LoyaltyGiftsForYouOfferClickEvent()
// gift._title = "testTitle"
// SwiftEventBus.post("gifts", sender: gift)
// // pacing_visible event
// let pacingEvent = swiftApi.WarplyPacingCardEventModel()
// pacingEvent._isVisible = true
// SwiftEventBus.post("pacing_visible", sender: pacingEvent)
// // pacing_service event
// let pacingService = swiftApi.WarplyPacingCardServiceEnabledModel()
// pacingService._isEnabled = true
// SwiftEventBus.post("pacing_service", sender: pacingService)
// // analysis_pressed event
// let dealsAnalysis = swiftApi.WarplyDealsAnalysisEventModel()
// dealsAnalysis._isPressed = true
// SwiftEventBus.post("analysis_pressed", sender: dealsAnalysis)
// // ccms_enabled event
// let ccmsEnabled = swiftApi.WarplyCCMSEnabledModel()
// ccmsEnabled._isActivated = true
// SwiftEventBus.post("ccms_enabled", sender: ccmsEnabled)
// ===
// TODO: navigate to CouponBarcode
// let storyboard = UIStoryboard(name: "Main", bundle: nil)
// let vc = storyboard.instantiateViewController(withIdentifier: "CouponBarcodeViewController") as! CouponBarcodeViewController
// vc.coupon = coupons[indexPath.row]
// self.navigationController?.pushViewController(vc, animated: true)
// openQuestionnaire(self)
// CouponViewController
// let storyboard = UIStoryboard(name: "Main", bundle: nil)
// let vc = storyboard.instantiateViewController(withIdentifier: "CouponViewController") as! CouponViewController
// vc.couponset = coupons[indexPath.row].couponset_data
// self.navigationController?.pushViewController(vc, animated: true)
// let storyboard = UIStoryboard(name: "Main", bundle: Bundle(for: MyEmptyClass.self))
// let vc = storyboard.instantiateViewController(withIdentifier: "CouponViewController") as! CouponViewController
// vc.couponset = couponSets[indexPath.row]
// self.navigationController?.pushViewController(vc, animated: true)
// TODO: ADD
if (campaigns[indexPath.row].session_uuid != nil && campaigns[indexPath.row].session_uuid != "") {
let storyboard = UIStoryboard(name: "Main", bundle: nil)
let vc = storyboard.instantiateViewController(withIdentifier: "CampaignWebviewViewController") as! CampaignWebviewViewController
var url = ""
// let hasExtraFields = (campaigns[indexPath.row].hasExtraFields != nil) && (campaigns[indexPath.row].hasExtraFields == true)
let isCcmsOffer = (campaigns[indexPath.row].ccms_offer != nil) && (campaigns[indexPath.row].ccms_offer != "") && (campaigns[indexPath.row].ccms_offer == "true")
// let hasLoyaltyCampaignId = campaigns[indexPath.row].loyaltyCampaignId != nil && campaigns[indexPath.row].loyaltyCampaignId != ""
if (isCcmsOffer) {
let ccmsCampaigns = swiftApi().getCCMSLoyaltyCampaigns()
let loyaltyCampaignIdExists = ccmsCampaigns.contains { $0._loyaltyCampaignId == campaigns[indexPath.row].session_uuid }
if (loyaltyCampaignIdExists == true) {
var ccmsCampaignFound:swiftApi.LoyaltyContextualOfferModel = swiftApi.LoyaltyContextualOfferModel()
for item in ccmsCampaigns {
if (item._loyaltyCampaignId == campaigns[indexPath.row].session_uuid) {
ccmsCampaignFound = item
}
}
url = swiftApi().constructCcmsUrl(campaigns[indexPath.row], ccmsCampaignFound)
} else { // will never enter
url = swiftApi().constructCampaignUrl(campaigns[indexPath.row])
}
} else {
url = swiftApi().constructCampaignUrl(campaigns[indexPath.row])
}
// let url = swiftApi().constructCampaignUrlForShare("5765a6aa4a604fa39a70bd4a0af6f53e", "12345")
// // vc.campaignUrl = "https://www.google.com"
print("==== url ====")
print(url)
print("CampaignUrl url onclick: " + url)
vc.campaignUrl = url
self.navigationController?.pushViewController(vc, animated: true)
} else {
print("===== seasonal ====")
print(campaigns[indexPath.row]._title ?? "")
// gifts event
let seasonalEvent = swiftApi.LoyaltyGiftsForYouOfferClickEvent()
seasonalEvent._title = campaigns[indexPath.row]._title ?? ""
seasonalEvent._imageUrl = campaigns[indexPath.row]._logo_url ?? ""
seasonalEvent._loyaltyPackageId = campaigns[indexPath.row]._loyaltyPackageId ?? ""
// SwiftEventBus.post("seasonal", sender: seasonalEvent)
}
// let storyboard = UIStoryboard(name: "Main", bundle: Bundle(for: MyEmptyClass.self))
// let vc = storyboard.instantiateViewController(withIdentifier: "CampaignViewController") as! CampaignViewController
// vc.campaignUrl = "https://www.google.com"
// self.navigationController?.pushViewController(vc, animated: true)
}
}
//
// InboxTableViewCell.swift
// swift_example
//
// Created by Manos Chorianopoulos on 23/6/22.
//
import UIKit
import SwiftWarplyFramework
@objc public class InboxTableViewCell: UITableViewCell {
@IBOutlet weak var inboxView: UIView!
@IBOutlet weak var campaignImage: UIImageView!
@IBOutlet weak var newBadgeImage: UIImageView!
@IBOutlet weak var campaignTitleLabel: UILabel!
public override func awakeFromNib() {
super.awakeFromNib()
inboxView.layer.cornerRadius = 5.0
inboxView.layer.shadowColor = UIColor(red: 0.00, green: 0.00, blue: 0.00, alpha: 0.16).cgColor
inboxView.layer.shadowOffset = CGSize(width: 0.0, height: 3.0)
inboxView.layer.shadowOpacity = 1.0
inboxView.layer.shadowRadius = 15.0
inboxView.clipsToBounds = true
// TODO: UNCOMMENT
// newBadgeImage.image = UIImage(named: "new_icon", in: Bundle(for: MyEmptyClass.self), compatibleWith: nil)
newBadgeImage.isHidden = true
}
public override func setSelected(_ selected: Bool, animated: Bool) {
super.setSelected(selected, animated: animated)
// Configure the view for the selected state
}
public override func layoutSubviews() {
super.layoutSubviews()
//set the values for top,left,bottom,right margins
let margins = UIEdgeInsets(top: 0, left: 0, bottom: 10, right: 0)
contentView.frame = contentView.frame.inset(by: margins)
}
func configureCell(campaign: swiftApi.CampaignItemModel) {
campaignImage.load(link: campaign.logo_url ?? "", placeholder: UIImage(), cache: URLCache())
campaignTitleLabel.text = campaign.title ?? ""
if (campaign.is_new ?? false) {
newBadgeImage.isHidden = false
}
}
}
//
// LoyaltyAnalysisViewController.swift
// swift_example
//
// Created by Manos Chorianopoulos on 10/6/22.
//
import UIKit
class LoyaltyAnalysisViewController: UIViewController {
override func viewDidLoad() {
super.viewDidLoad()
self.hidesBottomBarWhenPushed = true
// Do any additional setup after loading the view.
}
/*
// MARK: - Navigation
// In a storyboard-based application, you will often want to do a little preparation before navigation
override func prepare(for segue: UIStoryboardSegue, sender: Any?) {
// Get the new view controller using segue.destination.
// Pass the selected object to the new view controller.
}
*/
}
//
// MFYInboxTableViewCell.swift
// swift_example
//
// Created by Manos Chorianopoulos on 24/6/22.
//
import UIKit
import SwiftWarplyFramework
@objc public class MFYInboxTableViewCell: UITableViewCell {
@IBOutlet weak var inboxView: UIView!
@IBOutlet weak var campaignImage: UIImageView!
@IBOutlet weak var newBadgeImage: UIImageView!
@IBOutlet weak var campaignTitleLabel: UILabel!
@IBOutlet weak var curvedBgImage: UIImageView!
@IBOutlet weak var subtitleLabel: UILabel!
@IBOutlet weak var descriptionLabel: UILabel!
public override func awakeFromNib() {
super.awakeFromNib()
inboxView.layer.cornerRadius = 5.0
inboxView.clipsToBounds = true
// TODO: UNCOMMENT
// newBadgeImage.image = UIImage(named: "new_icon", in: Bundle(for: MyEmptyClass.self), compatibleWith: nil)
// curvedBgImage.image = UIImage(named: "curved_bg_white", in: Bundle(for: MyEmptyClass.self), compatibleWith: nil)
newBadgeImage.isHidden = true
}
public override func setSelected(_ selected: Bool, animated: Bool) {
super.setSelected(selected, animated: animated)
// Configure the view for the selected state
}
public override func layoutSubviews() {
super.layoutSubviews()
//set the values for top,left,bottom,right margins
let margins = UIEdgeInsets(top: 0, left: 0, bottom: 10, right: 0)
contentView.frame = contentView.frame.inset(by: margins)
}
func configureCell(campaign: swiftApi.CampaignItemModel) {
campaignImage.load(link: campaign.logo_url ?? "", placeholder: UIImage(), cache: URLCache())
campaignTitleLabel.text = campaign.title ?? ""
subtitleLabel.text = campaign.subtitle ?? ""
descriptionLabel.text = campaign.message ?? ""
if (campaign.is_new ?? false) {
newBadgeImage.isHidden = false
}
}
}
//
// MFYViewController.swift
// swift_example
//
// Created by Manos Chorianopoulos on 24/6/22.
//
import UIKit
import SwiftWarplyFramework
@objc public class MFYViewController: UIViewController {
@IBOutlet weak var mainView: UIView!
@IBOutlet weak var tableView: UITableView!
// TODO: ADD
public var campaigns:Array<swiftApi.CampaignItemModel> = swiftApi().mergeMFYCCMSLoyaltyCampaigns(campaigns: swiftApi().getCCMSLoyaltyCampaigns())
// swiftApi().getCampaignList().filter { $0.offer_category == "more_for_you" }
public override func viewDidLoad() {
super.viewDidLoad()
self.hidesBottomBarWhenPushed = true
// TODO: ADD
// getCampaignsRequest()
setBackButton()
setNavigationTitle("MORE for YOU")
tableView.delegate = self
tableView.dataSource = self
tableView.clipsToBounds = true
tableView.layer.cornerRadius = 30
tableView.layer.maskedCorners = [ .layerMinXMinYCorner] // Top left corner radius
tableView.contentInset.top = 50
// Add Top left corner radius
mainView.clipsToBounds = true
mainView.layer.cornerRadius = 30
mainView.layer.maskedCorners = [ .layerMinXMinYCorner] // Top left corner radius
mainView.backgroundColor = UIColor(red: 0.22, green: 0.32, blue: 0.40, alpha: 1.00)
}
// TODO: ADD ===>
// func getCampaignsRequest() {
// swiftApi().getCampaignsAsync(getCampaignsCallback)
// }
// func getCampaignsCallback (_ campaignsData: Array<swiftApi.CampaignItemModel>?) -> Void {
// if (campaignsData != nil) {
// self.campaigns = campaignsData?.filter { $0.offer_category == "more_for_you" } ?? []
// for campaign in (self.campaigns ?? []) {
// print("campaign.ccms_offer: " + (campaign.ccms_offer ?? ""))
// }
// DispatchQueue.main.async {
// self.tableView.reloadData()
// swiftApi().setUniqueCampaignList(campaignsData ?? [])
// }
// } else {
// self.campaigns = []
// }
// }
// TODO: ADD <=====
}
// MARK: - TableView
extension MFYViewController: UITableViewDelegate, UITableViewDataSource{
public func numberOfSections(in tableView: UITableView) -> Int {
return 1
}
public func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int {
return self.campaigns.count
}
public func tableView(_ tableView: UITableView, heightForRowAt indexPath: IndexPath) -> CGFloat {
return 220.0 + 10.0
// return UITableViewAutomaticDimension
}
public func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell {
let cell = tableView.dequeueReusableCell(withIdentifier: "MFYInboxTableViewCellId", for: indexPath) as! MFYInboxTableViewCell
cell.configureCell(campaign: campaigns[indexPath.row])
return cell
}
public func tableView(_ tableView: UITableView, didSelectRowAt indexPath: IndexPath) {
// TODO: DELETE
let storyboard = UIStoryboard(name: "Main", bundle: nil)
let vc = storyboard.instantiateViewController(withIdentifier: "CampaignWebviewViewController") as! CampaignWebviewViewController
let url = swiftApi().constructCampaignUrl(campaigns[indexPath.row])
print("CampaignUrl url onclick: " + url)
vc.campaignUrl = url
self.navigationController?.pushViewController(vc, animated: true)
// TODO: UNCOMMENT
// let storyboard = UIStoryboard(name: "Main", bundle: Bundle(for: MyEmptyClass.self))
// let vc = storyboard.instantiateViewController(withIdentifier: "CampaignViewController") as! CampaignViewController
// let url = swiftApi().constructCampaignUrl(campaigns[indexPath.row])
// vc.campaignUrl = url
// self.navigationController?.pushViewController(vc, animated: true)
}
}
//
// StepsViewController.swift
// swift_example
//
// Created by Manos Chorianopoulos on 10/6/22.
//
import UIKit
class StepsViewController: UIViewController {
override func viewDidLoad() {
super.viewDidLoad()
self.hidesBottomBarWhenPushed = true
// Do any additional setup after loading the view.
}
/*
// MARK: - Navigation
// In a storyboard-based application, you will often want to do a little preparation before navigation
override func prepare(for segue: UIStoryboardSegue, sender: Any?) {
// Get the new view controller using segue.destination.
// Pass the selected object to the new view controller.
}
*/
}
//
// WalletViewController.swift
// swift_example
//
// Created by Manos Chorianopoulos on 21/6/22.
//
import Foundation
import UIKit
import SwiftWarplyFramework
@objc public class WalletViewController: UIViewController {
@IBOutlet weak var scrollview: UIScrollView!
@IBOutlet weak var scrollviewContainer: UIView!
@IBOutlet weak var headerImage: UIImageView!
@IBOutlet weak var profileImage: UIImageView!
@IBOutlet weak var profileNameLabel: UILabel!
@IBOutlet weak var questionnaireButton: UIButton!
@IBOutlet weak var dfyEarnView: UIView!
@IBOutlet weak var dfyEarnLabel: UILabel!
@IBOutlet weak var dfyEarnAmountLabel: UILabel!
@IBOutlet weak var dfyEarnImage: UIImageView!
@IBOutlet weak var couponEarnView: UIView!
@IBOutlet weak var couponEarnLabel: UILabel!
@IBOutlet weak var couponEarnAmountLabel: UILabel!
@IBOutlet weak var couponEarnImage: UIImageView!
@IBOutlet weak var dfyLogoImage: UIImageView!
@IBOutlet weak var dfyLogoImageTopSpace: NSLayoutConstraint!
@IBOutlet weak var dfyLogoImageHeight: NSLayoutConstraint!
@IBOutlet weak var activeCodeView: UIView!
@IBOutlet weak var activeCodeViewHeight: NSLayoutConstraint!
@IBOutlet weak var activeCodesCountLabel: UILabel!
@IBOutlet weak var activeCodeLabel: UILabel!
@IBOutlet weak var activeCodeExpirationLabel: UILabel!
@IBOutlet weak var tableView: UITableView!
@IBOutlet weak var activeCodeImage: UIImageView!
let uiscreen: CGRect = UIScreen.main.bounds
public var coupons:Array<swiftApi.CouponItemModel> = swiftApi().getCouponList()
public var dfyCoupons:Array<swiftApi.ActiveDFYCouponModel> = swiftApi().getActiveDFYCoupons()
public var loyaltyBadge:swiftApi.LoyaltyBadgeModel = swiftApi().getLoyaltyBadge()
public var profile:swiftApi.ProfileModel? = swiftApi().getConsumer()
// TEST
public var campaigns:Array<swiftApi.CampaignItemModel> = swiftApi().getCampaignList()
// <==
public override func viewDidLoad() {
super.viewDidLoad()
self.hidesBottomBarWhenPushed = true
// TODO: DELETE ===>
getCouponsRequest()
getProfileRequest()
// <======
setBackButton()
setNavigationTitle("For You")
tableView.delegate = self
tableView.dataSource = self
print("Active Gifts Count: " + String(coupons.count))
// TODO: DELETE ===>
// swiftApi().setUserTag("123")
let coupon = swiftApi.ActiveDFYCouponModel()
coupon._value = "12"
coupon._date = "2022-12-05 01:55:01"
coupon._code = "123456789"
let coupon2 = swiftApi.ActiveDFYCouponModel()
coupon2._value = "23"
coupon2._date = "2022-11-05 01:55:01"
coupon2._code = "234567891"
let coupon3 = swiftApi.ActiveDFYCouponModel()
coupon3._value = "34"
coupon3._date = "2022-07-01 01:55:01"
coupon3._code = "345678912"
let couponsArray: Array<swiftApi.ActiveDFYCouponModel> = [coupon, coupon2, coupon3]
swiftApi().setActiveDFYCoupons(dfyCoupons: couponsArray)
dfyCoupons = swiftApi().getActiveDFYCoupons()
// TODO: DELETE <===
print("======= swiftApi().getUserTag() ========")
print(swiftApi().getUserTag())
// TODO: Uncomment
// headerImage.image = UIImage(named: "ic_background_circle", in: Bundle(for: MyEmptyClass.self), compatibleWith: nil)
// dfyEarnImage.image = UIImage(named: "wallet_dfy_earn", in: Bundle(for: MyEmptyClass.self), compatibleWith: nil)
// couponEarnImage.image = UIImage(named: "wallet_coupons", in: Bundle(for: MyEmptyClass.self), compatibleWith: nil)
// dfyLogoImage.image = UIImage(named: "dfy_logo_white", in: Bundle(for: MyEmptyClass.self), compatibleWith: nil)
// activeCodeImage.image = UIImage(named: "active_code_logo", in: Bundle(for: MyEmptyClass.self), compatibleWith: nil)
profileImage.layer.cornerRadius = 32.5
profileImage.layer.borderWidth = 1
profileImage.layer.borderColor = UIColor(red: 0.13, green: 0.66, blue: 0.71, alpha: 1.00).cgColor
if (profile != nil && profile?.image_url != nil && profile?.image_url != "") {
profileImage.load(link: profile?.image_url ?? "", placeholder: UIImage(), cache: URLCache())
} else {
// TODO: DELETE
profileImage.image = UIImage(named: "default_profile_image")
// TODO: Uncomment
// profileImage.image = UIImage(named: "default_profile_image", in: Bundle(for: MyEmptyClass.self), compatibleWith: nil)
}
print("Profile Name: " + (profile?.firstname ?? "") + " " + (profile?.lastname ?? ""))
profileNameLabel.text = (profile?.firstname ?? "") + " " + (profile?.lastname ?? "")
let userTag = swiftApi().getUserTag()
print("User tag: " + userTag)
if (userTag != "" && userTag != "undefined") {
questionnaireButton.setTitle(userTag, for: .normal)
questionnaireButton.titleLabel?.font = UIFont.systemFont(ofSize: 13, weight: .semibold)
questionnaireButton.setTitleColor(.white, for: .normal)
// questionnaireButton.sizeToFit()
questionnaireButton.frame = CGRect(x: 0.0, y: 0.0, width: questionnaireButton.intrinsicContentSize.width, height: questionnaireButton.intrinsicContentSize.height)
questionnaireButton.applyGradient(colours: [UIColor(red: 0.40, green: 0.77, blue: 0.28, alpha: 1.00), UIColor(red: 0.10, green: 0.66, blue: 0.72, alpha: 1.00)], gradient: GradientOrientation.horizontal, cornerRadius: 7.0)
// Shadow Color
questionnaireButton.layer.shadowColor = UIColor(red: 0.33, green: 0.38, blue: 0.43, alpha: 1.00).cgColor
questionnaireButton.layer.shadowOffset = CGSize(width: 0.0, height: 2.0)
questionnaireButton.layer.shadowOpacity = 1.0
questionnaireButton.layer.shadowRadius = 0.0
questionnaireButton.layer.masksToBounds = false
} else {
questionnaireButton.setTitle("+Προτιμήσεις", for: .normal)
questionnaireButton.titleLabel?.font = UIFont.systemFont(ofSize: 13, weight: .semibold)
questionnaireButton.setTitleColor(UIColor(red: 0.31, green: 0.62, blue: 0.18, alpha: 1.00), for: .normal)
questionnaireButton.backgroundColor = UIColor(red: 0.90, green: 0.90, blue: 0.90, alpha: 1.00)
questionnaireButton.frame = CGRect(x: 0.0, y: 0.0, width: questionnaireButton.intrinsicContentSize.width, height: questionnaireButton.intrinsicContentSize.height)
}
questionnaireButton.layer.cornerRadius = 7.0
dfyEarnView.layer.cornerRadius = 5.0
dfyEarnView.layer.shadowColor = UIColor(red: 0.00, green: 0.00, blue: 0.00, alpha: 0.16).cgColor
dfyEarnView.layer.shadowOffset = CGSize(width: 0.0, height: 3.0)
dfyEarnView.layer.shadowOpacity = 1.0
dfyEarnView.layer.shadowRadius = 3.0
// var totalCouponValue = self.dfyCoupons.reduce(0) { $0 + (Float($1._value) ?? 0) }
// totalCouponValue = Float(round(100 * totalCouponValue) / 100)
var totalCouponValue = swiftApi().getDealsCouponsSum()
totalCouponValue = Float(round(100 * totalCouponValue) / 100)
var totalCouponValueString = "0"
totalCouponValueString = String(format: "%.2f", totalCouponValue).replacingOccurrences(of: ".", with: ",", options: .literal, range: nil)
dfyEarnLabel.text = "Μέχρι τώρα έχεις κερδίσει " + totalCouponValueString + "€ με το DEALS for YOU!"
dfyEarnAmountLabel.text = totalCouponValueString + "€"
couponEarnView.layer.cornerRadius = 5.0
couponEarnView.layer.shadowColor = UIColor(red: 0.00, green: 0.00, blue: 0.00, alpha: 0.16).cgColor
couponEarnView.layer.shadowOffset = CGSize(width: 0.0, height: 3.0)
couponEarnView.layer.shadowOpacity = 1.0
couponEarnView.layer.shadowRadius = 3.0
let totalCouponDiscount = Float(round(100 * loyaltyBadge._value) / 100)
var totalCouponDiscountString = "0"
totalCouponDiscountString = String(format: "%.2f", totalCouponDiscount).replacingOccurrences(of: ".", with: ",", options: .literal, range: nil)
couponEarnLabel.text = "Μέχρι τώρα έχεις κερδίσει " + totalCouponDiscountString + "€ σε προσφορές από " + String(loyaltyBadge._couponCount) + " κουπόνια!"
couponEarnAmountLabel.text = totalCouponDiscountString + "€"
print("Loyalty Badge Value: " + totalCouponDiscountString)
print("Loyalty Badge Count: " + String(loyaltyBadge._couponCount))
activeCodeView.layer.cornerRadius = 5.0
activeCodeView.layer.shadowColor = UIColor(red: 0.00, green: 0.00, blue: 0.00, alpha: 0.16).cgColor
activeCodeView.layer.shadowOffset = CGSize(width: 0.0, height: 0.0)
activeCodeView.layer.shadowOpacity = 1.0
activeCodeView.layer.shadowRadius = 6.0
if (dfyCoupons.count > 0) {
if (dfyCoupons.count == 1) {
let dateFormatter = DateFormatter()
dateFormatter.dateFormat = "yyyy-MM-dd hh:mm:ss"
// sort dfyCoupons by date
dfyCoupons.sort(by: {
let date1 = dateFormatter.date(from: $0._date)
let date2 = dateFormatter.date(from: $1._date)
if ((date1 != nil) && (date2 != nil)) {
return date1!.compare(date2!) == .orderedAscending
} else {
return false
}
})
// Get days from now of the most recet coupon
var daysFromNow = ""
let calendar = Calendar.current
// Replace the hour (time) of both dates with 00:00
let date1 = calendar.startOfDay(for: Date())
if let date2 = dateFormatter.date(from: dfyCoupons[0]._date) {
let components = calendar.dateComponents([.day], from: date1, to: date2)
daysFromNow = (components.day) != nil ? String(components.day ?? 0) : ""
}
activeCodesCountLabel.text = "Ενεργός κωδικός:"
activeCodeLabel.text = dfyCoupons[0]._code
// TODO: UNHIDE IT
activeCodeExpirationLabel.isHidden = true
if (daysFromNow == "1") {
activeCodeExpirationLabel.text = "Λήγει σε " + daysFromNow + " ημέρα"
} else {
activeCodeExpirationLabel.text = "Λήγει σε " + daysFromNow + " ημέρες"
}
} else {
var couponCodesString = ""
for (index, item) in dfyCoupons.enumerated() {
if (index == (dfyCoupons.endIndex - 1)) {
couponCodesString += String(item._code)
} else {
couponCodesString += String(item._code) + ", "
}
}
activeCodesCountLabel.text = String(dfyCoupons.count) + " Ενεργοί κωδικοί:"
activeCodeLabel.text = couponCodesString
activeCodeExpirationLabel.isHidden = true
}
} else {
activeCodeLabel.text = "-"
activeCodeExpirationLabel.text = ""
dfyLogoImage.isHidden = true
activeCodeView.isHidden = true
dfyLogoImageHeight.constant = 0
activeCodeViewHeight.constant = 0
dfyLogoImageTopSpace.constant = 0
}
// TODO: DELETE ===>
// swiftApi().setUserTag("123")
}
public override func viewWillAppear(_ animated: Bool) {
super.viewWillAppear(animated)
let userTag = swiftApi().getUserTag()
if (questionnaireButton.currentTitle != userTag) {
if (userTag != "" && userTag != "undefined") {
questionnaireButton.setTitle(userTag, for: .normal)
questionnaireButton.titleLabel?.font = UIFont.systemFont(ofSize: 13, weight: .semibold)
questionnaireButton.setTitleColor(.white, for: .normal)
// questionnaireButton.sizeToFit()
questionnaireButton.frame = CGRect(x: 0.0, y: 0.0, width: questionnaireButton.intrinsicContentSize.width, height: questionnaireButton.intrinsicContentSize.height)
questionnaireButton.applyGradient(colours: [UIColor(red: 0.40, green: 0.77, blue: 0.28, alpha: 1.00), UIColor(red: 0.10, green: 0.66, blue: 0.72, alpha: 1.00)], gradient: GradientOrientation.horizontal, cornerRadius: 7.0)
// Shadow Color
questionnaireButton.layer.shadowColor = UIColor(red: 0.33, green: 0.38, blue: 0.43, alpha: 1.00).cgColor
questionnaireButton.layer.shadowOffset = CGSize(width: 0.0, height: 2.0)
questionnaireButton.layer.shadowOpacity = 1.0
questionnaireButton.layer.shadowRadius = 0.0
questionnaireButton.layer.masksToBounds = false
} else {
for layer in (questionnaireButton.layer.sublayers ?? []) {
if(layer.name == "linearGradientLayer"){
layer.removeFromSuperlayer()
}
}
questionnaireButton.layer.shadowOpacity = 0.0;
questionnaireButton.setTitle("+Προτιμήσεις", for: .normal)
questionnaireButton.titleLabel?.font = UIFont.systemFont(ofSize: 13, weight: .semibold)
questionnaireButton.setTitleColor(UIColor(red: 0.31, green: 0.62, blue: 0.18, alpha: 1.00), for: .normal)
questionnaireButton.backgroundColor = UIColor(red: 0.90, green: 0.90, blue: 0.90, alpha: 1.00)
questionnaireButton.frame = CGRect(x: 0.0, y: 0.0, width: questionnaireButton.intrinsicContentSize.width, height: questionnaireButton.intrinsicContentSize.height)
}
questionnaireButton.layer.cornerRadius = 7.0
}
}
public override func viewDidLayoutSubviews() {
super.viewDidLayoutSubviews()
if let headerView = tableView.tableHeaderView {
let height = headerView.systemLayoutSizeFitting(UIView.layoutFittingCompressedSize).height
var headerFrame = headerView.frame
//Comparison necessary to avoid infinite loop
if height != headerFrame.size.height {
headerFrame.size.height = height
headerView.frame = headerFrame
tableView.tableHeaderView = headerView
}
}
}
// TODO: DELETE ===>
// MARK: - API Functions
func getCouponsRequest() {
swiftApi().getCouponsAsync(getCouponsCallback)
}
func getCouponsCallback (_ couponsData: Array<swiftApi.CouponItemModel>?) -> Void {
if (couponsData != nil) {
let activeCouponData = swiftApi().filterActiveCoupons(couponsData ?? [])
// self.coupons = activeCouponData
swiftApi().setCouponList(activeCouponData)
self.coupons = swiftApi().getCouponList()
self.loyaltyBadge = swiftApi().getLoyaltyBadge()
DispatchQueue.main.async {
self.tableView.reloadData()
let totalCouponDiscount = Float(round(100 * self.loyaltyBadge._value) / 100)
let totalCouponDiscountString = String(format: "%.2f", totalCouponDiscount).replacingOccurrences(of: ".", with: ",", options: .literal, range: nil)
self.couponEarnLabel.text = "Μέχρι τώρα έχεις κερδίσει " + totalCouponDiscountString + "€ σε προσφορές από " + String(self.loyaltyBadge._couponCount) + " κουπόνια!"
self.couponEarnAmountLabel.text = totalCouponDiscountString + "€"
}
} else {
self.coupons = []
}
}
func getProfileRequest() {
swiftApi().getProfileAsync(getProfileCallback)
}
func getProfileCallback (_ profileData: swiftApi.ProfileModel?) -> Void {
if (profileData != nil) {
// self.profile = profileData ?? nil
DispatchQueue.main.async {
// self.tableView.reloadData()
// TODO: Rerender screen
swiftApi().setConsumer(profileData ?? swiftApi.ProfileModel())
let newProfile = swiftApi().getConsumer()
if (newProfile?.image_url != "") {
self.profileImage.load(link: newProfile?.image_url ?? "", placeholder: UIImage(), cache: URLCache())
} else {
// TODO: DELETE
self.profileImage.image = UIImage(named: "default_profile_image")
// TODO: Uncomment
// profileImage.image = UIImage(named: "default_profile_image", in: Bundle(for: MyEmptyClass.self), compatibleWith: nil)
}
self.profileNameLabel.text = (newProfile?.firstname ?? "") + " " + (newProfile?.lastname ?? "")
print("========= DispatchQueue profileData SUCCESSSS =========")
print(profileData)
print("========= DispatchQueue profileData SUCCESSSS =========")
}
} else {
// self.profile = nil
}
}
func openQuestionnaire(_ controller: UIViewController) -> Void {
for item in self.campaigns {
if (item.offer_category == "questionnaire") {
let storyboard = UIStoryboard(name: "Main", bundle: nil)
let vc = storyboard.instantiateViewController(withIdentifier: "CampaignWebviewViewController") as! CampaignWebviewViewController
let url = swiftApi().constructCampaignUrl(item)
vc.campaignUrl = url
controller.navigationController?.pushViewController(vc, animated: true)
break;
}
}
}
// <=====
// MARK: - Actions
@IBAction func qustionnaireButtonAction(_ sender: Any) {
// swiftApi().openQuestionnaire(self);
openQuestionnaire(self)
// print("qustionnaireButtonAction Tapped!")
}
@IBAction func dfyEarnButtonAction(_ sender: Any) {
// // analysis_pressed event
// let dealsAnalysis = swiftApi.WarplyDealsAnalysisEventModel()
// dealsAnalysis._isPressed = true
// SwiftEventBus.post("analysis_pressed", sender: dealsAnalysis)
}
@IBAction func couponEarnButtonAction(_ sender: Any) {
// TODO: couponEarnButtonAction
print("couponEarnButtonAction Tapped!")
}
}
// MARK: - TableView
extension WalletViewController: UITableViewDelegate, UITableViewDataSource{
public func numberOfSections(in tableView: UITableView) -> Int {
return 1
}
public func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int {
return self.coupons.count
}
public func tableView(_ tableView: UITableView, heightForRowAt indexPath: IndexPath) -> CGFloat {
return 120.0 + 30.0
// return UITableViewAutomaticDimension
}
public func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell {
let cell = tableView.dequeueReusableCell(withIdentifier: "CouponsTableViewCellId", for: indexPath) as! CouponsTableViewCell
cell.configureCell(coupon: coupons[indexPath.row])
return cell
}
public func tableView(_ tableView: UITableView, didSelectRowAt indexPath: IndexPath) {
// TODO: DELETE
let storyboard = UIStoryboard(name: "Main", bundle: nil)
let vc = storyboard.instantiateViewController(withIdentifier: "CouponBarcodeViewController") as! CouponBarcodeViewController
vc.coupon = coupons[indexPath.row]
self.navigationController?.pushViewController(vc, animated: true)
// TODO: UNCOMMENT
// let storyboard = UIStoryboard(name: "Main", bundle: Bundle(for: MyEmptyClass.self))
// let vc = storyboard.instantiateViewController(withIdentifier: "CouponBarcodeViewController") as! CouponBarcodeViewController
// vc.coupon = coupons[indexPath.row]
// self.navigationController?.pushViewController(vc, animated: true)
}
}
[
{
"treatmentCode": "5228.e1d.38378e61.750186c1",
"provDuration": "0.0",
"offerName": "CCMS loyalty - postpay addon gifts4u",
"eligibleAssets": [
"306932222490"
],
"noOfRecurrance": "0",
"businessService": "0.0",
"loyaltyCampaignId": "8eb71c4ceaff409c896e2d1f6f1c20f3",
"discount": "NaN",
"notificationMessage": "",
"score": "50",
"provStepValueMins": "",
"dataCategory": "",
"productType": "MOBILE ADDON",
"sessionId": "ONE_APP.6932222490.20220708164935",
"offerCode1": "000003612",
"wave": "1",
"id": "000003612",
"offerAudienceLevel": "msisdn",
"voiceCategory": "",
"uaciOfferTrackingCode": "5228.e1d.38378e61.750186c1",
"validity": "0",
"businessAdditionalId": "0.0",
"postpayProduct": "0.0",
"price": "NaN",
"minsValue": "",
"dataValue": "",
"zone": "COSMOTE_APP_GIFTS4U"
},
{
"treatmentCode": "5162.e07.fffffffffa10663a.ffffffffda30c76a",
"provDuration": "0.0",
"offerName": "CCMS loyalty white label",
"eligibleAssets": [
"306932222490"
],
"noOfRecurrance": "",
"businessService": "",
"loyaltyCampaignId": "NA",
"discount": "",
"notificationMessage": "",
"score": "50",
"provStepValueMins": "",
"dataCategory": "Data",
"productType": "White Label",
"sessionId": "ONE_APP.6932222490.20220708164935",
"offerCode1": "000003590",
"wave": "1",
"id": "000003590",
"offerAudienceLevel": "msisdn",
"voiceCategory": "",
"uaciOfferTrackingCode": "5162.e07.fffffffffa10663a.ffffffffda30c76a",
"validity": "0",
"businessAdditionalId": "",
"postpayProduct": "",
"price": "NaN",
"minsValue": "",
"dataValue": "",
"zone": "COSMOTE_APP_GIFTS4U"
},
{
"treatmentCode": "5224.e19.30e2f27b.ffffffffeb22b0db",
"provDuration": "0.0",
"offerName": "CCMS loyalty gifts4u v1",
"eligibleAssets": [
"306932222490"
],
"noOfRecurrance": "",
"businessService": "",
"loyaltyCampaignId": "c134cdeb8a924f8eac38e261acb9caf5",
"discount": "",
"notificationMessage": "",
"score": "50",
"provStepValueMins": "",
"dataCategory": "Data",
"productType": "White Label",
"sessionId": "ONE_APP.6932222490.20220708164935",
"offerCode1": "000003608",
"wave": "1",
"id": "000003608",
"offerAudienceLevel": "msisdn",
"voiceCategory": "",
"uaciOfferTrackingCode": "5224.e19.30e2f27b.ffffffffeb22b0db",
"validity": "0",
"businessAdditionalId": "",
"postpayProduct": "",
"price": "NaN",
"minsValue": "",
"dataValue": "",
"zone": "COSMOTE_APP_GIFTS4U"
},
{
"treatmentCode": "51e9.e10.2c006f18.71e96d08",
"provDuration": "0.0",
"offerName": "CCMS loyalty white label with campaignId",
"eligibleAssets": [
"306932222490"
],
"noOfRecurrance": "",
"businessService": "",
"loyaltyCampaignId": "c5cc5f4f65624f47a580b720233fa60d",
"discount": "",
"notificationMessage": "",
"score": "50",
"provStepValueMins": "",
"dataCategory": "Data",
"productType": "White Label",
"sessionId": "ONE_APP.6932222490.20220708164935",
"offerCode1": "000003599",
"wave": "1",
"id": "000003599",
"offerAudienceLevel": "msisdn",
"voiceCategory": "",
"uaciOfferTrackingCode": "51e9.e10.2c006f18.71e96d08",
"validity": "0",
"businessAdditionalId": "",
"postpayProduct": "",
"price": "NaN",
"minsValue": "",
"dataValue": "",
"zone": "COSMOTE_APP_GIFTS4U"
},
{
"treatmentCode": "5168.e05.ffffffffa943695b.79ff470b",
"provDuration": "0.0",
"offerName": "CCMS loyalty postpay addon",
"eligibleAssets": [
"306932222490"
],
"noOfRecurrance": "0",
"businessService": "0.0",
"loyaltyCampaignId": "NA",
"discount": "NaN",
"notificationMessage": "",
"score": "50",
"provStepValueMins": "",
"dataCategory": "",
"productType": "MOBILE ADDON",
"sessionId": "ONE_APP.6932222490.20220708164935",
"offerCode1": "000003588",
"wave": "1",
"id": "000003588",
"offerAudienceLevel": "msisdn",
"voiceCategory": "",
"uaciOfferTrackingCode": "5168.e05.ffffffffa943695b.79ff470b",
"validity": "0",
"businessAdditionalId": "0.0",
"postpayProduct": "0.0",
"price": "NaN",
"minsValue": "",
"dataValue": "",
"zone": "COSMOTE_APP_GIFTS4U"
},
{
"treatmentCode": "5222.e1b.ffffffffe725d1b3.ffffffffed6d8723",
"provDuration": "7.0",
"offerName": "CCMS loyalty more4u v1",
"eligibleAssets": [
"306932222490"
],
"noOfRecurrance": "",
"businessService": "",
"loyaltyCampaignId": "8e2c88ec94c948d8b51577324ed9a4d5",
"discount": "",
"notificationMessage": "",
"score": "60",
"provStepValueMins": "",
"dataCategory": "Data",
"productType": "White Label",
"sessionId": "ONE_APP.6932222490.20220708164935",
"offerCode1": "000003610",
"wave": "1",
"id": "000003610",
"offerAudienceLevel": "msisdn",
"voiceCategory": "",
"uaciOfferTrackingCode": "5222.e1b.ffffffffe725d1b3.ffffffffed6d8723",
"validity": "0",
"businessAdditionalId": "",
"postpayProduct": "",
"price": "20",
"minsValue": "",
"dataValue": "",
"zone": "COSMOTE_APP_MORE4U"
},
{
"treatmentCode": "5164.e07.fffffffffa10663a.ffffffffda30c76a",
"provDuration": "0.0",
"offerName": "CCMS loyalty white label",
"eligibleAssets": [
"306932222490"
],
"noOfRecurrance": "",
"businessService": "",
"loyaltyCampaignId": "NA",
"discount": "",
"notificationMessage": "",
"score": "50",
"provStepValueMins": "",
"dataCategory": "Data",
"productType": "White Label",
"sessionId": "ONE_APP.6932222490.20220708164935",
"offerCode1": "000003590",
"wave": "1",
"id": "000003590",
"offerAudienceLevel": "msisdn",
"voiceCategory": "",
"uaciOfferTrackingCode": "5164.e07.fffffffffa10663a.ffffffffda30c76a",
"validity": "0",
"businessAdditionalId": "",
"postpayProduct": "",
"price": "NaN",
"minsValue": "",
"dataValue": "",
"zone": "COSMOTE_APP_MORE4U"
},
{
"treatmentCode": "5226.e1f.728b68c6.ffffffffa6c7b10e",
"provDuration": "0.0",
"offerName": "CCMS loyalty - postpay addon more4u",
"eligibleAssets": [
"306932222490"
],
"noOfRecurrance": "0",
"businessService": "0.0",
"loyaltyCampaignId": "aaf4022194584f02bb84c7b283c7c51e",
"discount": "NaN",
"notificationMessage": "",
"score": "50",
"provStepValueMins": "",
"dataCategory": "",
"productType": "MOBILE ADDON",
"sessionId": "ONE_APP.6932222490.20220708164935",
"offerCode1": "000003614",
"wave": "1",
"id": "000003614",
"offerAudienceLevel": "msisdn",
"voiceCategory": "",
"uaciOfferTrackingCode": "5226.e1f.728b68c6.ffffffffa6c7b10e",
"validity": "0",
"businessAdditionalId": "0.0",
"postpayProduct": "0.0",
"price": "NaN",
"minsValue": "",
"dataValue": "",
"zone": "COSMOTE_APP_MORE4U"
},
{
"treatmentCode": "516a.e05.ffffffffa943695b.79ff470b",
"provDuration": "0.0",
"offerName": "CCMS loyalty postpay addon",
"eligibleAssets": [
"306932222490"
],
"noOfRecurrance": "0",
"businessService": "0.0",
"loyaltyCampaignId": "NA",
"discount": "NaN",
"notificationMessage": "",
"score": "50",
"provStepValueMins": "",
"dataCategory": "",
"productType": "MOBILE ADDON",
"sessionId": "ONE_APP.6932222490.20220708164935",
"offerCode1": "000003588",
"wave": "1",
"id": "000003588",
"offerAudienceLevel": "msisdn",
"voiceCategory": "",
"uaciOfferTrackingCode": "516a.e05.ffffffffa943695b.79ff470b",
"validity": "0",
"businessAdditionalId": "0.0",
"postpayProduct": "0.0",
"price": "NaN",
"minsValue": "",
"dataValue": "",
"zone": "COSMOTE_APP_MORE4U"
},
{
"treatmentCode": "51eb.e10.2c006f18.71e96d08",
"provDuration": "0.0",
"offerName": "CCMS loyalty white label with campaignId",
"eligibleAssets": [
"306932222490"
],
"noOfRecurrance": "",
"businessService": "",
"loyaltyCampaignId": "c5cc5f4f65624f47a580b720233fa60d",
"discount": "",
"notificationMessage": "",
"score": "50",
"provStepValueMins": "",
"dataCategory": "Data",
"productType": "White Label",
"sessionId": "ONE_APP.6932222490.20220708164935",
"offerCode1": "000003599",
"wave": "1",
"id": "000003599",
"offerAudienceLevel": "msisdn",
"voiceCategory": "",
"uaciOfferTrackingCode": "51eb.e10.2c006f18.71e96d08",
"validity": "0",
"businessAdditionalId": "",
"postpayProduct": "",
"price": "NaN",
"minsValue": "",
"dataValue": "",
"zone": "COSMOTE_APP_MORE4U"
},
{
"treatmentCode": "5166.e07.fffffffffa10663a.ffffffffda30c76a",
"provDuration": "0.0",
"offerName": "CCMS loyalty white label",
"eligibleAssets": [
"306932222490"
],
"noOfRecurrance": "",
"businessService": "",
"loyaltyCampaignId": "NA",
"discount": "",
"notificationMessage": "",
"score": "50",
"provStepValueMins": "",
"dataCategory": "Data",
"productType": "White Label",
"sessionId": "ONE_APP.6932222490.20220708164935",
"offerCode1": "000003590",
"wave": "1",
"id": "000003590",
"offerAudienceLevel": "msisdn",
"voiceCategory": "",
"uaciOfferTrackingCode": "5166.e07.fffffffffa10663a.ffffffffda30c76a",
"validity": "0",
"businessAdditionalId": "",
"postpayProduct": "",
"price": "NaN",
"minsValue": "",
"dataValue": "",
"zone": "COSMOTE_APP_LOYALTY_PROMO"
},
{
"treatmentCode": "51ed.e10.2c006f18.71e96d08",
"provDuration": "0.0",
"offerName": "CCMS loyalty white label with campaignId",
"eligibleAssets": [
"306932222490"
],
"noOfRecurrance": "",
"businessService": "",
"loyaltyCampaignId": "c5cc5f4f65624f47a580b720233fa60d",
"discount": "",
"notificationMessage": "",
"score": "50",
"provStepValueMins": "",
"dataCategory": "Data",
"productType": "White Label",
"sessionId": "ONE_APP.6932222490.20220708164935",
"offerCode1": "000003599",
"wave": "1",
"id": "000003599",
"offerAudienceLevel": "msisdn",
"voiceCategory": "",
"uaciOfferTrackingCode": "51ed.e10.2c006f18.71e96d08",
"validity": "0",
"businessAdditionalId": "",
"postpayProduct": "",
"price": "NaN",
"minsValue": "",
"dataValue": "",
"zone": "COSMOTE_APP_LOYALTY_PROMO"
},
{
"treatmentCode": "516c.e05.ffffffffa943695b.79ff470b",
"provDuration": "0.0",
"offerName": "CCMS loyalty postpay addon",
"eligibleAssets": [
"306932222490"
],
"noOfRecurrance": "0",
"businessService": "0.0",
"loyaltyCampaignId": "NA",
"discount": "NaN",
"notificationMessage": "",
"score": "50",
"provStepValueMins": "",
"dataCategory": "",
"productType": "MOBILE ADDON",
"sessionId": "ONE_APP.6932222490.20220708164935",
"offerCode1": "000003588",
"wave": "1",
"id": "000003588",
"offerAudienceLevel": "msisdn",
"voiceCategory": "",
"uaciOfferTrackingCode": "516c.e05.ffffffffa943695b.79ff470b",
"validity": "0",
"businessAdditionalId": "0.0",
"postpayProduct": "0.0",
"price": "NaN",
"minsValue": "",
"dataValue": "",
"zone": "COSMOTE_APP_LOYALTY_PROMO"
}
]
\ No newline at end of file
//
// Use this file to import your target's public headers that you would like to expose to Swift.
//
#import <UIKit/UIKit.h>
#import "WarplySDKFrameworkIOS/MyApi.h"
//
// swift_exampleTests.swift
// swift_exampleTests
//
// Created by Manos Chorianopoulos on 18/4/22.
//
import XCTest
@testable import swift_example
class swift_exampleTests: XCTestCase {
override func setUpWithError() throws {
// Put setup code here. This method is called before the invocation of each test method in the class.
}
override func tearDownWithError() throws {
// Put teardown code here. This method is called after the invocation of each test method in the class.
}
func testExample() throws {
// This is an example of a functional test case.
// Use XCTAssert and related functions to verify your tests produce the correct results.
}
func testPerformanceExample() throws {
// This is an example of a performance test case.
self.measure {
// Put the code you want to measure the time of here.
}
}
}
//
// swift_exampleUITests.swift
// swift_exampleUITests
//
// Created by Manos Chorianopoulos on 18/4/22.
//
import XCTest
class swift_exampleUITests: XCTestCase {
override func setUpWithError() throws {
// Put setup code here. This method is called before the invocation of each test method in the class.
// In UI tests it is usually best to stop immediately when a failure occurs.
continueAfterFailure = false
// In UI tests it’s important to set the initial state - such as interface orientation - required for your tests before they run. The setUp method is a good place to do this.
}
override func tearDownWithError() throws {
// Put teardown code here. This method is called after the invocation of each test method in the class.
}
func testExample() throws {
// UI tests must launch the application that they test.
let app = XCUIApplication()
app.launch()
// Use recording to get started writing UI tests.
// Use XCTAssert and related functions to verify your tests produce the correct results.
}
func testLaunchPerformance() throws {
if #available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 7.0, *) {
// This measures how long it takes to launch your application.
measure(metrics: [XCTApplicationLaunchMetric()]) {
XCUIApplication().launch()
}
}
}
}
//
// swift_exampleUITestsLaunchTests.swift
// swift_exampleUITests
//
// Created by Manos Chorianopoulos on 18/4/22.
//
import XCTest
class swift_exampleUITestsLaunchTests: XCTestCase {
override class var runsForEachTargetApplicationUIConfiguration: Bool {
true
}
override func setUpWithError() throws {
continueAfterFailure = false
}
func testLaunch() throws {
let app = XCUIApplication()
app.launch()
// Insert steps here to perform after app launch but before taking a screenshot,
// such as logging into a test account or navigating somewhere in the app
let attachment = XCTAttachment(screenshot: app.screenshot())
attachment.name = "Launch Screen"
attachment.lifetime = .keepAlways
add(attachment)
}
}
# Uncomment the next line to define a global platform for your project
# platform :ios, '9.0'
target 'SwiftWarplyFramework' do
# Comment the next line if you don't want to use dynamic frameworks
use_frameworks!
# Pods for SwiftWarplyFramework
end
PODFILE CHECKSUM: 54752dc113f1a895fde22654f99199950788b81a
COCOAPODS: 1.11.3
PODFILE CHECKSUM: 54752dc113f1a895fde22654f99199950788b81a
COCOAPODS: 1.11.3
// !$*UTF8*$!
{
archiveVersion = 1;
classes = {
};
objectVersion = 55;
objects = {
/* Begin PBXBuildFile section */
5FFFBBDC8747F8F95267B369A0B08A98 /* Pods-SwiftWarplyFramework-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 4F8331D4BF59E223F03F9D78498A11D3 /* Pods-SwiftWarplyFramework-dummy.m */; };
74539182FFE1CC9A3E4A1148C6E79EE2 /* Pods-SwiftWarplyFramework-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = BBB69456FA6939ACD4861B5811D770FE /* Pods-SwiftWarplyFramework-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; };
E4181C0613DFE2B5114170C92345E9CD /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 73010CC983E3809BECEE5348DA1BB8C6 /* Foundation.framework */; };
/* End PBXBuildFile section */
/* Begin PBXFileReference section */
0AB974C2109C7DBBE55E5D7D226F4EBE /* Pods-SwiftWarplyFramework.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-SwiftWarplyFramework.debug.xcconfig"; sourceTree = "<group>"; };
498C91A02DB96471EA0C396AF19FE567 /* Pods-SwiftWarplyFramework-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-SwiftWarplyFramework-acknowledgements.plist"; sourceTree = "<group>"; };
4F8331D4BF59E223F03F9D78498A11D3 /* Pods-SwiftWarplyFramework-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-SwiftWarplyFramework-dummy.m"; sourceTree = "<group>"; };
73010CC983E3809BECEE5348DA1BB8C6 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.0.sdk/System/Library/Frameworks/Foundation.framework; sourceTree = DEVELOPER_DIR; };
9C56DCEAAECE1BF9FFCB6DA961E060A0 /* Pods-SwiftWarplyFramework.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-SwiftWarplyFramework.release.xcconfig"; sourceTree = "<group>"; };
9D940727FF8FB9C785EB98E56350EF41 /* Podfile */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; indentWidth = 2; lastKnownFileType = text; name = Podfile; path = ../Podfile; sourceTree = SOURCE_ROOT; tabWidth = 2; xcLanguageSpecificationIdentifier = xcode.lang.ruby; };
B635393CCC529FD1813F0745916C87AC /* Pods-SwiftWarplyFramework.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = "Pods-SwiftWarplyFramework.modulemap"; sourceTree = "<group>"; };
B8A1D33859E1702D0F866D60935E2541 /* Pods-SwiftWarplyFramework-Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-SwiftWarplyFramework-Info.plist"; sourceTree = "<group>"; };
BA497191C8973FAD25E5BF0C5906F342 /* Pods-SwiftWarplyFramework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = "Pods-SwiftWarplyFramework"; path = Pods_SwiftWarplyFramework.framework; sourceTree = BUILT_PRODUCTS_DIR; };
BBB69456FA6939ACD4861B5811D770FE /* Pods-SwiftWarplyFramework-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-SwiftWarplyFramework-umbrella.h"; sourceTree = "<group>"; };
C8DE3069F6B905BDACB2D38E4C3667A1 /* Pods-SwiftWarplyFramework-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-SwiftWarplyFramework-acknowledgements.markdown"; sourceTree = "<group>"; };
/* End PBXFileReference section */
/* Begin PBXFrameworksBuildPhase section */
8DBBA6E0B0801ADCD87B79CF2CE336CE /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
E4181C0613DFE2B5114170C92345E9CD /* Foundation.framework in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXFrameworksBuildPhase section */
/* Begin PBXGroup section */
0E630E55450A4BE65A856032DD4502FF /* Products */ = {
isa = PBXGroup;
children = (
BA497191C8973FAD25E5BF0C5906F342 /* Pods-SwiftWarplyFramework */,
);
name = Products;
sourceTree = "<group>";
};
578452D2E740E91742655AC8F1636D1F /* iOS */ = {
isa = PBXGroup;
children = (
73010CC983E3809BECEE5348DA1BB8C6 /* Foundation.framework */,
);
name = iOS;
sourceTree = "<group>";
};
676E7414F2F8A3E83407E27852342B51 /* Pods-SwiftWarplyFramework */ = {
isa = PBXGroup;
children = (
B635393CCC529FD1813F0745916C87AC /* Pods-SwiftWarplyFramework.modulemap */,
C8DE3069F6B905BDACB2D38E4C3667A1 /* Pods-SwiftWarplyFramework-acknowledgements.markdown */,
498C91A02DB96471EA0C396AF19FE567 /* Pods-SwiftWarplyFramework-acknowledgements.plist */,
4F8331D4BF59E223F03F9D78498A11D3 /* Pods-SwiftWarplyFramework-dummy.m */,
B8A1D33859E1702D0F866D60935E2541 /* Pods-SwiftWarplyFramework-Info.plist */,
BBB69456FA6939ACD4861B5811D770FE /* Pods-SwiftWarplyFramework-umbrella.h */,
0AB974C2109C7DBBE55E5D7D226F4EBE /* Pods-SwiftWarplyFramework.debug.xcconfig */,
9C56DCEAAECE1BF9FFCB6DA961E060A0 /* Pods-SwiftWarplyFramework.release.xcconfig */,
);
name = "Pods-SwiftWarplyFramework";
path = "Target Support Files/Pods-SwiftWarplyFramework";
sourceTree = "<group>";
};
A52BE7DC1544A14AE1EDB07366624F62 /* Targets Support Files */ = {
isa = PBXGroup;
children = (
676E7414F2F8A3E83407E27852342B51 /* Pods-SwiftWarplyFramework */,
);
name = "Targets Support Files";
sourceTree = "<group>";
};
CF1408CF629C7361332E53B88F7BD30C = {
isa = PBXGroup;
children = (
9D940727FF8FB9C785EB98E56350EF41 /* Podfile */,
D210D550F4EA176C3123ED886F8F87F5 /* Frameworks */,
0E630E55450A4BE65A856032DD4502FF /* Products */,
A52BE7DC1544A14AE1EDB07366624F62 /* Targets Support Files */,
);
sourceTree = "<group>";
};
D210D550F4EA176C3123ED886F8F87F5 /* Frameworks */ = {
isa = PBXGroup;
children = (
578452D2E740E91742655AC8F1636D1F /* iOS */,
);
name = Frameworks;
sourceTree = "<group>";
};
/* End PBXGroup section */
/* Begin PBXHeadersBuildPhase section */
9094B0279074070AF637753912AB9D1F /* Headers */ = {
isa = PBXHeadersBuildPhase;
buildActionMask = 2147483647;
files = (
74539182FFE1CC9A3E4A1148C6E79EE2 /* Pods-SwiftWarplyFramework-umbrella.h in Headers */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXHeadersBuildPhase section */
/* Begin PBXNativeTarget section */
0779DA8BF8CD56EC67C289108B77221C /* Pods-SwiftWarplyFramework */ = {
isa = PBXNativeTarget;
buildConfigurationList = 0FEBE74A1ACE6D0CCBD55530A22DA04D /* Build configuration list for PBXNativeTarget "Pods-SwiftWarplyFramework" */;
buildPhases = (
9094B0279074070AF637753912AB9D1F /* Headers */,
53A235508235D85D9CABA02615AF1954 /* Sources */,
8DBBA6E0B0801ADCD87B79CF2CE336CE /* Frameworks */,
D623D98A94A9FDCD93C40621097E6621 /* Resources */,
);
buildRules = (
);
dependencies = (
);
name = "Pods-SwiftWarplyFramework";
productName = Pods_SwiftWarplyFramework;
productReference = BA497191C8973FAD25E5BF0C5906F342 /* Pods-SwiftWarplyFramework */;
productType = "com.apple.product-type.framework";
};
/* End PBXNativeTarget section */
/* Begin PBXProject section */
BFDFE7DC352907FC980B868725387E98 /* Project object */ = {
isa = PBXProject;
attributes = {
LastSwiftUpdateCheck = 1240;
LastUpgradeCheck = 1240;
};
buildConfigurationList = 4821239608C13582E20E6DA73FD5F1F9 /* Build configuration list for PBXProject "Pods" */;
compatibilityVersion = "Xcode 13.0";
developmentRegion = en;
hasScannedForEncodings = 0;
knownRegions = (
Base,
en,
);
mainGroup = CF1408CF629C7361332E53B88F7BD30C;
productRefGroup = 0E630E55450A4BE65A856032DD4502FF /* Products */;
projectDirPath = "";
projectRoot = "";
targets = (
0779DA8BF8CD56EC67C289108B77221C /* Pods-SwiftWarplyFramework */,
);
};
/* End PBXProject section */
/* Begin PBXResourcesBuildPhase section */
D623D98A94A9FDCD93C40621097E6621 /* Resources */ = {
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXResourcesBuildPhase section */
/* Begin PBXSourcesBuildPhase section */
53A235508235D85D9CABA02615AF1954 /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
5FFFBBDC8747F8F95267B369A0B08A98 /* Pods-SwiftWarplyFramework-dummy.m in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXSourcesBuildPhase section */
/* Begin XCBuildConfiguration section */
8C3E239946F02EEF0EA8A796F2493F7E /* Release */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = 9C56DCEAAECE1BF9FFCB6DA961E060A0 /* Pods-SwiftWarplyFramework.release.xcconfig */;
buildSettings = {
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO;
CLANG_ENABLE_OBJC_WEAK = NO;
"CODE_SIGN_IDENTITY[sdk=appletvos*]" = "";
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "";
"CODE_SIGN_IDENTITY[sdk=watchos*]" = "";
CURRENT_PROJECT_VERSION = 1;
DEFINES_MODULE = YES;
DYLIB_COMPATIBILITY_VERSION = 1;
DYLIB_CURRENT_VERSION = 1;
DYLIB_INSTALL_NAME_BASE = "@rpath";
INFOPLIST_FILE = "Target Support Files/Pods-SwiftWarplyFramework/Pods-SwiftWarplyFramework-Info.plist";
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
"@loader_path/Frameworks",
);
MACH_O_TYPE = staticlib;
MODULEMAP_FILE = "Target Support Files/Pods-SwiftWarplyFramework/Pods-SwiftWarplyFramework.modulemap";
OTHER_LDFLAGS = "";
OTHER_LIBTOOLFLAGS = "";
PODS_ROOT = "$(SRCROOT)";
PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}";
PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)";
SDKROOT = iphoneos;
SKIP_INSTALL = YES;
TARGETED_DEVICE_FAMILY = "1,2";
VALIDATE_PRODUCT = YES;
VERSIONING_SYSTEM = "apple-generic";
VERSION_INFO_PREFIX = "";
};
name = Release;
};
903A0004D3E6651EFD5D2E16214D101B /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES;
CLANG_ANALYZER_NONNULL = YES;
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
CLANG_CXX_LANGUAGE_STANDARD = "gnu++14";
CLANG_CXX_LIBRARY = "libc++";
CLANG_ENABLE_MODULES = YES;
CLANG_ENABLE_OBJC_ARC = YES;
CLANG_ENABLE_OBJC_WEAK = YES;
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
CLANG_WARN_BOOL_CONVERSION = YES;
CLANG_WARN_COMMA = YES;
CLANG_WARN_CONSTANT_CONVERSION = YES;
CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
CLANG_WARN_EMPTY_BODY = YES;
CLANG_WARN_ENUM_CONVERSION = YES;
CLANG_WARN_INFINITE_RECURSION = YES;
CLANG_WARN_INT_CONVERSION = YES;
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
CLANG_WARN_STRICT_PROTOTYPES = YES;
CLANG_WARN_SUSPICIOUS_MOVE = YES;
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
COPY_PHASE_STRIP = NO;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
ENABLE_NS_ASSERTIONS = NO;
ENABLE_STRICT_OBJC_MSGSEND = YES;
GCC_C_LANGUAGE_STANDARD = gnu11;
GCC_NO_COMMON_BLOCKS = YES;
GCC_PREPROCESSOR_DEFINITIONS = (
"POD_CONFIGURATION_RELEASE=1",
"$(inherited)",
);
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
GCC_WARN_UNDECLARED_SELECTOR = YES;
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
MTL_ENABLE_DEBUG_INFO = NO;
MTL_FAST_MATH = YES;
PRODUCT_NAME = "$(TARGET_NAME)";
STRIP_INSTALLED_PRODUCT = NO;
SWIFT_COMPILATION_MODE = wholemodule;
SWIFT_OPTIMIZATION_LEVEL = "-O";
SWIFT_VERSION = 5.0;
SYMROOT = "${SRCROOT}/../build";
};
name = Release;
};
B4EFE046ACF8F37157F6E322C7FCFC28 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES;
CLANG_ANALYZER_NONNULL = YES;
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
CLANG_CXX_LANGUAGE_STANDARD = "gnu++14";
CLANG_CXX_LIBRARY = "libc++";
CLANG_ENABLE_MODULES = YES;
CLANG_ENABLE_OBJC_ARC = YES;
CLANG_ENABLE_OBJC_WEAK = YES;
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
CLANG_WARN_BOOL_CONVERSION = YES;
CLANG_WARN_COMMA = YES;
CLANG_WARN_CONSTANT_CONVERSION = YES;
CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
CLANG_WARN_EMPTY_BODY = YES;
CLANG_WARN_ENUM_CONVERSION = YES;
CLANG_WARN_INFINITE_RECURSION = YES;
CLANG_WARN_INT_CONVERSION = YES;
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
CLANG_WARN_STRICT_PROTOTYPES = YES;
CLANG_WARN_SUSPICIOUS_MOVE = YES;
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
COPY_PHASE_STRIP = NO;
DEBUG_INFORMATION_FORMAT = dwarf;
ENABLE_STRICT_OBJC_MSGSEND = YES;
ENABLE_TESTABILITY = YES;
GCC_C_LANGUAGE_STANDARD = gnu11;
GCC_DYNAMIC_NO_PIC = NO;
GCC_NO_COMMON_BLOCKS = YES;
GCC_OPTIMIZATION_LEVEL = 0;
GCC_PREPROCESSOR_DEFINITIONS = (
"POD_CONFIGURATION_DEBUG=1",
"DEBUG=1",
"$(inherited)",
);
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
GCC_WARN_UNDECLARED_SELECTOR = YES;
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
MTL_FAST_MATH = YES;
ONLY_ACTIVE_ARCH = YES;
PRODUCT_NAME = "$(TARGET_NAME)";
STRIP_INSTALLED_PRODUCT = NO;
SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
SWIFT_VERSION = 5.0;
SYMROOT = "${SRCROOT}/../build";
};
name = Debug;
};
D25A872A3923E080CEE85E5E489F52F1 /* Debug */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = 0AB974C2109C7DBBE55E5D7D226F4EBE /* Pods-SwiftWarplyFramework.debug.xcconfig */;
buildSettings = {
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO;
CLANG_ENABLE_OBJC_WEAK = NO;
"CODE_SIGN_IDENTITY[sdk=appletvos*]" = "";
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "";
"CODE_SIGN_IDENTITY[sdk=watchos*]" = "";
CURRENT_PROJECT_VERSION = 1;
DEFINES_MODULE = YES;
DYLIB_COMPATIBILITY_VERSION = 1;
DYLIB_CURRENT_VERSION = 1;
DYLIB_INSTALL_NAME_BASE = "@rpath";
INFOPLIST_FILE = "Target Support Files/Pods-SwiftWarplyFramework/Pods-SwiftWarplyFramework-Info.plist";
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
"@loader_path/Frameworks",
);
MACH_O_TYPE = staticlib;
MODULEMAP_FILE = "Target Support Files/Pods-SwiftWarplyFramework/Pods-SwiftWarplyFramework.modulemap";
OTHER_LDFLAGS = "";
OTHER_LIBTOOLFLAGS = "";
PODS_ROOT = "$(SRCROOT)";
PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}";
PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)";
SDKROOT = iphoneos;
SKIP_INSTALL = YES;
TARGETED_DEVICE_FAMILY = "1,2";
VERSIONING_SYSTEM = "apple-generic";
VERSION_INFO_PREFIX = "";
};
name = Debug;
};
/* End XCBuildConfiguration section */
/* Begin XCConfigurationList section */
0FEBE74A1ACE6D0CCBD55530A22DA04D /* Build configuration list for PBXNativeTarget "Pods-SwiftWarplyFramework" */ = {
isa = XCConfigurationList;
buildConfigurations = (
D25A872A3923E080CEE85E5E489F52F1 /* Debug */,
8C3E239946F02EEF0EA8A796F2493F7E /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
4821239608C13582E20E6DA73FD5F1F9 /* Build configuration list for PBXProject "Pods" */ = {
isa = XCConfigurationList;
buildConfigurations = (
B4EFE046ACF8F37157F6E322C7FCFC28 /* Debug */,
903A0004D3E6651EFD5D2E16214D101B /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
/* End XCConfigurationList section */
};
rootObject = BFDFE7DC352907FC980B868725387E98 /* Project object */;
}
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1240"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES">
<BuildActionEntries>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "0779DA8BF8CD56EC67C289108B77221C"
BuildableName = "Pods_SwiftWarplyFramework.framework"
BlueprintName = "Pods-SwiftWarplyFramework"
ReferencedContainer = "container:Pods.xcodeproj">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
</BuildAction>
<TestAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES">
<Testables>
</Testables>
</TestAction>
<LaunchAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
launchStyle = "0"
useCustomWorkingDirectory = "NO"
ignoresPersistentStateOnLaunch = "NO"
debugDocumentVersioning = "YES"
debugServiceExtension = "internal"
allowLocationSimulation = "YES">
</LaunchAction>
<ProfileAction
buildConfiguration = "Release"
shouldUseLaunchSchemeArgsEnv = "YES"
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
debugDocumentVersioning = "YES">
</ProfileAction>
<AnalyzeAction
buildConfiguration = "Debug">
</AnalyzeAction>
<ArchiveAction
buildConfiguration = "Release"
revealArchiveInOrganizer = "YES">
</ArchiveAction>
</Scheme>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CFBundleExecutable</key>
<string>${EXECUTABLE_NAME}</string>
<key>CFBundleIdentifier</key>
<string>${PRODUCT_BUNDLE_IDENTIFIER}</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>${PRODUCT_NAME}</string>
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>1.0.0</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>${CURRENT_PROJECT_VERSION}</string>
<key>NSPrincipalClass</key>
<string></string>
</dict>
</plist>
# Acknowledgements
This application makes use of the following third party libraries:
Generated by CocoaPods - https://cocoapods.org
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>PreferenceSpecifiers</key>
<array>
<dict>
<key>FooterText</key>
<string>This application makes use of the following third party libraries:</string>
<key>Title</key>
<string>Acknowledgements</string>
<key>Type</key>
<string>PSGroupSpecifier</string>
</dict>
<dict>
<key>FooterText</key>
<string>Generated by CocoaPods - https://cocoapods.org</string>
<key>Title</key>
<string></string>
<key>Type</key>
<string>PSGroupSpecifier</string>
</dict>
</array>
<key>StringsTable</key>
<string>Acknowledgements</string>
<key>Title</key>
<string>Acknowledgements</string>
</dict>
</plist>
#import <Foundation/Foundation.h>
@interface PodsDummy_Pods_SwiftWarplyFramework : NSObject
@end
@implementation PodsDummy_Pods_SwiftWarplyFramework
@end
#ifdef __OBJC__
#import <UIKit/UIKit.h>
#else
#ifndef FOUNDATION_EXPORT
#if defined(__cplusplus)
#define FOUNDATION_EXPORT extern "C"
#else
#define FOUNDATION_EXPORT extern
#endif
#endif
#endif
FOUNDATION_EXPORT double Pods_SwiftWarplyFrameworkVersionNumber;
FOUNDATION_EXPORT const unsigned char Pods_SwiftWarplyFrameworkVersionString[];
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO
GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
PODS_BUILD_DIR = ${BUILD_DIR}
PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)
PODS_PODFILE_DIR_PATH = ${SRCROOT}/.
PODS_ROOT = ${SRCROOT}/Pods
PODS_XCFRAMEWORKS_BUILD_DIR = $(PODS_CONFIGURATION_BUILD_DIR)/XCFrameworkIntermediates
USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES
framework module Pods_SwiftWarplyFramework {
umbrella header "Pods-SwiftWarplyFramework-umbrella.h"
export *
module * { export * }
}
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO
GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
PODS_BUILD_DIR = ${BUILD_DIR}
PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)
PODS_PODFILE_DIR_PATH = ${SRCROOT}/.
PODS_ROOT = ${SRCROOT}/Pods
PODS_XCFRAMEWORKS_BUILD_DIR = $(PODS_CONFIGURATION_BUILD_DIR)/XCFrameworkIntermediates
USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES
......@@ -18,12 +18,12 @@
1EB5F4CA285370C90016F36E /* LoyaltyAnalysisViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1EB5F4C9285370C90016F36E /* LoyaltyAnalysisViewController.swift */; };
1EBE97212865EE460080EFF7 /* MFYInboxTableViewCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1EBE97202865EE460080EFF7 /* MFYInboxTableViewCell.swift */; };
1EBF5F072840E13F00B8B17F /* SwiftEventBus in Frameworks */ = {isa = PBXBuildFile; productRef = 1EBF5F062840E13F00B8B17F /* SwiftEventBus */; };
7630AD9A6242D60846D6750C /* Pods_SwiftWarplyFramework.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C0D5F56DD4E5371A50AD2D87 /* Pods_SwiftWarplyFramework.framework */; };
A025EA5B288B2DE600057288 /* RESegmentedControl in Frameworks */ = {isa = PBXBuildFile; productRef = A025EA5A288B2DE600057288 /* RESegmentedControl */; };
A02F34052882B6E60086465F /* TelcoViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = A02F34042882B6E60086465F /* TelcoViewController.swift */; };
A06A3BEA288B120500C8DED5 /* WarplySDKFrameworkIOS.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = A06A3BE9288B120500C8DED5 /* WarplySDKFrameworkIOS.framework */; };
A06A3BEB288B120500C8DED5 /* WarplySDKFrameworkIOS.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = A06A3BE9288B120500C8DED5 /* WarplySDKFrameworkIOS.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
E6A77853282933340045BBA8 /* SwiftWarplyFramework.docc in Sources */ = {isa = PBXBuildFile; fileRef = E6A77852282933340045BBA8 /* SwiftWarplyFramework.docc */; };
E6A77854282933340045BBA8 /* SwiftWarplyFramework.h in Headers */ = {isa = PBXBuildFile; fileRef = E6A77851282933340045BBA8 /* SwiftWarplyFramework.h */; settings = {ATTRIBUTES = (Public, ); }; };
E6A778DF282933E60045BBA8 /* WarplyReactMethods.m in Sources */ = {isa = PBXBuildFile; fileRef = E6A7785B282933E40045BBA8 /* WarplyReactMethods.m */; };
E6A778E0282933E60045BBA8 /* WarplyReactMethods.h in Headers */ = {isa = PBXBuildFile; fileRef = E6A7785C282933E40045BBA8 /* WarplyReactMethods.h */; };
E6A778E1282933E60045BBA8 /* CouponViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = E6A7785D282933E40045BBA8 /* CouponViewController.swift */; };
E6A778E2282933E60045BBA8 /* CouponsViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = E6A7785E282933E40045BBA8 /* CouponsViewController.swift */; };
E6A778E3282933E60045BBA8 /* WalletViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = E6A7785F282933E40045BBA8 /* WalletViewController.swift */; };
......@@ -31,112 +31,6 @@
E6A778E5282933E60045BBA8 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = E6A77861282933E50045BBA8 /* Main.storyboard */; };
E6A778E6282933E60045BBA8 /* MyEmptyClass.swift in Sources */ = {isa = PBXBuildFile; fileRef = E6A77862282933E50045BBA8 /* MyEmptyClass.swift */; };
E6A778E7282933E60045BBA8 /* DetailsViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = E6A77863282933E50045BBA8 /* DetailsViewController.swift */; };
E6A778E9282933E60045BBA8 /* WLNativeAdCollectionViewCell.h in Headers */ = {isa = PBXBuildFile; fileRef = E6A77867282933E50045BBA8 /* WLNativeAdCollectionViewCell.h */; };
E6A778EA282933E60045BBA8 /* WLNativeVideoTableViewCell.xib in Resources */ = {isa = PBXBuildFile; fileRef = E6A77868282933E50045BBA8 /* WLNativeVideoTableViewCell.xib */; };
E6A778EB282933E60045BBA8 /* WLNativeAdTableViewCell.h in Headers */ = {isa = PBXBuildFile; fileRef = E6A77869282933E50045BBA8 /* WLNativeAdTableViewCell.h */; };
E6A778EC282933E60045BBA8 /* WLNativeVideoTableViewCell.m in Sources */ = {isa = PBXBuildFile; fileRef = E6A7786A282933E50045BBA8 /* WLNativeVideoTableViewCell.m */; };
E6A778ED282933E60045BBA8 /* WLCustomNativeCollectionViewCell.m in Sources */ = {isa = PBXBuildFile; fileRef = E6A7786B282933E50045BBA8 /* WLCustomNativeCollectionViewCell.m */; };
E6A778EE282933E60045BBA8 /* WLNativeAdsTableMode.m in Sources */ = {isa = PBXBuildFile; fileRef = E6A7786C282933E50045BBA8 /* WLNativeAdsTableMode.m */; };
E6A778EF282933E60045BBA8 /* WLCustomNativeAdTableViewCell.h in Headers */ = {isa = PBXBuildFile; fileRef = E6A7786D282933E50045BBA8 /* WLCustomNativeAdTableViewCell.h */; };
E6A778F0282933E60045BBA8 /* WLNativeAdsCollectionMode.m in Sources */ = {isa = PBXBuildFile; fileRef = E6A7786E282933E50045BBA8 /* WLNativeAdsCollectionMode.m */; };
E6A778F1282933E60045BBA8 /* WLNativeAdTableViewCell.m in Sources */ = {isa = PBXBuildFile; fileRef = E6A7786F282933E50045BBA8 /* WLNativeAdTableViewCell.m */; };
E6A778F2282933E60045BBA8 /* WLNativeAdCollectionViewCell.m in Sources */ = {isa = PBXBuildFile; fileRef = E6A77870282933E50045BBA8 /* WLNativeAdCollectionViewCell.m */; };
E6A778F3282933E60045BBA8 /* WLNativeAdTableViewCell.xib in Resources */ = {isa = PBXBuildFile; fileRef = E6A77871282933E50045BBA8 /* WLNativeAdTableViewCell.xib */; };
E6A778F4282933E60045BBA8 /* WLNativeAdCollectionViewCell.xib in Resources */ = {isa = PBXBuildFile; fileRef = E6A77872282933E50045BBA8 /* WLNativeAdCollectionViewCell.xib */; };
E6A778F5282933E60045BBA8 /* WLCustomNativeAdTableViewCell.m in Sources */ = {isa = PBXBuildFile; fileRef = E6A77873282933E50045BBA8 /* WLCustomNativeAdTableViewCell.m */; };
E6A778F6282933E60045BBA8 /* WLNativeAdsTableMode.h in Headers */ = {isa = PBXBuildFile; fileRef = E6A77874282933E50045BBA8 /* WLNativeAdsTableMode.h */; };
E6A778F7282933E60045BBA8 /* WLCustomNativeCollectionViewCell.h in Headers */ = {isa = PBXBuildFile; fileRef = E6A77875282933E50045BBA8 /* WLCustomNativeCollectionViewCell.h */; };
E6A778F8282933E60045BBA8 /* WLNativeVideoTableViewCell.h in Headers */ = {isa = PBXBuildFile; fileRef = E6A77876282933E50045BBA8 /* WLNativeVideoTableViewCell.h */; };
E6A778F9282933E60045BBA8 /* WLNativeAdsCollectionMode.h in Headers */ = {isa = PBXBuildFile; fileRef = E6A77877282933E50045BBA8 /* WLNativeAdsCollectionMode.h */; };
E6A778FA282933E60045BBA8 /* WLBeacon.h in Headers */ = {isa = PBXBuildFile; fileRef = E6A77879282933E50045BBA8 /* WLBeacon.h */; };
E6A778FB282933E60045BBA8 /* WLBaseItem.h in Headers */ = {isa = PBXBuildFile; fileRef = E6A7787A282933E50045BBA8 /* WLBaseItem.h */; };
E6A778FC282933E60045BBA8 /* WLInboxItemViewController.h in Headers */ = {isa = PBXBuildFile; fileRef = E6A7787B282933E50045BBA8 /* WLInboxItemViewController.h */; };
E6A778FD282933E60045BBA8 /* WLInboxItem.m in Sources */ = {isa = PBXBuildFile; fileRef = E6A7787C282933E50045BBA8 /* WLInboxItem.m */; };
E6A778FE282933E60045BBA8 /* WLAPSItem.h in Headers */ = {isa = PBXBuildFile; fileRef = E6A7787D282933E50045BBA8 /* WLAPSItem.h */; };
E6A778FF282933E60045BBA8 /* WLBeacon.m in Sources */ = {isa = PBXBuildFile; fileRef = E6A7787E282933E50045BBA8 /* WLBeacon.m */; };
E6A77900282933E60045BBA8 /* WLInboxItemViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = E6A7787F282933E50045BBA8 /* WLInboxItemViewController.m */; };
E6A77901282933E60045BBA8 /* WLBaseItem.m in Sources */ = {isa = PBXBuildFile; fileRef = E6A77880282933E50045BBA8 /* WLBaseItem.m */; };
E6A77902282933E60045BBA8 /* WLInboxItem.h in Headers */ = {isa = PBXBuildFile; fileRef = E6A77881282933E50045BBA8 /* WLInboxItem.h */; };
E6A77903282933E60045BBA8 /* WLAPSItem.m in Sources */ = {isa = PBXBuildFile; fileRef = E6A77882282933E50045BBA8 /* WLAPSItem.m */; };
E6A77904282933E60045BBA8 /* WLEvent.m in Sources */ = {isa = PBXBuildFile; fileRef = E6A77883282933E50045BBA8 /* WLEvent.m */; };
E6A77905282933E60045BBA8 /* warp_white_back_button@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = E6A77885282933E50045BBA8 /* warp_white_back_button@2x.png */; };
E6A77906282933E60045BBA8 /* warp_white_forward_button.png in Resources */ = {isa = PBXBuildFile; fileRef = E6A77886282933E50045BBA8 /* warp_white_forward_button.png */; };
E6A77907282933E60045BBA8 /* warp_white_back_button.png in Resources */ = {isa = PBXBuildFile; fileRef = E6A77887282933E50045BBA8 /* warp_white_back_button.png */; };
E6A77908282933E60045BBA8 /* warp_white_close_button@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = E6A77888282933E50045BBA8 /* warp_white_close_button@2x.png */; };
E6A77909282933E60045BBA8 /* warp_white_forward_button@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = E6A77889282933E50045BBA8 /* warp_white_forward_button@2x.png */; };
E6A7790A282933E60045BBA8 /* warp_white_close_button.png in Resources */ = {isa = PBXBuildFile; fileRef = E6A7788A282933E50045BBA8 /* warp_white_close_button.png */; };
E6A7790B282933E60045BBA8 /* WLPushManager.m in Sources */ = {isa = PBXBuildFile; fileRef = E6A7788C282933E50045BBA8 /* WLPushManager.m */; };
E6A7790C282933E60045BBA8 /* WLBeaconManager.m in Sources */ = {isa = PBXBuildFile; fileRef = E6A7788D282933E50045BBA8 /* WLBeaconManager.m */; };
E6A7790D282933E60045BBA8 /* WLLocationManager.m in Sources */ = {isa = PBXBuildFile; fileRef = E6A7788E282933E50045BBA8 /* WLLocationManager.m */; };
E6A7790E282933E60045BBA8 /* WLAnalyticsManager.h in Headers */ = {isa = PBXBuildFile; fileRef = E6A7788F282933E50045BBA8 /* WLAnalyticsManager.h */; };
E6A7790F282933E60045BBA8 /* WLUserManager.h in Headers */ = {isa = PBXBuildFile; fileRef = E6A77890282933E50045BBA8 /* WLUserManager.h */; };
E6A77910282933E60045BBA8 /* WLBeaconManager.h in Headers */ = {isa = PBXBuildFile; fileRef = E6A77891282933E50045BBA8 /* WLBeaconManager.h */; };
E6A77911282933E60045BBA8 /* WLPushManager.h in Headers */ = {isa = PBXBuildFile; fileRef = E6A77892282933E50045BBA8 /* WLPushManager.h */; };
E6A77912282933E60045BBA8 /* WLAnalyticsManager.m in Sources */ = {isa = PBXBuildFile; fileRef = E6A77893282933E50045BBA8 /* WLAnalyticsManager.m */; };
E6A77913282933E60045BBA8 /* WLLocationManager.h in Headers */ = {isa = PBXBuildFile; fileRef = E6A77894282933E50045BBA8 /* WLLocationManager.h */; };
E6A77914282933E60045BBA8 /* WLUserManager.m in Sources */ = {isa = PBXBuildFile; fileRef = E6A77895282933E50045BBA8 /* WLUserManager.m */; };
E6A77915282933E60045BBA8 /* WLUtils.m in Sources */ = {isa = PBXBuildFile; fileRef = E6A77897282933E50045BBA8 /* WLUtils.m */; };
E6A77916282933E60045BBA8 /* UIViewController+WLAdditions.h in Headers */ = {isa = PBXBuildFile; fileRef = E6A77898282933E50045BBA8 /* UIViewController+WLAdditions.h */; };
E6A77917282933E60045BBA8 /* UIViewController+WLAdditions.m in Sources */ = {isa = PBXBuildFile; fileRef = E6A77899282933E50045BBA8 /* UIViewController+WLAdditions.m */; };
E6A77918282933E60045BBA8 /* WLUtils.h in Headers */ = {isa = PBXBuildFile; fileRef = E6A7789A282933E50045BBA8 /* WLUtils.h */; };
E6A77919282933E60045BBA8 /* Warply.m in Sources */ = {isa = PBXBuildFile; fileRef = E6A7789B282933E50045BBA8 /* Warply.m */; };
E6A7791A282933E60045BBA8 /* WLAPPActionHandler.m in Sources */ = {isa = PBXBuildFile; fileRef = E6A7789D282933E50045BBA8 /* WLAPPActionHandler.m */; };
E6A7791B282933E60045BBA8 /* WLSMSActionHanlder.h in Headers */ = {isa = PBXBuildFile; fileRef = E6A7789E282933E50045BBA8 /* WLSMSActionHanlder.h */; };
E6A7791C282933E60045BBA8 /* WLSMSActionHandlerDeprecated.m in Sources */ = {isa = PBXBuildFile; fileRef = E6A7789F282933E50045BBA8 /* WLSMSActionHandlerDeprecated.m */; };
E6A7791D282933E60045BBA8 /* WLSMSActionHandlerDeprecated.h in Headers */ = {isa = PBXBuildFile; fileRef = E6A778A0282933E50045BBA8 /* WLSMSActionHandlerDeprecated.h */; };
E6A7791E282933E60045BBA8 /* WLSMSActionHanlder.m in Sources */ = {isa = PBXBuildFile; fileRef = E6A778A1282933E50045BBA8 /* WLSMSActionHanlder.m */; };
E6A7791F282933E60045BBA8 /* WLAPPActionHandler.h in Headers */ = {isa = PBXBuildFile; fileRef = E6A778A2282933E50045BBA8 /* WLAPPActionHandler.h */; };
E6A77920282933E60045BBA8 /* WLGlobals.h in Headers */ = {isa = PBXBuildFile; fileRef = E6A778A3282933E50045BBA8 /* WLGlobals.h */; };
E6A77921282933E60045BBA8 /* NSString+SSToolkitAdditions.h in Headers */ = {isa = PBXBuildFile; fileRef = E6A778A6282933E50045BBA8 /* NSString+SSToolkitAdditions.h */; };
E6A77922282933E60045BBA8 /* NSData+SSToolkitAdditions.m in Sources */ = {isa = PBXBuildFile; fileRef = E6A778A7282933E50045BBA8 /* NSData+SSToolkitAdditions.m */; };
E6A77923282933E70045BBA8 /* NSData+SSToolkitAdditions.h in Headers */ = {isa = PBXBuildFile; fileRef = E6A778A8282933E50045BBA8 /* NSData+SSToolkitAdditions.h */; };
E6A77924282933E70045BBA8 /* NSString+SSToolkitAdditions.m in Sources */ = {isa = PBXBuildFile; fileRef = E6A778A9282933E50045BBA8 /* NSString+SSToolkitAdditions.m */; };
E6A77925282933E70045BBA8 /* UIProgressView+AFNetworking.m in Sources */ = {isa = PBXBuildFile; fileRef = E6A778AB282933E50045BBA8 /* UIProgressView+AFNetworking.m */; };
E6A77926282933E70045BBA8 /* UIButton+AFNetworking.h in Headers */ = {isa = PBXBuildFile; fileRef = E6A778AC282933E50045BBA8 /* UIButton+AFNetworking.h */; };
E6A77927282933E70045BBA8 /* UIRefreshControl+AFNetworking.m in Sources */ = {isa = PBXBuildFile; fileRef = E6A778AD282933E50045BBA8 /* UIRefreshControl+AFNetworking.m */; };
E6A77928282933E70045BBA8 /* UIImageView+AFNetworking.h in Headers */ = {isa = PBXBuildFile; fileRef = E6A778AE282933E50045BBA8 /* UIImageView+AFNetworking.h */; };
E6A77929282933E70045BBA8 /* AFImageDownloader.h in Headers */ = {isa = PBXBuildFile; fileRef = E6A778AF282933E50045BBA8 /* AFImageDownloader.h */; };
E6A7792A282933E70045BBA8 /* AFNetworkActivityIndicatorManager.m in Sources */ = {isa = PBXBuildFile; fileRef = E6A778B0282933E60045BBA8 /* AFNetworkActivityIndicatorManager.m */; };
E6A7792B282933E70045BBA8 /* AFAutoPurgingImageCache.h in Headers */ = {isa = PBXBuildFile; fileRef = E6A778B1282933E60045BBA8 /* AFAutoPurgingImageCache.h */; };
E6A7792C282933E70045BBA8 /* UIWebView+AFNetworking.h in Headers */ = {isa = PBXBuildFile; fileRef = E6A778B2282933E60045BBA8 /* UIWebView+AFNetworking.h */; };
E6A7792D282933E70045BBA8 /* UIActivityIndicatorView+AFNetworking.h in Headers */ = {isa = PBXBuildFile; fileRef = E6A778B3282933E60045BBA8 /* UIActivityIndicatorView+AFNetworking.h */; };
E6A7792E282933E70045BBA8 /* UIImage+AFNetworking.h in Headers */ = {isa = PBXBuildFile; fileRef = E6A778B4282933E60045BBA8 /* UIImage+AFNetworking.h */; };
E6A7792F282933E70045BBA8 /* UIProgressView+AFNetworking.h in Headers */ = {isa = PBXBuildFile; fileRef = E6A778B5282933E60045BBA8 /* UIProgressView+AFNetworking.h */; };
E6A77930282933E70045BBA8 /* UIImageView+AFNetworking.m in Sources */ = {isa = PBXBuildFile; fileRef = E6A778B6282933E60045BBA8 /* UIImageView+AFNetworking.m */; };
E6A77931282933E70045BBA8 /* UIKit+AFNetworking.h in Headers */ = {isa = PBXBuildFile; fileRef = E6A778B7282933E60045BBA8 /* UIKit+AFNetworking.h */; };
E6A77932282933E70045BBA8 /* UIRefreshControl+AFNetworking.h in Headers */ = {isa = PBXBuildFile; fileRef = E6A778B8282933E60045BBA8 /* UIRefreshControl+AFNetworking.h */; };
E6A77933282933E70045BBA8 /* UIButton+AFNetworking.m in Sources */ = {isa = PBXBuildFile; fileRef = E6A778B9282933E60045BBA8 /* UIButton+AFNetworking.m */; };
E6A77934282933E70045BBA8 /* UIActivityIndicatorView+AFNetworking.m in Sources */ = {isa = PBXBuildFile; fileRef = E6A778BA282933E60045BBA8 /* UIActivityIndicatorView+AFNetworking.m */; };
E6A77935282933E70045BBA8 /* UIWebView+AFNetworking.m in Sources */ = {isa = PBXBuildFile; fileRef = E6A778BB282933E60045BBA8 /* UIWebView+AFNetworking.m */; };
E6A77936282933E70045BBA8 /* AFAutoPurgingImageCache.m in Sources */ = {isa = PBXBuildFile; fileRef = E6A778BC282933E60045BBA8 /* AFAutoPurgingImageCache.m */; };
E6A77937282933E70045BBA8 /* AFNetworkActivityIndicatorManager.h in Headers */ = {isa = PBXBuildFile; fileRef = E6A778BD282933E60045BBA8 /* AFNetworkActivityIndicatorManager.h */; };
E6A77938282933E70045BBA8 /* AFImageDownloader.m in Sources */ = {isa = PBXBuildFile; fileRef = E6A778BE282933E60045BBA8 /* AFImageDownloader.m */; };
E6A77939282933E70045BBA8 /* AFSecurityPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = E6A778C0282933E60045BBA8 /* AFSecurityPolicy.h */; };
E6A7793A282933E70045BBA8 /* AFNetworkReachabilityManager.h in Headers */ = {isa = PBXBuildFile; fileRef = E6A778C1282933E60045BBA8 /* AFNetworkReachabilityManager.h */; };
E6A7793B282933E70045BBA8 /* AFURLSessionManager.h in Headers */ = {isa = PBXBuildFile; fileRef = E6A778C2282933E60045BBA8 /* AFURLSessionManager.h */; };
E6A7793C282933E70045BBA8 /* AFURLRequestSerialization.h in Headers */ = {isa = PBXBuildFile; fileRef = E6A778C3282933E60045BBA8 /* AFURLRequestSerialization.h */; };
E6A7793D282933E70045BBA8 /* AFURLResponseSerialization.m in Sources */ = {isa = PBXBuildFile; fileRef = E6A778C4282933E60045BBA8 /* AFURLResponseSerialization.m */; };
E6A7793E282933E70045BBA8 /* AFHTTPSessionManager.m in Sources */ = {isa = PBXBuildFile; fileRef = E6A778C5282933E60045BBA8 /* AFHTTPSessionManager.m */; };
E6A7793F282933E70045BBA8 /* AFURLResponseSerialization.h in Headers */ = {isa = PBXBuildFile; fileRef = E6A778C6282933E60045BBA8 /* AFURLResponseSerialization.h */; };
E6A77940282933E70045BBA8 /* AFURLSessionManager.m in Sources */ = {isa = PBXBuildFile; fileRef = E6A778C7282933E60045BBA8 /* AFURLSessionManager.m */; };
E6A77941282933E70045BBA8 /* AFURLRequestSerialization.m in Sources */ = {isa = PBXBuildFile; fileRef = E6A778C8282933E60045BBA8 /* AFURLRequestSerialization.m */; };
E6A77942282933E70045BBA8 /* AFNetworking.h in Headers */ = {isa = PBXBuildFile; fileRef = E6A778C9282933E60045BBA8 /* AFNetworking.h */; };
E6A77943282933E70045BBA8 /* AFNetworkReachabilityManager.m in Sources */ = {isa = PBXBuildFile; fileRef = E6A778CA282933E60045BBA8 /* AFNetworkReachabilityManager.m */; };
E6A77944282933E70045BBA8 /* AFSecurityPolicy.m in Sources */ = {isa = PBXBuildFile; fileRef = E6A778CB282933E60045BBA8 /* AFSecurityPolicy.m */; };
E6A77945282933E70045BBA8 /* AFHTTPSessionManager.h in Headers */ = {isa = PBXBuildFile; fileRef = E6A778CC282933E60045BBA8 /* AFHTTPSessionManager.h */; };
E6A77946282933E70045BBA8 /* FMDatabase.h in Headers */ = {isa = PBXBuildFile; fileRef = E6A778CE282933E60045BBA8 /* FMDatabase.h */; };
E6A77947282933E70045BBA8 /* FMDatabaseQueue.m in Sources */ = {isa = PBXBuildFile; fileRef = E6A778CF282933E60045BBA8 /* FMDatabaseQueue.m */; };
E6A77948282933E70045BBA8 /* FMResultSet.h in Headers */ = {isa = PBXBuildFile; fileRef = E6A778D0282933E60045BBA8 /* FMResultSet.h */; };
E6A77949282933E70045BBA8 /* FMDatabasePool.h in Headers */ = {isa = PBXBuildFile; fileRef = E6A778D1282933E60045BBA8 /* FMDatabasePool.h */; };
E6A7794A282933E70045BBA8 /* FMDatabaseAdditions.m in Sources */ = {isa = PBXBuildFile; fileRef = E6A778D2282933E60045BBA8 /* FMDatabaseAdditions.m */; };
E6A7794B282933E70045BBA8 /* FMDatabase.m in Sources */ = {isa = PBXBuildFile; fileRef = E6A778D3282933E60045BBA8 /* FMDatabase.m */; };
E6A7794C282933E70045BBA8 /* FMDatabaseQueue.h in Headers */ = {isa = PBXBuildFile; fileRef = E6A778D4282933E60045BBA8 /* FMDatabaseQueue.h */; };
E6A7794D282933E70045BBA8 /* FMDB.h in Headers */ = {isa = PBXBuildFile; fileRef = E6A778D5282933E60045BBA8 /* FMDB.h */; };
E6A7794E282933E70045BBA8 /* FMDatabaseAdditions.h in Headers */ = {isa = PBXBuildFile; fileRef = E6A778D6282933E60045BBA8 /* FMDatabaseAdditions.h */; };
E6A7794F282933E70045BBA8 /* FMDatabasePool.m in Sources */ = {isa = PBXBuildFile; fileRef = E6A778D7282933E60045BBA8 /* FMDatabasePool.m */; };
E6A77950282933E70045BBA8 /* FMResultSet.m in Sources */ = {isa = PBXBuildFile; fileRef = E6A778D8282933E60045BBA8 /* FMResultSet.m */; };
E6A77951282933E70045BBA8 /* WLEvent.h in Headers */ = {isa = PBXBuildFile; fileRef = E6A778D9282933E60045BBA8 /* WLEvent.h */; };
E6A77952282933E70045BBA8 /* Warply.h in Headers */ = {isa = PBXBuildFile; fileRef = E6A778DA282933E60045BBA8 /* Warply.h */; };
E6A77953282933E70045BBA8 /* MFYViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = E6A778DB282933E60045BBA8 /* MFYViewController.swift */; };
E6A77954282933E70045BBA8 /* MyApi.m in Sources */ = {isa = PBXBuildFile; fileRef = E6A778DC282933E60045BBA8 /* MyApi.m */; };
E6A77955282933E70045BBA8 /* ViewControllerExtensions.swift in Sources */ = {isa = PBXBuildFile; fileRef = E6A778DD282933E60045BBA8 /* ViewControllerExtensions.swift */; };
......@@ -148,6 +42,20 @@
E6A77A38282BC3530045BBA8 /* Media.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = E6A77A37282BC3530045BBA8 /* Media.xcassets */; };
/* End PBXBuildFile section */
/* Begin PBXCopyFilesBuildPhase section */
A06A3BEC288B120500C8DED5 /* Embed Frameworks */ = {
isa = PBXCopyFilesBuildPhase;
buildActionMask = 2147483647;
dstPath = "";
dstSubfolderSpec = 10;
files = (
A06A3BEB288B120500C8DED5 /* WarplySDKFrameworkIOS.framework in Embed Frameworks */,
);
name = "Embed Frameworks";
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXCopyFilesBuildPhase section */
/* Begin PBXFileReference section */
1E74838C28378AF40042A589 /* CouponBarcodeViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CouponBarcodeViewController.swift; sourceTree = "<group>"; };
1EA1AF092835346A008998AA /* CouponsTableViewCell.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CouponsTableViewCell.swift; sourceTree = "<group>"; };
......@@ -159,14 +67,10 @@
1EB5F4C9285370C90016F36E /* LoyaltyAnalysisViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = LoyaltyAnalysisViewController.swift; sourceTree = "<group>"; };
1EBE97202865EE460080EFF7 /* MFYInboxTableViewCell.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MFYInboxTableViewCell.swift; sourceTree = "<group>"; };
A02F34042882B6E60086465F /* TelcoViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = TelcoViewController.swift; sourceTree = "<group>"; };
A9B7BE01A4E812DE49866EF8 /* Pods-SwiftWarplyFramework.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-SwiftWarplyFramework.debug.xcconfig"; path = "Target Support Files/Pods-SwiftWarplyFramework/Pods-SwiftWarplyFramework.debug.xcconfig"; sourceTree = "<group>"; };
B9EB8A451EF0C5AD75094EEE /* Pods-SwiftWarplyFramework.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-SwiftWarplyFramework.release.xcconfig"; path = "Target Support Files/Pods-SwiftWarplyFramework/Pods-SwiftWarplyFramework.release.xcconfig"; sourceTree = "<group>"; };
C0D5F56DD4E5371A50AD2D87 /* Pods_SwiftWarplyFramework.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_SwiftWarplyFramework.framework; sourceTree = BUILT_PRODUCTS_DIR; };
A06A3BE9288B120500C8DED5 /* WarplySDKFrameworkIOS.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; path = WarplySDKFrameworkIOS.framework; sourceTree = BUILT_PRODUCTS_DIR; };
E6A7784E282933340045BBA8 /* SwiftWarplyFramework.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = SwiftWarplyFramework.framework; sourceTree = BUILT_PRODUCTS_DIR; };
E6A77851282933340045BBA8 /* SwiftWarplyFramework.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = SwiftWarplyFramework.h; sourceTree = "<group>"; };
E6A77852282933340045BBA8 /* SwiftWarplyFramework.docc */ = {isa = PBXFileReference; lastKnownFileType = folder.documentationcatalog; path = SwiftWarplyFramework.docc; sourceTree = "<group>"; };
E6A7785B282933E40045BBA8 /* WarplyReactMethods.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = WarplyReactMethods.m; sourceTree = "<group>"; };
E6A7785C282933E40045BBA8 /* WarplyReactMethods.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WarplyReactMethods.h; sourceTree = "<group>"; };
E6A7785D282933E40045BBA8 /* CouponViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = CouponViewController.swift; sourceTree = "<group>"; };
E6A7785E282933E40045BBA8 /* CouponsViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = CouponsViewController.swift; sourceTree = "<group>"; };
E6A7785F282933E40045BBA8 /* WalletViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = WalletViewController.swift; sourceTree = "<group>"; };
......@@ -175,112 +79,6 @@
E6A77862282933E50045BBA8 /* MyEmptyClass.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = MyEmptyClass.swift; sourceTree = "<group>"; };
E6A77863282933E50045BBA8 /* DetailsViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DetailsViewController.swift; sourceTree = "<group>"; };
E6A77864282933E50045BBA8 /* swiftApi.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = swiftApi.swift; sourceTree = "<group>"; };
E6A77867282933E50045BBA8 /* WLNativeAdCollectionViewCell.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WLNativeAdCollectionViewCell.h; sourceTree = "<group>"; };
E6A77868282933E50045BBA8 /* WLNativeVideoTableViewCell.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = WLNativeVideoTableViewCell.xib; sourceTree = "<group>"; };
E6A77869282933E50045BBA8 /* WLNativeAdTableViewCell.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WLNativeAdTableViewCell.h; sourceTree = "<group>"; };
E6A7786A282933E50045BBA8 /* WLNativeVideoTableViewCell.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = WLNativeVideoTableViewCell.m; sourceTree = "<group>"; };
E6A7786B282933E50045BBA8 /* WLCustomNativeCollectionViewCell.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = WLCustomNativeCollectionViewCell.m; sourceTree = "<group>"; };
E6A7786C282933E50045BBA8 /* WLNativeAdsTableMode.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = WLNativeAdsTableMode.m; sourceTree = "<group>"; };
E6A7786D282933E50045BBA8 /* WLCustomNativeAdTableViewCell.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WLCustomNativeAdTableViewCell.h; sourceTree = "<group>"; };
E6A7786E282933E50045BBA8 /* WLNativeAdsCollectionMode.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = WLNativeAdsCollectionMode.m; sourceTree = "<group>"; };
E6A7786F282933E50045BBA8 /* WLNativeAdTableViewCell.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = WLNativeAdTableViewCell.m; sourceTree = "<group>"; };
E6A77870282933E50045BBA8 /* WLNativeAdCollectionViewCell.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = WLNativeAdCollectionViewCell.m; sourceTree = "<group>"; };
E6A77871282933E50045BBA8 /* WLNativeAdTableViewCell.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = WLNativeAdTableViewCell.xib; sourceTree = "<group>"; };
E6A77872282933E50045BBA8 /* WLNativeAdCollectionViewCell.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = WLNativeAdCollectionViewCell.xib; sourceTree = "<group>"; };
E6A77873282933E50045BBA8 /* WLCustomNativeAdTableViewCell.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = WLCustomNativeAdTableViewCell.m; sourceTree = "<group>"; };
E6A77874282933E50045BBA8 /* WLNativeAdsTableMode.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WLNativeAdsTableMode.h; sourceTree = "<group>"; };
E6A77875282933E50045BBA8 /* WLCustomNativeCollectionViewCell.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WLCustomNativeCollectionViewCell.h; sourceTree = "<group>"; };
E6A77876282933E50045BBA8 /* WLNativeVideoTableViewCell.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WLNativeVideoTableViewCell.h; sourceTree = "<group>"; };
E6A77877282933E50045BBA8 /* WLNativeAdsCollectionMode.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WLNativeAdsCollectionMode.h; sourceTree = "<group>"; };
E6A77879282933E50045BBA8 /* WLBeacon.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WLBeacon.h; sourceTree = "<group>"; };
E6A7787A282933E50045BBA8 /* WLBaseItem.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WLBaseItem.h; sourceTree = "<group>"; };
E6A7787B282933E50045BBA8 /* WLInboxItemViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WLInboxItemViewController.h; sourceTree = "<group>"; };
E6A7787C282933E50045BBA8 /* WLInboxItem.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = WLInboxItem.m; sourceTree = "<group>"; };
E6A7787D282933E50045BBA8 /* WLAPSItem.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WLAPSItem.h; sourceTree = "<group>"; };
E6A7787E282933E50045BBA8 /* WLBeacon.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = WLBeacon.m; sourceTree = "<group>"; };
E6A7787F282933E50045BBA8 /* WLInboxItemViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = WLInboxItemViewController.m; sourceTree = "<group>"; };
E6A77880282933E50045BBA8 /* WLBaseItem.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = WLBaseItem.m; sourceTree = "<group>"; };
E6A77881282933E50045BBA8 /* WLInboxItem.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WLInboxItem.h; sourceTree = "<group>"; };
E6A77882282933E50045BBA8 /* WLAPSItem.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = WLAPSItem.m; sourceTree = "<group>"; };
E6A77883282933E50045BBA8 /* WLEvent.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = WLEvent.m; sourceTree = "<group>"; };
E6A77885282933E50045BBA8 /* warp_white_back_button@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "warp_white_back_button@2x.png"; sourceTree = "<group>"; };
E6A77886282933E50045BBA8 /* warp_white_forward_button.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = warp_white_forward_button.png; sourceTree = "<group>"; };
E6A77887282933E50045BBA8 /* warp_white_back_button.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = warp_white_back_button.png; sourceTree = "<group>"; };
E6A77888282933E50045BBA8 /* warp_white_close_button@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "warp_white_close_button@2x.png"; sourceTree = "<group>"; };
E6A77889282933E50045BBA8 /* warp_white_forward_button@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "warp_white_forward_button@2x.png"; sourceTree = "<group>"; };
E6A7788A282933E50045BBA8 /* warp_white_close_button.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = warp_white_close_button.png; sourceTree = "<group>"; };
E6A7788C282933E50045BBA8 /* WLPushManager.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = WLPushManager.m; sourceTree = "<group>"; };
E6A7788D282933E50045BBA8 /* WLBeaconManager.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = WLBeaconManager.m; sourceTree = "<group>"; };
E6A7788E282933E50045BBA8 /* WLLocationManager.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = WLLocationManager.m; sourceTree = "<group>"; };
E6A7788F282933E50045BBA8 /* WLAnalyticsManager.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WLAnalyticsManager.h; sourceTree = "<group>"; };
E6A77890282933E50045BBA8 /* WLUserManager.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WLUserManager.h; sourceTree = "<group>"; };
E6A77891282933E50045BBA8 /* WLBeaconManager.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WLBeaconManager.h; sourceTree = "<group>"; };
E6A77892282933E50045BBA8 /* WLPushManager.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WLPushManager.h; sourceTree = "<group>"; };
E6A77893282933E50045BBA8 /* WLAnalyticsManager.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = WLAnalyticsManager.m; sourceTree = "<group>"; };
E6A77894282933E50045BBA8 /* WLLocationManager.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WLLocationManager.h; sourceTree = "<group>"; };
E6A77895282933E50045BBA8 /* WLUserManager.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = WLUserManager.m; sourceTree = "<group>"; };
E6A77897282933E50045BBA8 /* WLUtils.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = WLUtils.m; sourceTree = "<group>"; };
E6A77898282933E50045BBA8 /* UIViewController+WLAdditions.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "UIViewController+WLAdditions.h"; sourceTree = "<group>"; };
E6A77899282933E50045BBA8 /* UIViewController+WLAdditions.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "UIViewController+WLAdditions.m"; sourceTree = "<group>"; };
E6A7789A282933E50045BBA8 /* WLUtils.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WLUtils.h; sourceTree = "<group>"; };
E6A7789B282933E50045BBA8 /* Warply.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = Warply.m; sourceTree = "<group>"; };
E6A7789D282933E50045BBA8 /* WLAPPActionHandler.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = WLAPPActionHandler.m; sourceTree = "<group>"; };
E6A7789E282933E50045BBA8 /* WLSMSActionHanlder.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WLSMSActionHanlder.h; sourceTree = "<group>"; };
E6A7789F282933E50045BBA8 /* WLSMSActionHandlerDeprecated.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = WLSMSActionHandlerDeprecated.m; sourceTree = "<group>"; };
E6A778A0282933E50045BBA8 /* WLSMSActionHandlerDeprecated.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WLSMSActionHandlerDeprecated.h; sourceTree = "<group>"; };
E6A778A1282933E50045BBA8 /* WLSMSActionHanlder.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = WLSMSActionHanlder.m; sourceTree = "<group>"; };
E6A778A2282933E50045BBA8 /* WLAPPActionHandler.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WLAPPActionHandler.h; sourceTree = "<group>"; };
E6A778A3282933E50045BBA8 /* WLGlobals.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WLGlobals.h; sourceTree = "<group>"; };
E6A778A6282933E50045BBA8 /* NSString+SSToolkitAdditions.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "NSString+SSToolkitAdditions.h"; sourceTree = "<group>"; };
E6A778A7282933E50045BBA8 /* NSData+SSToolkitAdditions.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "NSData+SSToolkitAdditions.m"; sourceTree = "<group>"; };
E6A778A8282933E50045BBA8 /* NSData+SSToolkitAdditions.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "NSData+SSToolkitAdditions.h"; sourceTree = "<group>"; };
E6A778A9282933E50045BBA8 /* NSString+SSToolkitAdditions.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "NSString+SSToolkitAdditions.m"; sourceTree = "<group>"; };
E6A778AB282933E50045BBA8 /* UIProgressView+AFNetworking.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "UIProgressView+AFNetworking.m"; sourceTree = "<group>"; };
E6A778AC282933E50045BBA8 /* UIButton+AFNetworking.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "UIButton+AFNetworking.h"; sourceTree = "<group>"; };
E6A778AD282933E50045BBA8 /* UIRefreshControl+AFNetworking.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "UIRefreshControl+AFNetworking.m"; sourceTree = "<group>"; };
E6A778AE282933E50045BBA8 /* UIImageView+AFNetworking.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "UIImageView+AFNetworking.h"; sourceTree = "<group>"; };
E6A778AF282933E50045BBA8 /* AFImageDownloader.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AFImageDownloader.h; sourceTree = "<group>"; };
E6A778B0282933E60045BBA8 /* AFNetworkActivityIndicatorManager.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = AFNetworkActivityIndicatorManager.m; sourceTree = "<group>"; };
E6A778B1282933E60045BBA8 /* AFAutoPurgingImageCache.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AFAutoPurgingImageCache.h; sourceTree = "<group>"; };
E6A778B2282933E60045BBA8 /* UIWebView+AFNetworking.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "UIWebView+AFNetworking.h"; sourceTree = "<group>"; };
E6A778B3282933E60045BBA8 /* UIActivityIndicatorView+AFNetworking.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "UIActivityIndicatorView+AFNetworking.h"; sourceTree = "<group>"; };
E6A778B4282933E60045BBA8 /* UIImage+AFNetworking.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "UIImage+AFNetworking.h"; sourceTree = "<group>"; };
E6A778B5282933E60045BBA8 /* UIProgressView+AFNetworking.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "UIProgressView+AFNetworking.h"; sourceTree = "<group>"; };
E6A778B6282933E60045BBA8 /* UIImageView+AFNetworking.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "UIImageView+AFNetworking.m"; sourceTree = "<group>"; };
E6A778B7282933E60045BBA8 /* UIKit+AFNetworking.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "UIKit+AFNetworking.h"; sourceTree = "<group>"; };
E6A778B8282933E60045BBA8 /* UIRefreshControl+AFNetworking.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "UIRefreshControl+AFNetworking.h"; sourceTree = "<group>"; };
E6A778B9282933E60045BBA8 /* UIButton+AFNetworking.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "UIButton+AFNetworking.m"; sourceTree = "<group>"; };
E6A778BA282933E60045BBA8 /* UIActivityIndicatorView+AFNetworking.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "UIActivityIndicatorView+AFNetworking.m"; sourceTree = "<group>"; };
E6A778BB282933E60045BBA8 /* UIWebView+AFNetworking.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "UIWebView+AFNetworking.m"; sourceTree = "<group>"; };
E6A778BC282933E60045BBA8 /* AFAutoPurgingImageCache.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = AFAutoPurgingImageCache.m; sourceTree = "<group>"; };
E6A778BD282933E60045BBA8 /* AFNetworkActivityIndicatorManager.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AFNetworkActivityIndicatorManager.h; sourceTree = "<group>"; };
E6A778BE282933E60045BBA8 /* AFImageDownloader.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = AFImageDownloader.m; sourceTree = "<group>"; };
E6A778C0282933E60045BBA8 /* AFSecurityPolicy.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AFSecurityPolicy.h; sourceTree = "<group>"; };
E6A778C1282933E60045BBA8 /* AFNetworkReachabilityManager.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AFNetworkReachabilityManager.h; sourceTree = "<group>"; };
E6A778C2282933E60045BBA8 /* AFURLSessionManager.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AFURLSessionManager.h; sourceTree = "<group>"; };
E6A778C3282933E60045BBA8 /* AFURLRequestSerialization.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AFURLRequestSerialization.h; sourceTree = "<group>"; };
E6A778C4282933E60045BBA8 /* AFURLResponseSerialization.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = AFURLResponseSerialization.m; sourceTree = "<group>"; };
E6A778C5282933E60045BBA8 /* AFHTTPSessionManager.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = AFHTTPSessionManager.m; sourceTree = "<group>"; };
E6A778C6282933E60045BBA8 /* AFURLResponseSerialization.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AFURLResponseSerialization.h; sourceTree = "<group>"; };
E6A778C7282933E60045BBA8 /* AFURLSessionManager.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = AFURLSessionManager.m; sourceTree = "<group>"; };
E6A778C8282933E60045BBA8 /* AFURLRequestSerialization.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = AFURLRequestSerialization.m; sourceTree = "<group>"; };
E6A778C9282933E60045BBA8 /* AFNetworking.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AFNetworking.h; sourceTree = "<group>"; };
E6A778CA282933E60045BBA8 /* AFNetworkReachabilityManager.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = AFNetworkReachabilityManager.m; sourceTree = "<group>"; };
E6A778CB282933E60045BBA8 /* AFSecurityPolicy.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = AFSecurityPolicy.m; sourceTree = "<group>"; };
E6A778CC282933E60045BBA8 /* AFHTTPSessionManager.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AFHTTPSessionManager.h; sourceTree = "<group>"; };
E6A778CE282933E60045BBA8 /* FMDatabase.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = FMDatabase.h; sourceTree = "<group>"; };
E6A778CF282933E60045BBA8 /* FMDatabaseQueue.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = FMDatabaseQueue.m; sourceTree = "<group>"; };
E6A778D0282933E60045BBA8 /* FMResultSet.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = FMResultSet.h; sourceTree = "<group>"; };
E6A778D1282933E60045BBA8 /* FMDatabasePool.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = FMDatabasePool.h; sourceTree = "<group>"; };
E6A778D2282933E60045BBA8 /* FMDatabaseAdditions.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = FMDatabaseAdditions.m; sourceTree = "<group>"; };
E6A778D3282933E60045BBA8 /* FMDatabase.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = FMDatabase.m; sourceTree = "<group>"; };
E6A778D4282933E60045BBA8 /* FMDatabaseQueue.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = FMDatabaseQueue.h; sourceTree = "<group>"; };
E6A778D5282933E60045BBA8 /* FMDB.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = FMDB.h; sourceTree = "<group>"; };
E6A778D6282933E60045BBA8 /* FMDatabaseAdditions.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = FMDatabaseAdditions.h; sourceTree = "<group>"; };
E6A778D7282933E60045BBA8 /* FMDatabasePool.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = FMDatabasePool.m; sourceTree = "<group>"; };
E6A778D8282933E60045BBA8 /* FMResultSet.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = FMResultSet.m; sourceTree = "<group>"; };
E6A778D9282933E60045BBA8 /* WLEvent.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WLEvent.h; sourceTree = "<group>"; };
E6A778DA282933E60045BBA8 /* Warply.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Warply.h; sourceTree = "<group>"; };
E6A778DB282933E60045BBA8 /* MFYViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = MFYViewController.swift; sourceTree = "<group>"; };
E6A778DC282933E60045BBA8 /* MyApi.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MyApi.m; sourceTree = "<group>"; };
E6A778DD282933E60045BBA8 /* ViewControllerExtensions.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ViewControllerExtensions.swift; sourceTree = "<group>"; };
......@@ -297,7 +95,8 @@
buildActionMask = 2147483647;
files = (
1E2966EA2837A21D00F83FAC /* RSBarcodes_Swift in Frameworks */,
7630AD9A6242D60846D6750C /* Pods_SwiftWarplyFramework.framework in Frameworks */,
A06A3BEA288B120500C8DED5 /* WarplySDKFrameworkIOS.framework in Frameworks */,
A025EA5B288B2DE600057288 /* RESegmentedControl in Frameworks */,
1EBF5F072840E13F00B8B17F /* SwiftEventBus in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
......@@ -308,26 +107,16 @@
98AD36FA62350CEABCD961A7 /* Frameworks */ = {
isa = PBXGroup;
children = (
C0D5F56DD4E5371A50AD2D87 /* Pods_SwiftWarplyFramework.framework */,
A06A3BE9288B120500C8DED5 /* WarplySDKFrameworkIOS.framework */,
);
name = Frameworks;
sourceTree = "<group>";
};
C049E0423E2B72D796B777A3 /* Pods */ = {
isa = PBXGroup;
children = (
A9B7BE01A4E812DE49866EF8 /* Pods-SwiftWarplyFramework.debug.xcconfig */,
B9EB8A451EF0C5AD75094EEE /* Pods-SwiftWarplyFramework.release.xcconfig */,
);
path = Pods;
sourceTree = "<group>";
};
E6A77844282933340045BBA8 = {
isa = PBXGroup;
children = (
E6A77850282933340045BBA8 /* SwiftWarplyFramework */,
E6A7784F282933340045BBA8 /* Products */,
C049E0423E2B72D796B777A3 /* Pods */,
98AD36FA62350CEABCD961A7 /* Frameworks */,
);
sourceTree = "<group>";
......@@ -357,7 +146,6 @@
E6A77A31282BA9C60045BBA8 /* CampaignViewController.swift */,
E6A77A33282BB3BB0045BBA8 /* ActiveGiftsViewController.swift */,
E6A77A35282BB4CB0045BBA8 /* MakeItAPresentViewController.swift */,
E6A7785A282933E40045BBA8 /* Helpers */,
E6A77861282933E50045BBA8 /* Main.storyboard */,
1EB236AA28816B680063777A /* ShareViewController.swift */,
1EB236AC28816C560063777A /* NumberPopupViewController.swift */,
......@@ -369,7 +157,6 @@
E6A77862282933E50045BBA8 /* MyEmptyClass.swift */,
E6A77864282933E50045BBA8 /* swiftApi.swift */,
E6A778DD282933E60045BBA8 /* ViewControllerExtensions.swift */,
E6A77865282933E50045BBA8 /* Warply */,
E6A77851282933340045BBA8 /* SwiftWarplyFramework.h */,
E6A77852282933340045BBA8 /* SwiftWarplyFramework.docc */,
E6A77A37282BC3530045BBA8 /* Media.xcassets */,
......@@ -377,216 +164,6 @@
path = SwiftWarplyFramework;
sourceTree = "<group>";
};
E6A7785A282933E40045BBA8 /* Helpers */ = {
isa = PBXGroup;
children = (
E6A7785B282933E40045BBA8 /* WarplyReactMethods.m */,
E6A7785C282933E40045BBA8 /* WarplyReactMethods.h */,
);
path = Helpers;
sourceTree = "<group>";
};
E6A77865282933E50045BBA8 /* Warply */ = {
isa = PBXGroup;
children = (
E6A77866282933E50045BBA8 /* nativeAds */,
E6A77878282933E50045BBA8 /* inbox */,
E6A77883282933E50045BBA8 /* WLEvent.m */,
E6A77884282933E50045BBA8 /* resources */,
E6A7788B282933E50045BBA8 /* managers */,
E6A77896282933E50045BBA8 /* foundation */,
E6A7789B282933E50045BBA8 /* Warply.m */,
E6A7789C282933E50045BBA8 /* actions */,
E6A778A3282933E50045BBA8 /* WLGlobals.h */,
E6A778A4282933E50045BBA8 /* external */,
E6A778D9282933E60045BBA8 /* WLEvent.h */,
E6A778DA282933E60045BBA8 /* Warply.h */,
);
path = Warply;
sourceTree = "<group>";
};
E6A77866282933E50045BBA8 /* nativeAds */ = {
isa = PBXGroup;
children = (
E6A77867282933E50045BBA8 /* WLNativeAdCollectionViewCell.h */,
E6A77868282933E50045BBA8 /* WLNativeVideoTableViewCell.xib */,
E6A77869282933E50045BBA8 /* WLNativeAdTableViewCell.h */,
E6A7786A282933E50045BBA8 /* WLNativeVideoTableViewCell.m */,
E6A7786B282933E50045BBA8 /* WLCustomNativeCollectionViewCell.m */,
E6A7786C282933E50045BBA8 /* WLNativeAdsTableMode.m */,
E6A7786D282933E50045BBA8 /* WLCustomNativeAdTableViewCell.h */,
E6A7786E282933E50045BBA8 /* WLNativeAdsCollectionMode.m */,
E6A7786F282933E50045BBA8 /* WLNativeAdTableViewCell.m */,
E6A77870282933E50045BBA8 /* WLNativeAdCollectionViewCell.m */,
E6A77871282933E50045BBA8 /* WLNativeAdTableViewCell.xib */,
E6A77872282933E50045BBA8 /* WLNativeAdCollectionViewCell.xib */,
E6A77873282933E50045BBA8 /* WLCustomNativeAdTableViewCell.m */,
E6A77874282933E50045BBA8 /* WLNativeAdsTableMode.h */,
E6A77875282933E50045BBA8 /* WLCustomNativeCollectionViewCell.h */,
E6A77876282933E50045BBA8 /* WLNativeVideoTableViewCell.h */,
E6A77877282933E50045BBA8 /* WLNativeAdsCollectionMode.h */,
);
path = nativeAds;
sourceTree = "<group>";
};
E6A77878282933E50045BBA8 /* inbox */ = {
isa = PBXGroup;
children = (
E6A77879282933E50045BBA8 /* WLBeacon.h */,
E6A7787A282933E50045BBA8 /* WLBaseItem.h */,
E6A7787B282933E50045BBA8 /* WLInboxItemViewController.h */,
E6A7787C282933E50045BBA8 /* WLInboxItem.m */,
E6A7787D282933E50045BBA8 /* WLAPSItem.h */,
E6A7787E282933E50045BBA8 /* WLBeacon.m */,
E6A7787F282933E50045BBA8 /* WLInboxItemViewController.m */,
E6A77880282933E50045BBA8 /* WLBaseItem.m */,
E6A77881282933E50045BBA8 /* WLInboxItem.h */,
E6A77882282933E50045BBA8 /* WLAPSItem.m */,
);
path = inbox;
sourceTree = "<group>";
};
E6A77884282933E50045BBA8 /* resources */ = {
isa = PBXGroup;
children = (
E6A77885282933E50045BBA8 /* warp_white_back_button@2x.png */,
E6A77886282933E50045BBA8 /* warp_white_forward_button.png */,
E6A77887282933E50045BBA8 /* warp_white_back_button.png */,
E6A77888282933E50045BBA8 /* warp_white_close_button@2x.png */,
E6A77889282933E50045BBA8 /* warp_white_forward_button@2x.png */,
E6A7788A282933E50045BBA8 /* warp_white_close_button.png */,
);
path = resources;
sourceTree = "<group>";
};
E6A7788B282933E50045BBA8 /* managers */ = {
isa = PBXGroup;
children = (
E6A7788C282933E50045BBA8 /* WLPushManager.m */,
E6A7788D282933E50045BBA8 /* WLBeaconManager.m */,
E6A7788E282933E50045BBA8 /* WLLocationManager.m */,
E6A7788F282933E50045BBA8 /* WLAnalyticsManager.h */,
E6A77890282933E50045BBA8 /* WLUserManager.h */,
E6A77891282933E50045BBA8 /* WLBeaconManager.h */,
E6A77892282933E50045BBA8 /* WLPushManager.h */,
E6A77893282933E50045BBA8 /* WLAnalyticsManager.m */,
E6A77894282933E50045BBA8 /* WLLocationManager.h */,
E6A77895282933E50045BBA8 /* WLUserManager.m */,
);
path = managers;
sourceTree = "<group>";
};
E6A77896282933E50045BBA8 /* foundation */ = {
isa = PBXGroup;
children = (
E6A77897282933E50045BBA8 /* WLUtils.m */,
E6A77898282933E50045BBA8 /* UIViewController+WLAdditions.h */,
E6A77899282933E50045BBA8 /* UIViewController+WLAdditions.m */,
E6A7789A282933E50045BBA8 /* WLUtils.h */,
);
path = foundation;
sourceTree = "<group>";
};
E6A7789C282933E50045BBA8 /* actions */ = {
isa = PBXGroup;
children = (
E6A7789D282933E50045BBA8 /* WLAPPActionHandler.m */,
E6A7789E282933E50045BBA8 /* WLSMSActionHanlder.h */,
E6A7789F282933E50045BBA8 /* WLSMSActionHandlerDeprecated.m */,
E6A778A0282933E50045BBA8 /* WLSMSActionHandlerDeprecated.h */,
E6A778A1282933E50045BBA8 /* WLSMSActionHanlder.m */,
E6A778A2282933E50045BBA8 /* WLAPPActionHandler.h */,
);
path = actions;
sourceTree = "<group>";
};
E6A778A4282933E50045BBA8 /* external */ = {
isa = PBXGroup;
children = (
E6A778A5282933E50045BBA8 /* sstoolkit */,
E6A778AA282933E50045BBA8 /* UIKit+AFNetworking */,
E6A778BF282933E60045BBA8 /* AFNetworking */,
E6A778CD282933E60045BBA8 /* fmdb */,
);
path = external;
sourceTree = "<group>";
};
E6A778A5282933E50045BBA8 /* sstoolkit */ = {
isa = PBXGroup;
children = (
E6A778A6282933E50045BBA8 /* NSString+SSToolkitAdditions.h */,
E6A778A7282933E50045BBA8 /* NSData+SSToolkitAdditions.m */,
E6A778A8282933E50045BBA8 /* NSData+SSToolkitAdditions.h */,
E6A778A9282933E50045BBA8 /* NSString+SSToolkitAdditions.m */,
);
path = sstoolkit;
sourceTree = "<group>";
};
E6A778AA282933E50045BBA8 /* UIKit+AFNetworking */ = {
isa = PBXGroup;
children = (
E6A778AB282933E50045BBA8 /* UIProgressView+AFNetworking.m */,
E6A778AC282933E50045BBA8 /* UIButton+AFNetworking.h */,
E6A778AD282933E50045BBA8 /* UIRefreshControl+AFNetworking.m */,
E6A778AE282933E50045BBA8 /* UIImageView+AFNetworking.h */,
E6A778AF282933E50045BBA8 /* AFImageDownloader.h */,
E6A778B0282933E60045BBA8 /* AFNetworkActivityIndicatorManager.m */,
E6A778B1282933E60045BBA8 /* AFAutoPurgingImageCache.h */,
E6A778B2282933E60045BBA8 /* UIWebView+AFNetworking.h */,
E6A778B3282933E60045BBA8 /* UIActivityIndicatorView+AFNetworking.h */,
E6A778B4282933E60045BBA8 /* UIImage+AFNetworking.h */,
E6A778B5282933E60045BBA8 /* UIProgressView+AFNetworking.h */,
E6A778B6282933E60045BBA8 /* UIImageView+AFNetworking.m */,
E6A778B7282933E60045BBA8 /* UIKit+AFNetworking.h */,
E6A778B8282933E60045BBA8 /* UIRefreshControl+AFNetworking.h */,
E6A778B9282933E60045BBA8 /* UIButton+AFNetworking.m */,
E6A778BA282933E60045BBA8 /* UIActivityIndicatorView+AFNetworking.m */,
E6A778BB282933E60045BBA8 /* UIWebView+AFNetworking.m */,
E6A778BC282933E60045BBA8 /* AFAutoPurgingImageCache.m */,
E6A778BD282933E60045BBA8 /* AFNetworkActivityIndicatorManager.h */,
E6A778BE282933E60045BBA8 /* AFImageDownloader.m */,
);
path = "UIKit+AFNetworking";
sourceTree = "<group>";
};
E6A778BF282933E60045BBA8 /* AFNetworking */ = {
isa = PBXGroup;
children = (
E6A778C0282933E60045BBA8 /* AFSecurityPolicy.h */,
E6A778C1282933E60045BBA8 /* AFNetworkReachabilityManager.h */,
E6A778C2282933E60045BBA8 /* AFURLSessionManager.h */,
E6A778C3282933E60045BBA8 /* AFURLRequestSerialization.h */,
E6A778C4282933E60045BBA8 /* AFURLResponseSerialization.m */,
E6A778C5282933E60045BBA8 /* AFHTTPSessionManager.m */,
E6A778C6282933E60045BBA8 /* AFURLResponseSerialization.h */,
E6A778C7282933E60045BBA8 /* AFURLSessionManager.m */,
E6A778C8282933E60045BBA8 /* AFURLRequestSerialization.m */,
E6A778C9282933E60045BBA8 /* AFNetworking.h */,
E6A778CA282933E60045BBA8 /* AFNetworkReachabilityManager.m */,
E6A778CB282933E60045BBA8 /* AFSecurityPolicy.m */,
E6A778CC282933E60045BBA8 /* AFHTTPSessionManager.h */,
);
path = AFNetworking;
sourceTree = "<group>";
};
E6A778CD282933E60045BBA8 /* fmdb */ = {
isa = PBXGroup;
children = (
E6A778CE282933E60045BBA8 /* FMDatabase.h */,
E6A778CF282933E60045BBA8 /* FMDatabaseQueue.m */,
E6A778D0282933E60045BBA8 /* FMResultSet.h */,
E6A778D1282933E60045BBA8 /* FMDatabasePool.h */,
E6A778D2282933E60045BBA8 /* FMDatabaseAdditions.m */,
E6A778D3282933E60045BBA8 /* FMDatabase.m */,
E6A778D4282933E60045BBA8 /* FMDatabaseQueue.h */,
E6A778D5282933E60045BBA8 /* FMDB.h */,
E6A778D6282933E60045BBA8 /* FMDatabaseAdditions.h */,
E6A778D7282933E60045BBA8 /* FMDatabasePool.m */,
E6A778D8282933E60045BBA8 /* FMResultSet.m */,
);
path = fmdb;
sourceTree = "<group>";
};
/* End PBXGroup section */
/* Begin PBXHeadersBuildPhase section */
......@@ -594,60 +171,8 @@
isa = PBXHeadersBuildPhase;
buildActionMask = 2147483647;
files = (
E6A7793B282933E70045BBA8 /* AFURLSessionManager.h in Headers */,
E6A7790E282933E60045BBA8 /* WLAnalyticsManager.h in Headers */,
E6A778EB282933E60045BBA8 /* WLNativeAdTableViewCell.h in Headers */,
E6A77952282933E70045BBA8 /* Warply.h in Headers */,
E6A7792B282933E70045BBA8 /* AFAutoPurgingImageCache.h in Headers */,
E6A778E4282933E60045BBA8 /* MyApi.h in Headers */,
E6A7791B282933E60045BBA8 /* WLSMSActionHanlder.h in Headers */,
E6A778FA282933E60045BBA8 /* WLBeacon.h in Headers */,
E6A778E0282933E60045BBA8 /* WarplyReactMethods.h in Headers */,
E6A77928282933E70045BBA8 /* UIImageView+AFNetworking.h in Headers */,
E6A778E9282933E60045BBA8 /* WLNativeAdCollectionViewCell.h in Headers */,
E6A778F7282933E60045BBA8 /* WLCustomNativeCollectionViewCell.h in Headers */,
E6A77910282933E60045BBA8 /* WLBeaconManager.h in Headers */,
E6A77913282933E60045BBA8 /* WLLocationManager.h in Headers */,
E6A77923282933E70045BBA8 /* NSData+SSToolkitAdditions.h in Headers */,
E6A77918282933E60045BBA8 /* WLUtils.h in Headers */,
E6A778EF282933E60045BBA8 /* WLCustomNativeAdTableViewCell.h in Headers */,
E6A778FE282933E60045BBA8 /* WLAPSItem.h in Headers */,
E6A7793F282933E70045BBA8 /* AFURLResponseSerialization.h in Headers */,
E6A77926282933E70045BBA8 /* UIButton+AFNetworking.h in Headers */,
E6A77921282933E60045BBA8 /* NSString+SSToolkitAdditions.h in Headers */,
E6A7794C282933E70045BBA8 /* FMDatabaseQueue.h in Headers */,
E6A778FC282933E60045BBA8 /* WLInboxItemViewController.h in Headers */,
E6A7792F282933E70045BBA8 /* UIProgressView+AFNetworking.h in Headers */,
E6A7792C282933E70045BBA8 /* UIWebView+AFNetworking.h in Headers */,
E6A778FB282933E60045BBA8 /* WLBaseItem.h in Headers */,
E6A7791F282933E60045BBA8 /* WLAPPActionHandler.h in Headers */,
E6A778F6282933E60045BBA8 /* WLNativeAdsTableMode.h in Headers */,
E6A7794D282933E70045BBA8 /* FMDB.h in Headers */,
E6A77945282933E70045BBA8 /* AFHTTPSessionManager.h in Headers */,
E6A77854282933340045BBA8 /* SwiftWarplyFramework.h in Headers */,
E6A7794E282933E70045BBA8 /* FMDatabaseAdditions.h in Headers */,
E6A77931282933E70045BBA8 /* UIKit+AFNetworking.h in Headers */,
E6A77916282933E60045BBA8 /* UIViewController+WLAdditions.h in Headers */,
E6A77911282933E60045BBA8 /* WLPushManager.h in Headers */,
E6A77920282933E60045BBA8 /* WLGlobals.h in Headers */,
E6A77937282933E70045BBA8 /* AFNetworkActivityIndicatorManager.h in Headers */,
E6A77948282933E70045BBA8 /* FMResultSet.h in Headers */,
E6A77932282933E70045BBA8 /* UIRefreshControl+AFNetworking.h in Headers */,
E6A77946282933E70045BBA8 /* FMDatabase.h in Headers */,
E6A77939282933E70045BBA8 /* AFSecurityPolicy.h in Headers */,
E6A7792D282933E70045BBA8 /* UIActivityIndicatorView+AFNetworking.h in Headers */,
E6A77949282933E70045BBA8 /* FMDatabasePool.h in Headers */,
E6A7793A282933E70045BBA8 /* AFNetworkReachabilityManager.h in Headers */,
E6A77902282933E60045BBA8 /* WLInboxItem.h in Headers */,
E6A7792E282933E70045BBA8 /* UIImage+AFNetworking.h in Headers */,
E6A77929282933E70045BBA8 /* AFImageDownloader.h in Headers */,
E6A77951282933E70045BBA8 /* WLEvent.h in Headers */,
E6A7793C282933E70045BBA8 /* AFURLRequestSerialization.h in Headers */,
E6A7790F282933E60045BBA8 /* WLUserManager.h in Headers */,
E6A778F9282933E60045BBA8 /* WLNativeAdsCollectionMode.h in Headers */,
E6A778F8282933E60045BBA8 /* WLNativeVideoTableViewCell.h in Headers */,
E6A7791D282933E60045BBA8 /* WLSMSActionHandlerDeprecated.h in Headers */,
E6A77942282933E70045BBA8 /* AFNetworking.h in Headers */,
);
runOnlyForDeploymentPostprocessing = 0;
};
......@@ -658,11 +183,11 @@
isa = PBXNativeTarget;
buildConfigurationList = E6A77857282933340045BBA8 /* Build configuration list for PBXNativeTarget "SwiftWarplyFramework" */;
buildPhases = (
30C064E49E4E7AFFB7A52D4A /* [CP] Check Pods Manifest.lock */,
E6A77849282933340045BBA8 /* Headers */,
E6A7784A282933340045BBA8 /* Sources */,
E6A7784B282933340045BBA8 /* Frameworks */,
E6A7784C282933340045BBA8 /* Resources */,
A06A3BEC288B120500C8DED5 /* Embed Frameworks */,
);
buildRules = (
);
......@@ -672,6 +197,7 @@
packageProductDependencies = (
1E2966E92837A21D00F83FAC /* RSBarcodes_Swift */,
1EBF5F062840E13F00B8B17F /* SwiftEventBus */,
A025EA5A288B2DE600057288 /* RESegmentedControl */,
);
productName = SwiftWarplyFramework;
productReference = E6A7784E282933340045BBA8 /* SwiftWarplyFramework.framework */;
......@@ -704,6 +230,7 @@
packageReferences = (
1E2966E82837A21D00F83FAC /* XCRemoteSwiftPackageReference "RSBarcodes_Swift" */,
1EBF5F052840E13F00B8B17F /* XCRemoteSwiftPackageReference "SwiftEventBus" */,
A025EA59288B2DE600057288 /* XCRemoteSwiftPackageReference "RESegmentedControl" */,
);
productRefGroup = E6A7784F282933340045BBA8 /* Products */;
projectDirPath = "";
......@@ -720,122 +247,41 @@
buildActionMask = 2147483647;
files = (
E6A778E5282933E60045BBA8 /* Main.storyboard in Resources */,
E6A778EA282933E60045BBA8 /* WLNativeVideoTableViewCell.xib in Resources */,
E6A7790A282933E60045BBA8 /* warp_white_close_button.png in Resources */,
E6A778F4282933E60045BBA8 /* WLNativeAdCollectionViewCell.xib in Resources */,
E6A778F3282933E60045BBA8 /* WLNativeAdTableViewCell.xib in Resources */,
E6A77A38282BC3530045BBA8 /* Media.xcassets in Resources */,
E6A77905282933E60045BBA8 /* warp_white_back_button@2x.png in Resources */,
E6A77908282933E60045BBA8 /* warp_white_close_button@2x.png in Resources */,
E6A77909282933E60045BBA8 /* warp_white_forward_button@2x.png in Resources */,
E6A77906282933E60045BBA8 /* warp_white_forward_button.png in Resources */,
E6A77907282933E60045BBA8 /* warp_white_back_button.png in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXResourcesBuildPhase section */
/* Begin PBXShellScriptBuildPhase section */
30C064E49E4E7AFFB7A52D4A /* [CP] Check Pods Manifest.lock */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputFileListPaths = (
);
inputPaths = (
"${PODS_PODFILE_DIR_PATH}/Podfile.lock",
"${PODS_ROOT}/Manifest.lock",
);
name = "[CP] Check Pods Manifest.lock";
outputFileListPaths = (
);
outputPaths = (
"$(DERIVED_FILE_DIR)/Pods-SwiftWarplyFramework-checkManifestLockResult.txt",
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
showEnvVarsInLog = 0;
};
/* End PBXShellScriptBuildPhase section */
/* Begin PBXSourcesBuildPhase section */
E6A7784A282933340045BBA8 /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
E6A7791E282933E60045BBA8 /* WLSMSActionHanlder.m in Sources */,
E6A778F5282933E60045BBA8 /* WLCustomNativeAdTableViewCell.m in Sources */,
1EB5F4C828536FD60016F36E /* StepsViewController.swift in Sources */,
A02F34052882B6E60086465F /* TelcoViewController.swift in Sources */,
E6A77901282933E60045BBA8 /* WLBaseItem.m in Sources */,
1E74838D28378AF40042A589 /* CouponBarcodeViewController.swift in Sources */,
E6A778F0282933E60045BBA8 /* WLNativeAdsCollectionMode.m in Sources */,
E6A7791C282933E60045BBA8 /* WLSMSActionHandlerDeprecated.m in Sources */,
E6A77934282933E70045BBA8 /* UIActivityIndicatorView+AFNetworking.m in Sources */,
E6A77A34282BB3BB0045BBA8 /* ActiveGiftsViewController.swift in Sources */,
E6A778E6282933E60045BBA8 /* MyEmptyClass.swift in Sources */,
E6A77912282933E60045BBA8 /* WLAnalyticsManager.m in Sources */,
E6A778E2282933E60045BBA8 /* CouponsViewController.swift in Sources */,
E6A77930282933E70045BBA8 /* UIImageView+AFNetworking.m in Sources */,
E6A77900282933E60045BBA8 /* WLInboxItemViewController.m in Sources */,
E6A7793E282933E70045BBA8 /* AFHTTPSessionManager.m in Sources */,
E6A77933282933E70045BBA8 /* UIButton+AFNetworking.m in Sources */,
E6A77919282933E60045BBA8 /* Warply.m in Sources */,
E6A77953282933E70045BBA8 /* MFYViewController.swift in Sources */,
E6A7794B282933E70045BBA8 /* FMDatabase.m in Sources */,
E6A778EC282933E60045BBA8 /* WLNativeVideoTableViewCell.m in Sources */,
E6A77954282933E70045BBA8 /* MyApi.m in Sources */,
E6A778F2282933E60045BBA8 /* WLNativeAdCollectionViewCell.m in Sources */,
E6A77904282933E60045BBA8 /* WLEvent.m in Sources */,
E6A77927282933E70045BBA8 /* UIRefreshControl+AFNetworking.m in Sources */,
E6A77955282933E70045BBA8 /* ViewControllerExtensions.swift in Sources */,
E6A7795A28293D390045BBA8 /* swiftApi.swift in Sources */,
E6A77935282933E70045BBA8 /* UIWebView+AFNetworking.m in Sources */,
E6A77925282933E70045BBA8 /* UIProgressView+AFNetworking.m in Sources */,
E6A77944282933E70045BBA8 /* AFSecurityPolicy.m in Sources */,
1EA1AF0A2835346A008998AA /* CouponsTableViewCell.swift in Sources */,
E6A77A32282BA9C60045BBA8 /* CampaignViewController.swift in Sources */,
E6A77917282933E60045BBA8 /* UIViewController+WLAdditions.m in Sources */,
1EA2BB792865BFE8003F2AB0 /* InboxTableViewCell.swift in Sources */,
E6A77943282933E70045BBA8 /* AFNetworkReachabilityManager.m in Sources */,
E6A77956282933E70045BBA8 /* GiftsViewController.swift in Sources */,
E6A778F1282933E60045BBA8 /* WLNativeAdTableViewCell.m in Sources */,
E6A77853282933340045BBA8 /* SwiftWarplyFramework.docc in Sources */,
E6A77938282933E70045BBA8 /* AFImageDownloader.m in Sources */,
E6A778ED282933E60045BBA8 /* WLCustomNativeCollectionViewCell.m in Sources */,
E6A7790D282933E60045BBA8 /* WLLocationManager.m in Sources */,
E6A7793D282933E70045BBA8 /* AFURLResponseSerialization.m in Sources */,
1EBE97212865EE460080EFF7 /* MFYInboxTableViewCell.swift in Sources */,
E6A778FD282933E60045BBA8 /* WLInboxItem.m in Sources */,
E6A778EE282933E60045BBA8 /* WLNativeAdsTableMode.m in Sources */,
E6A778DF282933E60045BBA8 /* WarplyReactMethods.m in Sources */,
E6A77941282933E70045BBA8 /* AFURLRequestSerialization.m in Sources */,
E6A77915282933E60045BBA8 /* WLUtils.m in Sources */,
E6A77A36282BB4CB0045BBA8 /* MakeItAPresentViewController.swift in Sources */,
E6A77947282933E70045BBA8 /* FMDatabaseQueue.m in Sources */,
E6A77922282933E60045BBA8 /* NSData+SSToolkitAdditions.m in Sources */,
1EB236AB28816B680063777A /* ShareViewController.swift in Sources */,
E6A778E7282933E60045BBA8 /* DetailsViewController.swift in Sources */,
1EB5F4CA285370C90016F36E /* LoyaltyAnalysisViewController.swift in Sources */,
E6A7794A282933E70045BBA8 /* FMDatabaseAdditions.m in Sources */,
E6A77903282933E60045BBA8 /* WLAPSItem.m in Sources */,
E6A7790B282933E60045BBA8 /* WLPushManager.m in Sources */,
E6A77950282933E70045BBA8 /* FMResultSet.m in Sources */,
E6A77936282933E70045BBA8 /* AFAutoPurgingImageCache.m in Sources */,
E6A778FF282933E60045BBA8 /* WLBeacon.m in Sources */,
E6A7791A282933E60045BBA8 /* WLAPPActionHandler.m in Sources */,
E6A778E1282933E60045BBA8 /* CouponViewController.swift in Sources */,
E6A77924282933E70045BBA8 /* NSString+SSToolkitAdditions.m in Sources */,
E6A7792A282933E70045BBA8 /* AFNetworkActivityIndicatorManager.m in Sources */,
E6A77914282933E60045BBA8 /* WLUserManager.m in Sources */,
1EB236AF28816CAC0063777A /* NumbersTableViewCell.swift in Sources */,
E6A7794F282933E70045BBA8 /* FMDatabasePool.m in Sources */,
1EB236AD28816C560063777A /* NumberPopupViewController.swift in Sources */,
E6A778E3282933E60045BBA8 /* WalletViewController.swift in Sources */,
E6A7790C282933E60045BBA8 /* WLBeaconManager.m in Sources */,
E6A77940282933E70045BBA8 /* AFURLSessionManager.m in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
......@@ -964,7 +410,6 @@
};
E6A77858282933340045BBA8 /* Debug */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = A9B7BE01A4E812DE49866EF8 /* Pods-SwiftWarplyFramework.debug.xcconfig */;
buildSettings = {
CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES = YES;
CLANG_ENABLE_MODULES = YES;
......@@ -1000,7 +445,6 @@
};
E6A77859282933340045BBA8 /* Release */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = B9EB8A451EF0C5AD75094EEE /* Pods-SwiftWarplyFramework.release.xcconfig */;
buildSettings = {
CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES = YES;
CLANG_ENABLE_MODULES = YES;
......@@ -1073,6 +517,14 @@
minimumVersion = 5.0.0;
};
};
A025EA59288B2DE600057288 /* XCRemoteSwiftPackageReference "RESegmentedControl" */ = {
isa = XCRemoteSwiftPackageReference;
repositoryURL = "https://github.com/sh-khashimov/RESegmentedControl";
requirement = {
branch = master;
kind = branch;
};
};
/* End XCRemoteSwiftPackageReference section */
/* Begin XCSwiftPackageProductDependency section */
......@@ -1086,6 +538,11 @@
package = 1EBF5F052840E13F00B8B17F /* XCRemoteSwiftPackageReference "SwiftEventBus" */;
productName = SwiftEventBus;
};
A025EA5A288B2DE600057288 /* RESegmentedControl */ = {
isa = XCSwiftPackageProductDependency;
package = A025EA59288B2DE600057288 /* XCRemoteSwiftPackageReference "RESegmentedControl" */;
productName = RESegmentedControl;
};
/* End XCSwiftPackageProductDependency section */
};
rootObject = E6A77845282933340045BBA8 /* Project object */;
......
......@@ -2,9 +2,12 @@
<Workspace
version = "1.0">
<FileRef
location = "group:/Users/montoya/workspace/warply/warply_sdk_framework/SwiftWarplyFramework/Demo/Demo.xcodeproj">
</FileRef>
<FileRef
location = "group:SwiftWarplyFramework.xcodeproj">
</FileRef>
<FileRef
location = "group:Pods/Pods.xcodeproj">
location = "group:WarplySDKFrameworkIOS/WarplySDKFrameworkIOS.xcodeproj">
</FileRef>
</Workspace>
......
{
"pins" : [
{
"identity" : "resegmentedcontrol",
"kind" : "remoteSourceControl",
"location" : "https://github.com/sh-khashimov/RESegmentedControl",
"state" : {
"branch" : "master",
"revision" : "13a170978295571099e9ff6b0ef0180dd3fece4b"
}
},
{
"identity" : "rsbarcodes_swift",
"kind" : "remoteSourceControl",
"location" : "https://github.com/yeahdongcn/RSBarcodes_Swift",
......
......@@ -7,15 +7,14 @@
#import <Foundation/Foundation.h>
#import "MyApi.h"
#import "Warply.h"
#import "WLUtils.h"
#import <WarplySDKFrameworkIOS/WarplySDKFrameworkIOS.h>
#import <SwiftWarplyFramework.h>
@implementation MyApi
NSString *WARP_PRODUCTION_BASE_URL = @"https://engage.warp.ly";
NSString *WARP_HOST = @"engage.warp.ly";
NSString *WARP_ERROR_DOMAIN = @"engage.warp.ly";
//NSString *WARP_ERROR_DOMAIN = @"engage.warp.ly";
NSString *MERCHANT_ID;
NSString *LANG;
NSDate *date;
......@@ -24,10 +23,19 @@ NSString *VERIFY_URL = @"/partners/cosmote/verify";
- (void)initialize:(NSDictionary *)launchOptions uuid:(NSString*)uuid merchantId:(NSString*)merchantId lang:(NSString*)lang{
#if (DEBUG == 1)
[Warply launchWithAppUUID:uuid launchOptions:launchOptions];
WLConfig *config = [WLConfig configWithAppUUID:uuid
merchantId:merchantId
lang:lang
baseUrl:WARP_PRODUCTION_BASE_URL
verifyUrl:VERIFY_URL];
#else
[Warply launchWithAppUUID:uuid launchOptions:launchOptions];
WLConfig *config = [WLConfig configWithAppUUID:uuid
merchantId:merchantId
lang:lang
baseUrl:WARP_PRODUCTION_BASE_URL
verifyUrl:VERIFY_URL];
#endif
[Warply launchWithConfig:config launchOptions:launchOptions];
[[Warply sharedService].pushManager registerForRemoteNotifications];
[[Warply sharedService].pushManager resetBadge];
MERCHANT_ID = merchantId;
......@@ -54,10 +62,19 @@ NSString *VERIFY_URL = @"/partners/cosmote/verify";
- (void)initializeWithCallback:(NSDictionary *)launchOptions uuid:(NSString*)uuid merchantId:(NSString*)merchantId lang:(NSString*)lang successBlock:(void(^)(NSDictionary *successBlock))success failureBlock:(void(^)(NSError *error))failure{
#if (DEBUG == 1)
[Warply launchWithAppUUIDWithCallback:uuid launchOptions:launchOptions andSuccessBlock:success andFailureBlock:failure];
WLConfig *config = [WLConfig configWithAppUUID:uuid
merchantId:merchantId
lang:lang
baseUrl:WARP_PRODUCTION_BASE_URL
verifyUrl:VERIFY_URL];
#else
[Warply launchWithAppUUIDWithCallback:uuid launchOptions:launchOptions andSuccessBlock:success andFailureBlock:failure];
WLConfig *config = [WLConfig configWithAppUUID:uuid
merchantId:merchantId
lang:lang
baseUrl:WARP_PRODUCTION_BASE_URL
verifyUrl:VERIFY_URL];
#endif
[Warply launchWithConfigWithCallback:config launchOptions:launchOptions andSuccessBlock:success andFailureBlock:failure];
[[Warply sharedService].pushManager registerForRemoteNotifications];
[[Warply sharedService].pushManager resetBadge];
MERCHANT_ID = merchantId;
......@@ -117,7 +134,6 @@ NSString *VERIFY_URL = @"/partners/cosmote/verify";
- (void) setToStage {
WARP_PRODUCTION_BASE_URL = @"https://engage-stage.warp.ly";
WARP_HOST = @"engage-stage.warp.ly";
WARP_ERROR_DOMAIN = @"engage-stage.warp.ly";
}
- (void) setLang:(NSString*) lang {
......@@ -205,7 +221,6 @@ NSString *VERIFY_URL = @"/partners/cosmote/verify";
///////////////////////////////////////////////////////////////////////////////////////////////////
- (void)applicationDidEnterBackground:(UIApplication *)application
{
[[Warply sharedService] applicationDidEnterBackground];
}
......
......@@ -5,7 +5,7 @@
// Created by Fotios Kalaitzidis on 23/10/2018.
// Copyright © 2018 Facebook. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
@interface WarplyReactMethods : NSObject
......
......@@ -10,6 +10,7 @@
#import "WLUserManager.h"
#import "WLAnalyticsManager.h"
#import "Warply.h"
#import "WLEvent.h"
#import <AdSupport/AdSupport.h>
@implementation WarplyReactMethods
......
/*
Copyright 2010-2022 Warply Inc. All rights reserved.
Redistribution and use in source and binary forms, without modification,
are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.
2. Redistributions in binaryform must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
THIS SOFTWARE IS PROVIDED BY THE WARPLY LTD ``AS IS'' AND ANY EXPRESS OR
IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
EVENT SHALL WARPLY LTD OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#import <Foundation/Foundation.h>
@interface WLConfig : NSObject
@property(nonatomic, copy, readonly, nonnull) NSString *appUUID;
@property(nonatomic, copy, readonly, nonnull) NSString *merchantId;
@property(nonatomic, copy, readonly, nonnull) NSString *baseUrl;
@property(nonatomic, copy, readonly, nonnull) NSString *verifyUrl;
@property(nonatomic, copy, readonly, nonnull) NSString *lang;
+ (nonnull instancetype)configWithAppUUID:(NSString * _Nonnull)appUUID
merchantId:(NSString * _Nonnull)merchantId
lang:(NSString * _Nonnull)lang;
+ (nonnull instancetype)configWithAppUUID:(NSString * _Nonnull)appUUID
merchantId:(NSString * _Nonnull)merchantId
lang:(NSString * _Nonnull)lang
baseUrl:(NSString * _Nonnull)baseUrl;
+ (nonnull instancetype)configWithAppUUID:(NSString * _Nonnull)appUUID
merchantId:(NSString * _Nonnull)merchantId
lang:(NSString * _Nonnull)lang
baseUrl:(NSString * _Nonnull)baseUrl
verifyUrl:(NSString * _Nonnull)verifyUrl;
- (BOOL)isValid;
@end
/*
Copyright 2010-2022 Warply Inc. All rights reserved.
Redistribution and use in source and binary forms, without modification,
are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.
2. Redistributions in binaryform must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
THIS SOFTWARE IS PROVIDED BY THE WARPLY LTD ``AS IS'' AND ANY EXPRESS OR
IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
EVENT SHALL WARPLY LTD OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#import "WLConfig.h"
#define WARP_PRODUCTION_BASE_URL @"https://engage-stage.warp.ly"
#define VERIFY_URL @"/partners/cosmote/verify"
@implementation WLConfig
#pragma mark - Static
////////////////////////////////////////////////////////////////////////////////
+ (nonnull instancetype)configWithAppUUID:(NSString * _Nonnull)appUUID
merchantId:(NSString * _Nonnull)merchantId
lang:(NSString * _Nonnull)lang
{
return [[WLConfig alloc] initWithAppUUID:appUUID
merchantId:merchantId
lang:lang
baseUrl:WARP_PRODUCTION_BASE_URL
verifyUrl:VERIFY_URL];
}
////////////////////////////////////////////////////////////////////////////////
+ (nonnull instancetype)configWithAppUUID:(NSString * _Nonnull)appUUID
merchantId:(NSString * _Nonnull)merchantId
lang:(NSString * _Nonnull)lang
baseUrl:(NSString * _Nonnull)baseUrl
{
return [[WLConfig alloc] initWithAppUUID:appUUID
merchantId:merchantId
lang:lang
baseUrl:baseUrl
verifyUrl:VERIFY_URL];
}
////////////////////////////////////////////////////////////////////////////////
+ (nonnull instancetype)configWithAppUUID:(NSString * _Nonnull)appUUID
merchantId:(NSString * _Nonnull)merchantId
lang:(NSString * _Nonnull)lang
baseUrl:(NSString * _Nonnull)baseUrl
verifyUrl:(NSString * _Nonnull)verifyUrl
{
return [[WLConfig alloc] initWithAppUUID:appUUID
merchantId:merchantId
lang:lang
baseUrl:baseUrl
verifyUrl:verifyUrl];
}
#pragma mark - Initialization
////////////////////////////////////////////////////////////////////////////////
- (nonnull instancetype)initWithAppUUID:(NSString * _Nonnull)appUUID
merchantId:(NSString * _Nonnull)merchantId
lang:(NSString * _Nonnull)lang
baseUrl:(NSString * _Nonnull)baseUrl
verifyUrl:(NSString * _Nonnull)verifyUrl
{
self = [super init];
if (self == nil) {
return nil;
}
_appUUID = appUUID;
_merchantId = merchantId;
_lang = lang;
_baseUrl = baseUrl;
_verifyUrl = verifyUrl;
return self;
}
#pragma mark - Public
////////////////////////////////////////////////////////////////////////////////
- (BOOL)isValid
{
if (_appUUID.length == 0) {
return false;
}
if (![self _isValidUUID:_appUUID]) {
return false;
}
if (_baseUrl.length == 0) {
return false;
}
if (_verifyUrl.length == 0) {
return false;
}
return true;;
}
#pragma mark - Private
////////////////////////////////////////////////////////////////////////////////
-(BOOL)_isValidUUID:(NSString *)UUIDString
{
return (bool)[[NSUUID alloc] initWithUUIDString:UUIDString];
}
@end
......@@ -25,16 +25,6 @@
///////////////////////////////////////////////////////////////////////////////
// Base URL
//#define WARP_PRODUCTION_BASE_URL @"https://engage-stage.warp.ly"
//#define WARP_HOST @"engage-stage.warp.ly"
//#define WARP_ERROR_DOMAIN @"engage-stage.warp.ly"
//#define VERIFY_URL @"/partners/cosmote/verify"
extern NSString* WARP_PRODUCTION_BASE_URL;
extern NSString* WARP_HOST;
extern NSString* WARP_ERROR_DOMAIN;
extern NSString* MERCHANT_ID;
extern NSString* LANG;
extern NSString* VERIFY_URL;
#define WARP_PAGE_URL_FORMAT @"%@/api/session/%@"
#define WARP_IMAGE_URL_FORMAT @"%@/api/session/logo/%@"
......
......@@ -33,15 +33,19 @@
*/
#import <Foundation/Foundation.h>
#import "WLGlobals.h"
#import "WLEvent.h"
#import "WLLocationManager.h"
#import "WLAnalyticsManager.h"
#import "FMDatabase.h"
#import "FMDatabaseAdditions.h"
#import "WLPushManager.h"
#import <CoreLocation/CoreLocation.h>
@class WLConfig;
@class WLEvent;
@class FMDatabase;
@class WLUserManager;
@class WLPushManager;
@class WLLocationManager;
@protocol WLActionHandler;
@protocol WLCustomPushHandler;
/// The domain for errors originating from Warply.
extern NSString * const WLErrorDomain;
/*!
@defined WL_FMDBLogError
......@@ -142,25 +146,12 @@ typedef enum {
@discussion This class method initialises the shared instance of WLAppService,
passes the launch options (if any) to managers in order to handle them and
launches the communication with Warply service using the provided unique app identification.
@param appUUID A string with the unique app identification.
@param launchOptions A dictionary with the application launch options. May be
empty if application launched by user.
*/
+ (void)launchWithAppUUID:(NSString *)appUUID launchOptions:(NSDictionary *)launchOptions;
+ (void)launchWithAppUUIDWithCallback:(NSString *)appUUID launchOptions:(NSDictionary *)launchOptions andSuccessBlock:(void (^)(NSDictionary *))success andFailureBlock:(void (^)(NSError *error))failure;
/*!
@abstract Launching the Warply service.
@discussion This class method initialises the shared instance of WLAppService,
passes the launch options (if any) to managers in order to handle them and
launches the communication with Warply service using the provided unique app identification.
@param config A config obkect containing the unique app identification.
@param launchOptions A dictionary with the application launch options. May be
empty if application launched by user.
@param appUUID A string with the unique app identification.
@param customPushDelegate an class conforming to the WLCustomPushDelegate protocol responsible for handling the push notification.
*/
+ (void)launchWithAppUUID:(NSString *)appUUID launchOptions:(NSDictionary *)launchOptions customPushHandler:(id <WLCustomPushHandler>)customPushHandler;
+ (void)launchWithAppUUIDWithCallback:(NSString *)appUUID launchOptions:(NSDictionary *)launchOptions customPushHandler:(id <WLCustomPushHandler>)customPushHandler andSuccessBlock:(void (^)(NSDictionary *))success andFailureBlock:(void (^)(NSError *error))failure;
+ (void)launchWithConfig:(WLConfig *)config launchOptions:(NSDictionary *)launchOptions;
+ (void)launchWithConfigWithCallback:(WLConfig *)config launchOptions:(NSDictionary *)launchOptions andSuccessBlock:(void (^)(NSDictionary *))success andFailureBlock:(void (^)(NSError *error))failure;
/*!
@abstract Launching the Warply service.
......@@ -169,13 +160,11 @@ typedef enum {
launches the communication with Warply service using the provided unique app identification.
@param launchOptions A dictionary with the application launch options. May be
empty if application launched by user.
@param appUUID A string with the unique app identification.
@param customPushDelegate an class conforming to the WLCustomPushDelegate protocol responsible for handling the push notification.
@param baseUrl: A NSString parameter for defining the base url.
@param config A config obkect containing the unique app identification.
@param customPushHandler an class conforming to the WLCustomPushHandler protocol responsible for handling the push notification.
*/
+ (void)launchWithAppUUID:(NSString *)appUUID launchOptions:(NSDictionary *)launchOptions customPushDelegate:(id <WLCustomPushHandler>)customPushDelegate serverBaseUrl:(NSString *)baseUrl;
+ (void)launchWithAppUUIDWithCallback:(NSString *)appUUID launchOptions:(NSDictionary *)launchOptions customPushDelegate:(id <WLCustomPushHandler>)customPushDelegate serverBaseUrl:(NSString *)baseUrl andSuccessBlock:(void (^)(NSDictionary *))success andFailureBlock:(void (^)(NSError *error))failure;
+ (void)launchWithConfig:(WLConfig *)config launchOptions:(NSDictionary *)launchOptions customPushHandler:(id <WLCustomPushHandler>)customPushHandler;
+ (void)launchWithConfigWithCallback:(WLConfig *)config launchOptions:(NSDictionary *)launchOptions customPushHandler:(id <WLCustomPushHandler>)customPushHandler andSuccessBlock:(void (^)(NSDictionary *))success andFailureBlock:(void (^)(NSError *error))failure;
/*!
@property baseURL
......@@ -184,6 +173,12 @@ typedef enum {
@property (nonatomic, readonly, copy) NSString *baseURL;
/*!
@property host
@abstract A string the host of Warply server. Read-only access.
*/
@property (nonatomic, readonly, copy) NSString *host;
/*!
@property webId
@abstract A string with the unique web id of the device.
*/
......@@ -228,7 +223,8 @@ typedef enum {
@abstract Defines macros for geeting the SDK version.
@parseOnly
*/
WL_VERSION_INTERFACE()
//WL_VERSION_INTERFACE()
+ (NSString *)get;
/*!
@methodgroup App Lifecycle Methods
......
......@@ -24,25 +24,35 @@
*/
#import "Warply.h"
#import "WLEvent.h"
#import "WLInboxItem.h"
#import "WLInboxItemViewController.h"
#import "WLUtils.h"
#import "NSString+SSToolkitAdditions.h"
#import "AFURLRequestSerialization.h"
#import "WLConfig.h"
#import "WLUserManager.h"
#import "WLPushManager.h"
//#import "AFHTTPRequestOperationManager.h"
#import "AFHTTPSessionManager.h"
#import <AdSupport/AdSupport.h>
#import "FMDatabase.h"
#import "FMDatabaseAdditions.h"
//Action handlers
#import "WLSMSActionHanlder.h"
#import "WLAPPActionHandler.h"
#import "WLBeaconManager.h"
#import "WLAnalyticsManager.h"
#import "WLLocationManager.h"
#import "WLPushManager.h"
#define DB_NAME @"NBCache.db"
#define CACHED_EVENTS_MAX_NUM 10
NSString * const WLErrorDomain = @"engage-stage.warp.ly";
// server error descriptions
#define WL_LOCATION_ACCURACY_VALUES [NSArray arrayWithObjects:[NSNumber numberWithDouble:kCLLocationAccuracyBestForNavigation], [NSNumber numberWithDouble:kCLLocationAccuracyBest], [NSNumber numberWithDouble:kCLLocationAccuracyNearestTenMeters], [NSNumber numberWithDouble:kCLLocationAccuracyHundredMeters], [NSNumber numberWithDouble:kCLLocationAccuracyKilometer], [NSNumber numberWithDouble:kCLLocationAccuracyThreeKilometers], nil]
......@@ -58,6 +68,8 @@ typedef void (^FailureResponse)(NSURLSessionDataTask * _Nullable task, NSError *
@interface Warply()
{
WLConfig *_config;
//Server
NSString *_baseURL;
......@@ -82,7 +94,7 @@ typedef void (^FailureResponse)(NSURLSessionDataTask * _Nullable task, NSError *
@property (nonatomic) AFNetworkReachabilityStatus networkStatus;
@property (nonatomic) BOOL hasChangedReachabilityStatus;
- (id)initWithApplicationUUID:(NSString *)appUUID;
- (id)initWithConfig:(WLConfig *)config;
- (BOOL)isRegistrationValid;
- (void)createDBIfNeeded;
- (void)initDBIfNeeded;
......@@ -106,8 +118,13 @@ typedef void (^FailureResponse)(NSURLSessionDataTask * _Nullable task, NSError *
}
///////////////////////////////////////////////////////////////////////////////
+ (void)launchWithAppUUID:(NSString *)appUUID launchOptions:(NSDictionary *)launchOptions customPushDelegate:(id <WLCustomPushHandler>)customPushDelegate serverBaseUrl:(NSString *)url
+ (void)launchWithConfig:(WLConfig *)config
launchOptions:(NSDictionary *)launchOptions
customPushDelegate:(id <WLCustomPushHandler>)customPushDelegate
{
NSAssert(config, @"Config cannot be null");
NSAssert([config isValid], @"Config is invalid");
//Launch Once
if (_sharedService != nil)
return;
......@@ -119,10 +136,10 @@ typedef void (^FailureResponse)(NSURLSessionDataTask * _Nullable task, NSError *
#endif
//Load Configuration
NSAssert(![appUUID containsString:@"Insert your"] && [appUUID length] > 0, @"WARPLY: You have not inserted your %@ app UUID!", mode);
NSAssert(![config.appUUID containsString:@"Insert your"] && [config.appUUID length] > 0, @"WARPLY: You have not inserted your %@ app UUID!", mode);
_sharedService = [[Warply alloc] initWithApplicationUUID:appUUID];
_sharedService.baseURL = url;
_sharedService = [[Warply alloc] initWithConfig:config];
_sharedService.baseURL = config.baseUrl;
if ([_sharedService isRegistrationValid] == NO) {
[_sharedService.pendingOperationsQueue setSuspended:YES];
......@@ -147,8 +164,15 @@ typedef void (^FailureResponse)(NSURLSessionDataTask * _Nullable task, NSError *
}
///////////////////////////////////////////////////////////////////////////////
+ (void)launchWithAppUUIDWithCallback:(NSString *)appUUID launchOptions:(NSDictionary *)launchOptions customPushDelegate:(id <WLCustomPushHandler>)customPushDelegate serverBaseUrl:(NSString *)url andSuccessBlock:(void (^)(NSDictionary *))success andFailureBlock:(void (^)(NSError *error))failure
+ (void)launchWithConfigWithCallback:(WLConfig *)config
launchOptions:(NSDictionary *)launchOptions
customPushDelegate:(id <WLCustomPushHandler>)customPushDelegate
andSuccessBlock:(void (^)(NSDictionary *))success
andFailureBlock:(void (^)(NSError *error))failure
{
NSAssert(config, @"Config cannot be null");
NSAssert([config isValid], @"Config is invalid");
//Launch Once
if (_sharedService != nil) {
// TODO: Maybe add failure callback here? - msg: "already launched"
......@@ -162,10 +186,10 @@ typedef void (^FailureResponse)(NSURLSessionDataTask * _Nullable task, NSError *
#endif
//Load Configuration
NSAssert(![appUUID containsString:@"Insert your"] && [appUUID length] > 0, @"WARPLY: You have not inserted your %@ app UUID!", mode);
NSAssert(![config.appUUID containsString:@"Insert your"] && [config.appUUID length] > 0, @"WARPLY: You have not inserted your %@ app UUID!", mode);
_sharedService = [[Warply alloc] initWithApplicationUUID:appUUID];
_sharedService.baseURL = url;
_sharedService = [[Warply alloc] initWithConfig:config];
_sharedService.baseURL = config.baseUrl;
if ([_sharedService isRegistrationValid] == NO) {
[_sharedService.pendingOperationsQueue setSuspended:YES];
......@@ -196,43 +220,40 @@ typedef void (^FailureResponse)(NSURLSessionDataTask * _Nullable task, NSError *
}
///////////////////////////////////////////////////////////////////////////////
+ (void)launchWithAppUUID:(NSString *)appUUID launchOptions:(NSDictionary *)launchOptions
{
[self launchWithAppUUID:appUUID launchOptions:launchOptions customPushHandler:nil];
}
///////////////////////////////////////////////////////////////////////////////
+ (void)launchWithAppUUIDWithCallback:(NSString *)appUUID launchOptions:(NSDictionary *)launchOptions andSuccessBlock:(void (^)(NSDictionary *))success andFailureBlock:(void (^)(NSError *error))failure
+ (void)launchWithConfig:(WLConfig *)config launchOptions:(NSDictionary *)launchOptions
{
[self launchWithAppUUIDWithCallback:appUUID launchOptions:launchOptions customPushHandler:nil andSuccessBlock:success andFailureBlock:failure];
[self launchWithConfig:config launchOptions:launchOptions customPushHandler:nil];
}
///////////////////////////////////////////////////////////////////////////////
+ (void)launchWithAppUUID:(NSString *)appUUID launchOptions:(NSDictionary *)launchOptions customPushHandler:(id <WLCustomPushHandler>)customPushDelegate
+ (void)launchWithConfigDWithCallback:(WLConfig *)config
launchOptions:(NSDictionary *)launchOptions
andSuccessBlock:(void (^)(NSDictionary *))success
andFailureBlock:(void (^)(NSError *error))failure
{
[self launchWithAppUUID:appUUID launchOptions:launchOptions customPushDelegate:customPushDelegate serverBaseUrl:WARP_PRODUCTION_BASE_URL];
[self launchWithConfigWithCallback:config launchOptions:launchOptions customPushHandler:nil andSuccessBlock:success andFailureBlock:failure];
}
///////////////////////////////////////////////////////////////////////////////
+ (void)launchWithAppUUIDWithCallback:(NSString *)appUUID launchOptions:(NSDictionary *)launchOptions customPushHandler:(id <WLCustomPushHandler>)customPushDelegate andSuccessBlock:(void (^)(NSDictionary *))success andFailureBlock:(void (^)(NSError *error))failure
+ (void)launchWithConfig:(WLConfig *)config launchOptions:(NSDictionary *)launchOptions customPushHandler:(id <WLCustomPushHandler>)customPushDelegate
{
[self launchWithAppUUIDWithCallback:appUUID launchOptions:launchOptions customPushDelegate:customPushDelegate serverBaseUrl:WARP_PRODUCTION_BASE_URL andSuccessBlock:success andFailureBlock:failure];
[self launchWithConfig:config launchOptions:launchOptions customPushDelegate:customPushDelegate];
}
#pragma mark - Initialization
///////////////////////////////////////////////////////////////////////////////
- (id)initWithApplicationUUID:(NSString *)appUUID
- (id)initWithConfig:(WLConfig *)config
{
self = [super init];
if (self) {
_config = config;
_hasChangedReachabilityStatus = NO;
_pushManager = [[WLPushManager alloc] init];
_locationManager = [[WLLocationManager alloc] init];
_actionHandlers = [[NSMutableArray alloc] init];
_smsActionHandler = [[WLSMSActionHanlder alloc] init];
_appActionHandler = [[WLAPPActionHandler alloc] init];
// _httpClient = [[AFHTTPClient alloc] initWithBaseURL:[NSURL URLWithString:WARP_PRODUCTION_BASE_URL]];
_httpClient = [[AFHTTPSessionManager alloc] initWithBaseURL:[NSURL URLWithString:WARP_PRODUCTION_BASE_URL]];
_httpClient = [[AFHTTPSessionManager alloc] initWithBaseURL:[NSURL URLWithString:config.baseUrl]];
//Register Action handlers
[self registerActionHandler:self.smsActionHandler];
......@@ -242,8 +263,8 @@ typedef void (^FailureResponse)(NSURLSessionDataTask * _Nullable task, NSError *
[self initDBIfNeeded];
[self restore];
NSUserDefaults *defaults = [NSUserDefaults standardUserDefaults];
if ([_appUUID isEqualToString:appUUID] == NO) {
self.appUUID = appUUID;
if ([_appUUID isEqualToString:config.appUUID] == NO) {
self.appUUID = config.appUUID;
self.apiKey = nil;
self.webId = nil;
[defaults setBool:YES forKey:@"NBAPPUuidChanged"];
......@@ -258,6 +279,13 @@ typedef void (^FailureResponse)(NSURLSessionDataTask * _Nullable task, NSError *
#pragma mark - Properties
///////////////////////////////////////////////////////////////////////////////
- (NSString *)host
{
NSURL *url = [NSURL URLWithString:_baseURL];
return url.host;
}
///////////////////////////////////////////////////////////////////////////////
- (void)setAppUUID:(NSString *)anAppUUID
{
if (_apiKey == anAppUUID)
......@@ -415,6 +443,16 @@ WL_VERSION_IMPLEMENTATION(WL_VERSION)
#pragma mark - Application Lifecycle
///////////////////////////////////////////////////////////////////////////////
- (void)applicationDidEnterBackground
{
[self.locationManager applicationDidEnterBackground];
[WLAnalyticsManager logAppDidEnterBackgroundEvent];
[self calculateNetworkReachabilityStatisticsForStatus:self.networkStatus];
[_db executeUpdate:@"PRAGMA shrink_memory"];
WL_FMDBLogError
}
///////////////////////////////////////////////////////////////////////////////
- (void)applicationWillEnterForeground
{
[WLAnalyticsManager logAppWillEnterForegroundEvent];
......@@ -446,16 +484,6 @@ WL_VERSION_IMPLEMENTATION(WL_VERSION)
[self calculateNetworkReachabilityStatisticsForStatus:self.networkStatus];
}
///////////////////////////////////////////////////////////////////////////////
- (void)applicationDidEnterBackground
{
[self.locationManager applicationDidEnterBackground];
[WLAnalyticsManager logAppDidEnterBackgroundEvent];
[self calculateNetworkReachabilityStatisticsForStatus:self.networkStatus];
[_db executeUpdate:@"PRAGMA shrink_memory"];
WL_FMDBLogError
}
#pragma mark - Inbox
///////////////////////////////////////////////////////////////////////////////
- (BOOL)getInboxWithSuccessBlock:(void (^)(NSArray *list))success failureBlock:(void (^)(NSError *error))failure
......@@ -642,7 +670,7 @@ WL_VERSION_IMPLEMENTATION(WL_VERSION)
}
NSDictionary *postDictionary = @{@"products": @{@"language": LANG,@"merchant_id": MERCHANT_ID, @"filters": @{@"category_name": filter}, @"action": @"get_all_multilingual"}};
NSDictionary *postDictionary = @{@"products": @{@"language": _config.lang,@"merchant_id": _config.merchantId, @"filters": @{@"category_name": filter}, @"action": @"get_all_multilingual"}};
NSData *jsonData = [NSJSONSerialization dataWithJSONObject:postDictionary options:0 error:NULL];
[self sendContext:jsonData successBlock:^(NSDictionary *contextResponse) {
if (success) {
......@@ -679,7 +707,7 @@ WL_VERSION_IMPLEMENTATION(WL_VERSION)
category = @"";
}
NSDictionary *postDictionary = @{@"content": @{@"language": LANG, @"category": category, @"tags": tags, @"action": @"retrieve_multilingual"}};
NSDictionary *postDictionary = @{@"content": @{@"language": _config.lang, @"category": category, @"tags": tags, @"action": @"retrieve_multilingual"}};
NSData *jsonData = [NSJSONSerialization dataWithJSONObject:postDictionary options:0 error:NULL];
[self sendContext:jsonData successBlock:^(NSDictionary *contextResponse) {
if (success) {
......@@ -696,7 +724,7 @@ WL_VERSION_IMPLEMENTATION(WL_VERSION)
- (void)getMerchantCategoriesWithSuccessBlock:(void(^)(NSMutableArray *params)) success failureBlock:(void(^)(NSError *error))failure
{
NSDictionary *postDictionary = @{@"shops": @{@"language": LANG, @"action": @"retrieve_categories"}};
NSDictionary *postDictionary = @{@"shops": @{@"language": _config.lang, @"action": @"retrieve_categories"}};
NSData *jsonData = [NSJSONSerialization dataWithJSONObject:postDictionary options:0 error:NULL];
[self sendContext:jsonData successBlock:^(NSDictionary *contextResponse) {
if (success) {
......@@ -730,7 +758,7 @@ WL_VERSION_IMPLEMENTATION(WL_VERSION)
- (void)getTagsCategoriesWithSuccessBlock :(void(^)(NSMutableArray *tagsCategories))success failureBlock:(void(^)(NSError *error))failure
{
NSDictionary *postDictionary = @{@"tags": @{@"action": @"retrieve_multilingual_categories", @"language": LANG, @"active": @YES}};
NSDictionary *postDictionary = @{@"tags": @{@"action": @"retrieve_multilingual_categories", @"language": _config.lang, @"active": @YES}};
NSData *jsonData = [NSJSONSerialization dataWithJSONObject:postDictionary options:0 error:NULL];
[self sendContext:jsonData successBlock:^(NSDictionary *contextResponse) {
if (success) {
......@@ -747,7 +775,7 @@ WL_VERSION_IMPLEMENTATION(WL_VERSION)
- (void)getTagsWithSuccessBlock :(void(^)(NSMutableArray *tags))success failureBlock:(void(^)(NSError *error))failure
{
NSDictionary *postDictionary = @{@"tags": @{@"action": @"retrieve_multilingual", @"language": LANG, @"active": @YES}};
NSDictionary *postDictionary = @{@"tags": @{@"action": @"retrieve_multilingual", @"language": _config.lang, @"active": @YES}};
NSData *jsonData = [NSJSONSerialization dataWithJSONObject:postDictionary options:0 error:NULL];
[self sendContext:jsonData successBlock:^(NSDictionary *contextResponse) {
if (success) {
......@@ -1841,7 +1869,7 @@ WL_VERSION_IMPLEMENTATION(WL_VERSION)
- (void)redeemCouponWithSuccessBlock:(NSString*)id andUuid:(NSString*)uuid :(void(^)(NSDictionary *response))success failureBlock:(void(^)(NSError *error))failure
{
NSDictionary *postDictionary = @{@"transactions": @{@"action": @"vcurrency_purchase", @"cause": @"coupon", @"merchant_id": MERCHANT_ID, @"product_id": id, @"product_uuid": uuid}};
NSDictionary *postDictionary = @{@"transactions": @{@"action": @"vcurrency_purchase", @"cause": @"coupon", @"merchant_id": _config.merchantId, @"product_id": id, @"product_uuid": uuid}};
NSData *jsonData = [NSJSONSerialization dataWithJSONObject:postDictionary options:0 error:NULL];
[self sendContext8:jsonData successBlock:^(NSDictionary *contextResponse) {
if (success) {
......@@ -1972,7 +2000,7 @@ WL_VERSION_IMPLEMENTATION(WL_VERSION)
[data setValue:@YES forKey:@"active"];
[data setValue:@"retrieve_multilingual" forKey:@"action"];
[data setValue:categories forKey:@"categories"];
[data setValue:LANG forKey:@"language"];
[data setValue:_config.lang forKey:@"language"];
if (defaultShown && [defaultShown isEqual:@YES]) {
[data setValue:@YES forKey:@"default_shown"];
} else {
......@@ -2020,7 +2048,7 @@ WL_VERSION_IMPLEMENTATION(WL_VERSION)
[data setValue:active forKey:@"active"];
[data setValue:@"retrieve_multilingual" forKey:@"action"];
[data setValue:visible forKey:@"visible"];
[data setValue:LANG forKey:@"language"];
[data setValue:_config.lang forKey:@"language"];
if (uuids && [uuids count] > 0) {
[data setValue:uuids forKey:@"uuids"];
}
......@@ -2363,7 +2391,7 @@ WL_VERSION_IMPLEMENTATION(WL_VERSION)
double lon = coordinates.longitude;
if (lat < -90 || lat > 90 || lon < -180 || lon > 180) {
if (failure) {
NSError *error = [NSError errorWithDomain:WARP_ERROR_DOMAIN code:1024 userInfo:@{NSLocalizedDescriptionKey: NSLocalizedString(@"The coordinates you provided are invalid", @"Warply")}];
NSError *error = [NSError errorWithDomain:WLErrorDomain code:1024 userInfo:@{NSLocalizedDescriptionKey: NSLocalizedString(@"The coordinates you provided are invalid", @"Warply")}];
failure(error);
}
}
......@@ -2400,7 +2428,7 @@ WL_VERSION_IMPLEMENTATION(WL_VERSION)
{
if (self.locationManager.locationManager.location == nil) {
if (failure) {
NSError *error = [NSError errorWithDomain:WARP_ERROR_DOMAIN code:1025 userInfo:@{NSLocalizedDescriptionKey: NSLocalizedString(@"No location available.", @"Warply")}];
NSError *error = [NSError errorWithDomain:WLErrorDomain code:1025 userInfo:@{NSLocalizedDescriptionKey: NSLocalizedString(@"No location available.", @"Warply")}];
failure(error);
}
}
......@@ -2432,7 +2460,7 @@ WL_VERSION_IMPLEMENTATION(WL_VERSION)
success([[mapOfferMA valueForKey:@"count"] intValue], [[mapOfferMA valueForKey:@"new"] intValue], [[mapOfferMA valueForKey:@"unread"] intValue]);
}else{
NSError *error = [NSError errorWithDomain:WARP_ERROR_DOMAIN code:1026 userInfo:@{NSLocalizedDescriptionKey: NSLocalizedString(@"No offers", @"Warply")}];
NSError *error = [NSError errorWithDomain:WLErrorDomain code:1026 userInfo:@{NSLocalizedDescriptionKey: NSLocalizedString(@"No offers", @"Warply")}];
if (failure) {
failure(error);
}
......@@ -3404,7 +3432,7 @@ CGFloat DistanceBetweenTwoPoints(CGPoint point1,CGPoint point2)
// NSString *errorDescrition = (status <= [WLResultCodesDescriptions count]) && status > 0 ? (WLResultCodesDescriptions[(status-1)]) : ([NSString stringWithFormat:@"Internal WARP Server error %d", status]);
//
// NSDictionary *eDict = @{NSLocalizedDescriptionKey: errorDescrition};
// NSError *error = [NSError errorWithDomain:WARP_ERROR_DOMAIN code:status userInfo:eDict];
// NSError *error = [NSError errorWithDomain:WLErrorDomain code:status userInfo:eDict];
//
// if (failureBlock)
// failureBlock(error);
......@@ -3424,7 +3452,7 @@ CGFloat DistanceBetweenTwoPoints(CGPoint point1,CGPoint point2)
}else{
NSError *error = [NSError errorWithDomain:WARP_ERROR_DOMAIN code:1026 userInfo:@{NSLocalizedDescriptionKey: NSLocalizedString(@"Empty response", @"Warply")}];
NSError *error = [NSError errorWithDomain:WLErrorDomain code:1026 userInfo:@{NSLocalizedDescriptionKey: NSLocalizedString(@"Empty response", @"Warply")}];
if (failureBlock)
failureBlock(error);
......@@ -3528,7 +3556,7 @@ CGFloat DistanceBetweenTwoPoints(CGPoint point1,CGPoint point2)
}else{
NSError *error = [NSError errorWithDomain:WARP_ERROR_DOMAIN code:1026 userInfo:@{NSLocalizedDescriptionKey: NSLocalizedString(@"Empty response", @"Warply")}];
NSError *error = [NSError errorWithDomain:WLErrorDomain code:1026 userInfo:@{NSLocalizedDescriptionKey: NSLocalizedString(@"Empty response", @"Warply")}];
if (failureBlock)
failureBlock(error);
......@@ -3636,7 +3664,7 @@ CGFloat DistanceBetweenTwoPoints(CGPoint point1,CGPoint point2)
}else{
NSError *error = [NSError errorWithDomain:WARP_ERROR_DOMAIN code:1026 userInfo:@{NSLocalizedDescriptionKey: NSLocalizedString(@"Empty response", @"Warply")}];
NSError *error = [NSError errorWithDomain:WLErrorDomain code:1026 userInfo:@{NSLocalizedDescriptionKey: NSLocalizedString(@"Empty response", @"Warply")}];
if (failureBlock)
failureBlock(error);
......@@ -3742,7 +3770,7 @@ CGFloat DistanceBetweenTwoPoints(CGPoint point1,CGPoint point2)
// NSString *errorDescrition = (status <= [WLResultCodesDescriptions count]) && status > 0 ? (WLResultCodesDescriptions[(status-1)]) : ([NSString stringWithFormat:@"Internal WARP Server error %d", status]);
//
// NSDictionary *eDict = @{NSLocalizedDescriptionKey: errorDescrition};
// NSError *error = [NSError errorWithDomain:WARP_ERROR_DOMAIN code:status userInfo:eDict];
// NSError *error = [NSError errorWithDomain:WLErrorDomain code:status userInfo:eDict];
//
// if (failureBlock)
// failureBlock(error);
......@@ -3762,7 +3790,7 @@ CGFloat DistanceBetweenTwoPoints(CGPoint point1,CGPoint point2)
}else{
NSError *error = [NSError errorWithDomain:WARP_ERROR_DOMAIN code:1026 userInfo:@{NSLocalizedDescriptionKey: NSLocalizedString(@"Empty response", @"Warply")}];
NSError *error = [NSError errorWithDomain:WLErrorDomain code:1026 userInfo:@{NSLocalizedDescriptionKey: NSLocalizedString(@"Empty response", @"Warply")}];
if (failureBlock)
failureBlock(error);
......@@ -3868,7 +3896,7 @@ CGFloat DistanceBetweenTwoPoints(CGPoint point1,CGPoint point2)
// NSString *errorDescrition = (status <= [WLResultCodesDescriptions count]) && status > 0 ? (WLResultCodesDescriptions[(status-1)]) : ([NSString stringWithFormat:@"Internal WARP Server error %d", status]);
//
// NSDictionary *eDict = @{NSLocalizedDescriptionKey: errorDescrition};
// NSError *error = [NSError errorWithDomain:WARP_ERROR_DOMAIN code:status userInfo:eDict];
// NSError *error = [NSError errorWithDomain:WLErrorDomain code:status userInfo:eDict];
//
// if (failureBlock)
// failureBlock(error);
......@@ -3888,7 +3916,7 @@ CGFloat DistanceBetweenTwoPoints(CGPoint point1,CGPoint point2)
}else{
NSError *error = [NSError errorWithDomain:WARP_ERROR_DOMAIN code:1026 userInfo:@{NSLocalizedDescriptionKey: NSLocalizedString(@"Empty response", @"Warply")}];
NSError *error = [NSError errorWithDomain:WLErrorDomain code:1026 userInfo:@{NSLocalizedDescriptionKey: NSLocalizedString(@"Empty response", @"Warply")}];
if (failureBlock)
failureBlock(error);
......@@ -4002,7 +4030,7 @@ CGFloat DistanceBetweenTwoPoints(CGPoint point1,CGPoint point2)
// NSString *errorDescrition = (status <= [WLResultCodesDescriptions count]) && status > 0 ? (WLResultCodesDescriptions[(status-1)]) : ([NSString stringWithFormat:@"Internal WARP Server error %d", status]);
//
// NSDictionary *eDict = @{NSLocalizedDescriptionKey: errorDescrition};
// NSError *error = [NSError errorWithDomain:WARP_ERROR_DOMAIN code:status userInfo:eDict];
// NSError *error = [NSError errorWithDomain:WLErrorDomain code:status userInfo:eDict];
//
// if (failureBlock)
// failureBlock(error);
......@@ -4022,7 +4050,7 @@ CGFloat DistanceBetweenTwoPoints(CGPoint point1,CGPoint point2)
}else{
NSError *error = [NSError errorWithDomain:WARP_ERROR_DOMAIN code:1026 userInfo:@{NSLocalizedDescriptionKey: NSLocalizedString(@"Empty response", @"Warply")}];
NSError *error = [NSError errorWithDomain:WLErrorDomain code:1026 userInfo:@{NSLocalizedDescriptionKey: NSLocalizedString(@"Empty response", @"Warply")}];
if (failureBlock)
failureBlock(error);
......@@ -4136,7 +4164,7 @@ CGFloat DistanceBetweenTwoPoints(CGPoint point1,CGPoint point2)
// NSString *errorDescrition = (status <= [WLResultCodesDescriptions count]) && status > 0 ? (WLResultCodesDescriptions[(status-1)]) : ([NSString stringWithFormat:@"Internal WARP Server error %d", status]);
//
// NSDictionary *eDict = @{NSLocalizedDescriptionKey: errorDescrition};
// NSError *error = [NSError errorWithDomain:WARP_ERROR_DOMAIN code:status userInfo:eDict];
// NSError *error = [NSError errorWithDomain:WLErrorDomain code:status userInfo:eDict];
//
// if (failureBlock)
// failureBlock(error);
......@@ -4156,7 +4184,7 @@ CGFloat DistanceBetweenTwoPoints(CGPoint point1,CGPoint point2)
}else{
NSError *error = [NSError errorWithDomain:WARP_ERROR_DOMAIN code:1026 userInfo:@{NSLocalizedDescriptionKey: NSLocalizedString(@"Empty response", @"Warply")}];
NSError *error = [NSError errorWithDomain:WLErrorDomain code:1026 userInfo:@{NSLocalizedDescriptionKey: NSLocalizedString(@"Empty response", @"Warply")}];
if (failureBlock)
failureBlock(error);
......@@ -4471,7 +4499,7 @@ CGFloat DistanceBetweenTwoPoints(CGPoint point1,CGPoint point2)
failureBlock:(void (^)(NSError *error))failureBlock
{
//Create REQUEST
NSMutableString *urlString = [NSMutableString stringWithFormat:@"%@%@", _baseURL, VERIFY_URL]; // /partners/cosmote/verify
NSMutableString *urlString = [NSMutableString stringWithFormat:@"%@%@", _baseURL, _config.verifyUrl]; // /partners/cosmote/verify
WLLOG(@"[WARP Trace] HTTP URL: %@", urlString);
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:urlString] cachePolicy:NSURLRequestReloadIgnoringLocalCacheData timeoutInterval:100];
......@@ -4722,7 +4750,7 @@ CGFloat DistanceBetweenTwoPoints(CGPoint point1,CGPoint point2)
NSString *errorDescrition = (status <= [WLResultCodesDescriptions count]) && status > 0 ? (WLResultCodesDescriptions[(status-1)]) : ([NSString stringWithFormat:@"Internal WARP Server error %d", status]);
NSDictionary *eDict = @{NSLocalizedDescriptionKey: errorDescrition};
NSError *error = [NSError errorWithDomain:WARP_ERROR_DOMAIN code:status userInfo:eDict];
NSError *error = [NSError errorWithDomain:WLErrorDomain code:status userInfo:eDict];
if (failureBlock)
failureBlock(error);
......@@ -4742,7 +4770,7 @@ CGFloat DistanceBetweenTwoPoints(CGPoint point1,CGPoint point2)
}else{
NSError *error = [NSError errorWithDomain:WARP_ERROR_DOMAIN code:1026 userInfo:@{NSLocalizedDescriptionKey: NSLocalizedString(@"Empty response", @"Warply")}];
NSError *error = [NSError errorWithDomain:WLErrorDomain code:1026 userInfo:@{NSLocalizedDescriptionKey: NSLocalizedString(@"Empty response", @"Warply")}];
if (failureBlock)
failureBlock(error);
......@@ -4849,7 +4877,7 @@ CGFloat DistanceBetweenTwoPoints(CGPoint point1,CGPoint point2)
NSString *errorDescrition = (status <= [WLResultCodesDescriptions count]) && status > 0 ? (WLResultCodesDescriptions[(status-1)]) : ([NSString stringWithFormat:@"Internal WARP Server error %d", status]);
NSDictionary *eDict = @{NSLocalizedDescriptionKey: errorDescrition};
NSError *error = [NSError errorWithDomain:WARP_ERROR_DOMAIN code:status userInfo:eDict];
NSError *error = [NSError errorWithDomain:WLErrorDomain code:status userInfo:eDict];
if (failureBlock)
failureBlock(error);
......@@ -4869,7 +4897,7 @@ CGFloat DistanceBetweenTwoPoints(CGPoint point1,CGPoint point2)
}else{
NSError *error = [NSError errorWithDomain:WARP_ERROR_DOMAIN code:1026 userInfo:@{NSLocalizedDescriptionKey: NSLocalizedString(@"Empty response", @"Warply")}];
NSError *error = [NSError errorWithDomain:WLErrorDomain code:1026 userInfo:@{NSLocalizedDescriptionKey: NSLocalizedString(@"Empty response", @"Warply")}];
if (failureBlock)
failureBlock(error);
......@@ -5072,7 +5100,7 @@ CGFloat DistanceBetweenTwoPoints(CGPoint point1,CGPoint point2)
[_pendingOperationsQueue setSuspended:![self isRegistrationValid]];
if (failure) {
NSDictionary *eDict=@{NSLocalizedDescriptionKey: WLResultCodesDescriptions[(status - 1)]};
NSError *warplyError = [NSError errorWithDomain:WARP_ERROR_DOMAIN code:status userInfo:eDict];
NSError *warplyError = [NSError errorWithDomain:WLErrorDomain code:status userInfo:eDict];
failure(warplyError);
}
return;
......@@ -5090,7 +5118,7 @@ CGFloat DistanceBetweenTwoPoints(CGPoint point1,CGPoint point2)
} else {
NSError *error = [NSError errorWithDomain:WARP_ERROR_DOMAIN code:1026 userInfo:@{NSLocalizedDescriptionKey: NSLocalizedString(@"Empry response", @"Warply")}];
NSError *error = [NSError errorWithDomain:WLErrorDomain code:1026 userInfo:@{NSLocalizedDescriptionKey: NSLocalizedString(@"Empry response", @"Warply")}];
if (failure) {
failure(error);
}
......@@ -5204,7 +5232,7 @@ CGFloat DistanceBetweenTwoPoints(CGPoint point1,CGPoint point2)
[_pendingOperationsQueue setSuspended:![self isRegistrationValid]];
if (failure) {
NSDictionary *eDict=@{NSLocalizedDescriptionKey: WLResultCodesDescriptions[(status - 1)]};
NSError *warplyError = [NSError errorWithDomain:WARP_ERROR_DOMAIN code:status userInfo:eDict];
NSError *warplyError = [NSError errorWithDomain:WLErrorDomain code:status userInfo:eDict];
failure(warplyError);
}
return;
......@@ -5225,7 +5253,7 @@ CGFloat DistanceBetweenTwoPoints(CGPoint point1,CGPoint point2)
} else {
NSError *error = [NSError errorWithDomain:WARP_ERROR_DOMAIN code:1026 userInfo:@{NSLocalizedDescriptionKey: NSLocalizedString(@"Empry response", @"Warply")}];
NSError *error = [NSError errorWithDomain:WLErrorDomain code:1026 userInfo:@{NSLocalizedDescriptionKey: NSLocalizedString(@"Empry response", @"Warply")}];
if (failure) {
failure(error);
}
......
/*
Copyright 2010-2016 Warply Inc. All rights reserved.
Redistribution and use in source and binary forms, without modification,
are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.
2. Redistributions in binaryform must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
THIS SOFTWARE IS PROVIDED BY THE WARPLY LTD ``AS IS'' AND ANY EXPRESS OR
IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
EVENT SHALL WARPLY LTD OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#import <Foundation/Foundation.h>
//! Project version number for WarplySDKFrameworkIOS
FOUNDATION_EXPORT double WarplySDKFrameworkIOSVersionNumber;
//! Project version string for WarplySDKFrameworkIOS
FOUNDATION_EXPORT const unsigned char WarplySDKFrameworkIOSVersionString[];
// In this header, you should import all the public headers of your framework using statements like #import <WarplySDKFrameworkIOS/PublicHeader.h>
#import <WarplySDKFrameworkIOS/Warply.h>
#import <WarplySDKFrameworkIOS/WLConfig.h>
#import <WarplySDKFrameworkIOS/WLPushManager.h>
#import <WarplySDKFrameworkIOS/WLEvent.h>
#import <WarplySDKFrameworkIOS/WLUtils.h>
#import <WarplySDKFrameworkIOS/WLGlobals.h>
......@@ -25,6 +25,7 @@
#import "WLSMSActionHandlerDeprecated.h"
#import "WLGlobals.h"
#import "WLAnalyticsManager.h"
#import "WLInboxItemViewController.h"
#import "UIViewController+WLAdditions.h"
......
......@@ -32,7 +32,8 @@
*/
#import <Foundation/Foundation.h>
#import "WLBaseItem.h"
@class WLBaseItem;
/*!
@class WLAnalyticsManager
......
......@@ -24,6 +24,8 @@
*/
#import "WLAnalyticsManager.h"
#import "WLBaseItem.h"
#import "WLEvent.h"
#import "Warply.h"
@implementation WLAnalyticsManager
......
......@@ -15,7 +15,8 @@
#import "WLInboxItemViewController.h"
#import "UIViewController+WLAdditions.h"
#import "WLBaseItem.h"
#import "WLInboxItem.h"
#import "WLAnalyticsManager.h"
......
......@@ -31,7 +31,7 @@
@copyright Warply Inc.
*/
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
#import <CoreLocation/CoreLocation.h>
@protocol WLLocationManagerDelegate;
......
......@@ -31,11 +31,11 @@
@import UIKit;
#import <Foundation/Foundation.h>
#import "WLBaseItem.h"
#import "WLInboxItem.h"
#import <UserNotifications/UserNotifications.h>
@class Warply;
@class WLBaseItem;
@class WLInboxItem;
@protocol WLCustomPushHandler;
/*!
......
......@@ -26,6 +26,7 @@
#import "WLPushManager.h"
#import "WLGlobals.h"
#import "WLEvent.h"
#import "WLAnalyticsManager.h"
#import "Warply.h"
#import "WLBaseItem.h"
#import <CoreTelephony/CTTelephonyNetworkInfo.h>
......
......@@ -30,7 +30,7 @@
@copyright Warply Inc.
*/
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
#import "Warply.h"
/*!
......
......@@ -24,6 +24,8 @@
*/
#import "WLUserManager.h"
#import "WLGlobals.h"
#import "WLEvent.h"
#import <AdSupport/AdSupport.h>
@implementation WLUserManager
......
......@@ -51,7 +51,7 @@
-(BOOL)webView:(WKWebView *)webView shouldStartLoadWithRequest:(NSURLRequest *)request navigationType:(UIWebViewNavigationType)navigationType {
if (![request.URL.host isEqualToString:WARP_HOST] && ![request.URL.host isEqualToString:@"warplydata.blob.core.windows.net"]) {
if (![request.URL.host isEqualToString:[Warply sharedService].host] && ![request.URL.host isEqualToString:@"warplydata.blob.core.windows.net"]) {
[[UIApplication sharedApplication] openURL:request.URL];
}
......
......@@ -72,7 +72,7 @@
-(BOOL)webView:(WKWebView *)webView shouldStartLoadWithRequest:(NSURLRequest *)request navigationType:(UIWebViewNavigationType)navigationType {
if (![request.URL.host isEqualToString:WARP_HOST] && ![request.URL.host isEqualToString:@"warplydata.blob.core.windows.net"]) {
if (![request.URL.host isEqualToString:[Warply sharedService].host] && ![request.URL.host isEqualToString:@"warplydata.blob.core.windows.net"]) {
[[UIApplication sharedApplication] openURL:request.URL];
}
......
......@@ -8,6 +8,7 @@
#import "WLNativeAdsTableMode.h"
#import "Warply.h"
#import "WLAnalyticsManager.h"
#import <UIKit/UIKit.h>
#import "WLNativeAdTableViewCell.h"
#import <AVFoundation/AVFoundation.h>
......
// !$*UTF8*$!
{
archiveVersion = 1;
classes = {
};
objectVersion = 55;
objects = {
/* Begin PBXBuildFile section */
A06A3BEF288B149E00C8DED5 /* WLConfig.h in Headers */ = {isa = PBXBuildFile; fileRef = A06A3BED288B149E00C8DED5 /* WLConfig.h */; settings = {ATTRIBUTES = (Public, ); }; };
A06A3BF0288B149E00C8DED5 /* WLConfig.m in Sources */ = {isa = PBXBuildFile; fileRef = A06A3BEE288B149E00C8DED5 /* WLConfig.m */; };
A06A3BF4288B1D2100C8DED5 /* WarplySDKFrameworkIOS.h in Headers */ = {isa = PBXBuildFile; fileRef = A06A3BF3288B1D2100C8DED5 /* WarplySDKFrameworkIOS.h */; settings = {ATTRIBUTES = (Public, ); }; };
E6D8DEEE27A942920006A3A9 /* WarplyReactMethods.m in Sources */ = {isa = PBXBuildFile; fileRef = E6D8DE7527A942910006A3A9 /* WarplyReactMethods.m */; };
E6D8DEEF27A942920006A3A9 /* WarplyReactMethods.h in Headers */ = {isa = PBXBuildFile; fileRef = E6D8DE7627A942910006A3A9 /* WarplyReactMethods.h */; };
E6D8DEF027A942920006A3A9 /* WLNativeAdCollectionViewCell.h in Headers */ = {isa = PBXBuildFile; fileRef = E6D8DE7927A942910006A3A9 /* WLNativeAdCollectionViewCell.h */; };
E6D8DEF127A942920006A3A9 /* WLNativeVideoTableViewCell.xib in Resources */ = {isa = PBXBuildFile; fileRef = E6D8DE7A27A942910006A3A9 /* WLNativeVideoTableViewCell.xib */; };
E6D8DEF227A942920006A3A9 /* WLNativeAdTableViewCell.h in Headers */ = {isa = PBXBuildFile; fileRef = E6D8DE7B27A942910006A3A9 /* WLNativeAdTableViewCell.h */; };
E6D8DEF327A942920006A3A9 /* WLNativeVideoTableViewCell.m in Sources */ = {isa = PBXBuildFile; fileRef = E6D8DE7C27A942910006A3A9 /* WLNativeVideoTableViewCell.m */; };
E6D8DEF427A942920006A3A9 /* WLCustomNativeCollectionViewCell.m in Sources */ = {isa = PBXBuildFile; fileRef = E6D8DE7D27A942910006A3A9 /* WLCustomNativeCollectionViewCell.m */; };
E6D8DEF527A942920006A3A9 /* WLNativeAdsTableMode.m in Sources */ = {isa = PBXBuildFile; fileRef = E6D8DE7E27A942910006A3A9 /* WLNativeAdsTableMode.m */; };
E6D8DEF627A942920006A3A9 /* WLCustomNativeAdTableViewCell.h in Headers */ = {isa = PBXBuildFile; fileRef = E6D8DE7F27A942910006A3A9 /* WLCustomNativeAdTableViewCell.h */; };
E6D8DEF727A942920006A3A9 /* WLNativeAdsCollectionMode.m in Sources */ = {isa = PBXBuildFile; fileRef = E6D8DE8027A942910006A3A9 /* WLNativeAdsCollectionMode.m */; };
E6D8DEF827A942920006A3A9 /* WLNativeAdTableViewCell.m in Sources */ = {isa = PBXBuildFile; fileRef = E6D8DE8127A942910006A3A9 /* WLNativeAdTableViewCell.m */; };
E6D8DEF927A942920006A3A9 /* WLNativeAdCollectionViewCell.m in Sources */ = {isa = PBXBuildFile; fileRef = E6D8DE8227A942910006A3A9 /* WLNativeAdCollectionViewCell.m */; };
E6D8DEFA27A942920006A3A9 /* WLNativeAdTableViewCell.xib in Resources */ = {isa = PBXBuildFile; fileRef = E6D8DE8327A942910006A3A9 /* WLNativeAdTableViewCell.xib */; };
E6D8DEFB27A942920006A3A9 /* WLNativeAdCollectionViewCell.xib in Resources */ = {isa = PBXBuildFile; fileRef = E6D8DE8427A942910006A3A9 /* WLNativeAdCollectionViewCell.xib */; };
E6D8DEFC27A942920006A3A9 /* WLCustomNativeAdTableViewCell.m in Sources */ = {isa = PBXBuildFile; fileRef = E6D8DE8527A942910006A3A9 /* WLCustomNativeAdTableViewCell.m */; };
E6D8DEFD27A942920006A3A9 /* WLNativeAdsTableMode.h in Headers */ = {isa = PBXBuildFile; fileRef = E6D8DE8627A942910006A3A9 /* WLNativeAdsTableMode.h */; };
E6D8DEFE27A942920006A3A9 /* WLCustomNativeCollectionViewCell.h in Headers */ = {isa = PBXBuildFile; fileRef = E6D8DE8727A942910006A3A9 /* WLCustomNativeCollectionViewCell.h */; };
E6D8DEFF27A942920006A3A9 /* WLNativeVideoTableViewCell.h in Headers */ = {isa = PBXBuildFile; fileRef = E6D8DE8827A942910006A3A9 /* WLNativeVideoTableViewCell.h */; };
E6D8DF0027A942920006A3A9 /* WLNativeAdsCollectionMode.h in Headers */ = {isa = PBXBuildFile; fileRef = E6D8DE8927A942910006A3A9 /* WLNativeAdsCollectionMode.h */; };
E6D8DF0127A942920006A3A9 /* WLBeacon.h in Headers */ = {isa = PBXBuildFile; fileRef = E6D8DE8B27A942910006A3A9 /* WLBeacon.h */; };
E6D8DF0227A942920006A3A9 /* WLBaseItem.h in Headers */ = {isa = PBXBuildFile; fileRef = E6D8DE8C27A942910006A3A9 /* WLBaseItem.h */; };
E6D8DF0327A942920006A3A9 /* WLInboxItemViewController.h in Headers */ = {isa = PBXBuildFile; fileRef = E6D8DE8D27A942910006A3A9 /* WLInboxItemViewController.h */; };
E6D8DF0427A942920006A3A9 /* WLInboxItem.m in Sources */ = {isa = PBXBuildFile; fileRef = E6D8DE8E27A942910006A3A9 /* WLInboxItem.m */; };
E6D8DF0527A942920006A3A9 /* WLAPSItem.h in Headers */ = {isa = PBXBuildFile; fileRef = E6D8DE8F27A942910006A3A9 /* WLAPSItem.h */; };
E6D8DF0627A942920006A3A9 /* WLBeacon.m in Sources */ = {isa = PBXBuildFile; fileRef = E6D8DE9027A942910006A3A9 /* WLBeacon.m */; };
E6D8DF0727A942920006A3A9 /* WLInboxItemViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = E6D8DE9127A942910006A3A9 /* WLInboxItemViewController.m */; };
E6D8DF0827A942920006A3A9 /* WLBaseItem.m in Sources */ = {isa = PBXBuildFile; fileRef = E6D8DE9227A942910006A3A9 /* WLBaseItem.m */; };
E6D8DF0927A942920006A3A9 /* WLInboxItem.h in Headers */ = {isa = PBXBuildFile; fileRef = E6D8DE9327A942910006A3A9 /* WLInboxItem.h */; };
E6D8DF0A27A942920006A3A9 /* WLAPSItem.m in Sources */ = {isa = PBXBuildFile; fileRef = E6D8DE9427A942910006A3A9 /* WLAPSItem.m */; };
E6D8DF0B27A942920006A3A9 /* WLEvent.m in Sources */ = {isa = PBXBuildFile; fileRef = E6D8DE9527A942910006A3A9 /* WLEvent.m */; };
E6D8DF0C27A942920006A3A9 /* warp_white_back_button@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = E6D8DE9727A942910006A3A9 /* warp_white_back_button@2x.png */; };
E6D8DF0D27A942920006A3A9 /* warp_white_forward_button.png in Resources */ = {isa = PBXBuildFile; fileRef = E6D8DE9827A942910006A3A9 /* warp_white_forward_button.png */; };
E6D8DF0E27A942920006A3A9 /* warp_white_back_button.png in Resources */ = {isa = PBXBuildFile; fileRef = E6D8DE9927A942910006A3A9 /* warp_white_back_button.png */; };
E6D8DF0F27A942920006A3A9 /* warp_white_close_button@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = E6D8DE9A27A942910006A3A9 /* warp_white_close_button@2x.png */; };
E6D8DF1027A942920006A3A9 /* warp_white_forward_button@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = E6D8DE9B27A942910006A3A9 /* warp_white_forward_button@2x.png */; };
E6D8DF1127A942920006A3A9 /* warp_white_close_button.png in Resources */ = {isa = PBXBuildFile; fileRef = E6D8DE9C27A942910006A3A9 /* warp_white_close_button.png */; };
E6D8DF1227A942920006A3A9 /* WLPushManager.m in Sources */ = {isa = PBXBuildFile; fileRef = E6D8DE9E27A942910006A3A9 /* WLPushManager.m */; };
E6D8DF1327A942920006A3A9 /* WLBeaconManager.m in Sources */ = {isa = PBXBuildFile; fileRef = E6D8DE9F27A942910006A3A9 /* WLBeaconManager.m */; };
E6D8DF1427A942920006A3A9 /* WLLocationManager.m in Sources */ = {isa = PBXBuildFile; fileRef = E6D8DEA027A942910006A3A9 /* WLLocationManager.m */; };
E6D8DF1527A942920006A3A9 /* WLAnalyticsManager.h in Headers */ = {isa = PBXBuildFile; fileRef = E6D8DEA127A942910006A3A9 /* WLAnalyticsManager.h */; };
E6D8DF1627A942920006A3A9 /* WLUserManager.h in Headers */ = {isa = PBXBuildFile; fileRef = E6D8DEA227A942910006A3A9 /* WLUserManager.h */; };
E6D8DF1727A942920006A3A9 /* WLBeaconManager.h in Headers */ = {isa = PBXBuildFile; fileRef = E6D8DEA327A942910006A3A9 /* WLBeaconManager.h */; };
E6D8DF1827A942920006A3A9 /* WLPushManager.h in Headers */ = {isa = PBXBuildFile; fileRef = E6D8DEA427A942910006A3A9 /* WLPushManager.h */; settings = {ATTRIBUTES = (Public, ); }; };
E6D8DF1927A942920006A3A9 /* WLAnalyticsManager.m in Sources */ = {isa = PBXBuildFile; fileRef = E6D8DEA527A942910006A3A9 /* WLAnalyticsManager.m */; };
E6D8DF1A27A942920006A3A9 /* WLLocationManager.h in Headers */ = {isa = PBXBuildFile; fileRef = E6D8DEA627A942910006A3A9 /* WLLocationManager.h */; };
E6D8DF1B27A942920006A3A9 /* WLUserManager.m in Sources */ = {isa = PBXBuildFile; fileRef = E6D8DEA727A942910006A3A9 /* WLUserManager.m */; };
E6D8DF1C27A942920006A3A9 /* WLUtils.m in Sources */ = {isa = PBXBuildFile; fileRef = E6D8DEA927A942910006A3A9 /* WLUtils.m */; };
E6D8DF1D27A942920006A3A9 /* UIViewController+WLAdditions.h in Headers */ = {isa = PBXBuildFile; fileRef = E6D8DEAA27A942910006A3A9 /* UIViewController+WLAdditions.h */; };
E6D8DF1E27A942920006A3A9 /* UIViewController+WLAdditions.m in Sources */ = {isa = PBXBuildFile; fileRef = E6D8DEAB27A942910006A3A9 /* UIViewController+WLAdditions.m */; };
E6D8DF1F27A942920006A3A9 /* WLUtils.h in Headers */ = {isa = PBXBuildFile; fileRef = E6D8DEAC27A942910006A3A9 /* WLUtils.h */; settings = {ATTRIBUTES = (Public, ); }; };
E6D8DF2027A942920006A3A9 /* Warply.m in Sources */ = {isa = PBXBuildFile; fileRef = E6D8DEAD27A942910006A3A9 /* Warply.m */; };
E6D8DF2127A942920006A3A9 /* WLAPPActionHandler.m in Sources */ = {isa = PBXBuildFile; fileRef = E6D8DEAF27A942910006A3A9 /* WLAPPActionHandler.m */; };
E6D8DF2227A942920006A3A9 /* WLSMSActionHanlder.h in Headers */ = {isa = PBXBuildFile; fileRef = E6D8DEB027A942910006A3A9 /* WLSMSActionHanlder.h */; };
E6D8DF2327A942920006A3A9 /* WLSMSActionHandlerDeprecated.m in Sources */ = {isa = PBXBuildFile; fileRef = E6D8DEB127A942910006A3A9 /* WLSMSActionHandlerDeprecated.m */; };
E6D8DF2427A942920006A3A9 /* WLSMSActionHandlerDeprecated.h in Headers */ = {isa = PBXBuildFile; fileRef = E6D8DEB227A942910006A3A9 /* WLSMSActionHandlerDeprecated.h */; };
E6D8DF2527A942920006A3A9 /* WLSMSActionHanlder.m in Sources */ = {isa = PBXBuildFile; fileRef = E6D8DEB327A942910006A3A9 /* WLSMSActionHanlder.m */; };
E6D8DF2627A942920006A3A9 /* WLAPPActionHandler.h in Headers */ = {isa = PBXBuildFile; fileRef = E6D8DEB427A942910006A3A9 /* WLAPPActionHandler.h */; };
E6D8DF2727A942920006A3A9 /* WLGlobals.h in Headers */ = {isa = PBXBuildFile; fileRef = E6D8DEB527A942910006A3A9 /* WLGlobals.h */; settings = {ATTRIBUTES = (Public, ); }; };
E6D8DF2827A942920006A3A9 /* NSString+SSToolkitAdditions.h in Headers */ = {isa = PBXBuildFile; fileRef = E6D8DEB827A942910006A3A9 /* NSString+SSToolkitAdditions.h */; };
E6D8DF2927A942920006A3A9 /* NSData+SSToolkitAdditions.m in Sources */ = {isa = PBXBuildFile; fileRef = E6D8DEB927A942910006A3A9 /* NSData+SSToolkitAdditions.m */; };
E6D8DF2A27A942920006A3A9 /* NSData+SSToolkitAdditions.h in Headers */ = {isa = PBXBuildFile; fileRef = E6D8DEBA27A942910006A3A9 /* NSData+SSToolkitAdditions.h */; };
E6D8DF2B27A942920006A3A9 /* NSString+SSToolkitAdditions.m in Sources */ = {isa = PBXBuildFile; fileRef = E6D8DEBB27A942910006A3A9 /* NSString+SSToolkitAdditions.m */; };
E6D8DF2C27A942920006A3A9 /* UIProgressView+AFNetworking.m in Sources */ = {isa = PBXBuildFile; fileRef = E6D8DEBD27A942910006A3A9 /* UIProgressView+AFNetworking.m */; };
E6D8DF2D27A942920006A3A9 /* UIButton+AFNetworking.h in Headers */ = {isa = PBXBuildFile; fileRef = E6D8DEBE27A942910006A3A9 /* UIButton+AFNetworking.h */; };
E6D8DF2E27A942920006A3A9 /* UIRefreshControl+AFNetworking.m in Sources */ = {isa = PBXBuildFile; fileRef = E6D8DEBF27A942910006A3A9 /* UIRefreshControl+AFNetworking.m */; };
E6D8DF2F27A942920006A3A9 /* UIImageView+AFNetworking.h in Headers */ = {isa = PBXBuildFile; fileRef = E6D8DEC027A942910006A3A9 /* UIImageView+AFNetworking.h */; };
E6D8DF3027A942920006A3A9 /* AFImageDownloader.h in Headers */ = {isa = PBXBuildFile; fileRef = E6D8DEC127A942910006A3A9 /* AFImageDownloader.h */; };
E6D8DF3127A942920006A3A9 /* AFNetworkActivityIndicatorManager.m in Sources */ = {isa = PBXBuildFile; fileRef = E6D8DEC227A942910006A3A9 /* AFNetworkActivityIndicatorManager.m */; };
E6D8DF3227A942920006A3A9 /* AFAutoPurgingImageCache.h in Headers */ = {isa = PBXBuildFile; fileRef = E6D8DEC327A942910006A3A9 /* AFAutoPurgingImageCache.h */; };
E6D8DF3327A942920006A3A9 /* UIWebView+AFNetworking.h in Headers */ = {isa = PBXBuildFile; fileRef = E6D8DEC427A942910006A3A9 /* UIWebView+AFNetworking.h */; };
E6D8DF3427A942920006A3A9 /* UIActivityIndicatorView+AFNetworking.h in Headers */ = {isa = PBXBuildFile; fileRef = E6D8DEC527A942910006A3A9 /* UIActivityIndicatorView+AFNetworking.h */; };
E6D8DF3527A942920006A3A9 /* UIImage+AFNetworking.h in Headers */ = {isa = PBXBuildFile; fileRef = E6D8DEC627A942910006A3A9 /* UIImage+AFNetworking.h */; };
E6D8DF3627A942920006A3A9 /* UIProgressView+AFNetworking.h in Headers */ = {isa = PBXBuildFile; fileRef = E6D8DEC727A942910006A3A9 /* UIProgressView+AFNetworking.h */; };
E6D8DF3727A942920006A3A9 /* UIImageView+AFNetworking.m in Sources */ = {isa = PBXBuildFile; fileRef = E6D8DEC827A942910006A3A9 /* UIImageView+AFNetworking.m */; };
E6D8DF3827A942920006A3A9 /* UIKit+AFNetworking.h in Headers */ = {isa = PBXBuildFile; fileRef = E6D8DEC927A942910006A3A9 /* UIKit+AFNetworking.h */; };
E6D8DF3927A942920006A3A9 /* UIRefreshControl+AFNetworking.h in Headers */ = {isa = PBXBuildFile; fileRef = E6D8DECA27A942910006A3A9 /* UIRefreshControl+AFNetworking.h */; };
E6D8DF3A27A942920006A3A9 /* UIButton+AFNetworking.m in Sources */ = {isa = PBXBuildFile; fileRef = E6D8DECB27A942910006A3A9 /* UIButton+AFNetworking.m */; };
E6D8DF3B27A942920006A3A9 /* UIActivityIndicatorView+AFNetworking.m in Sources */ = {isa = PBXBuildFile; fileRef = E6D8DECC27A942910006A3A9 /* UIActivityIndicatorView+AFNetworking.m */; };
E6D8DF3C27A942920006A3A9 /* UIWebView+AFNetworking.m in Sources */ = {isa = PBXBuildFile; fileRef = E6D8DECD27A942910006A3A9 /* UIWebView+AFNetworking.m */; };
E6D8DF3D27A942920006A3A9 /* AFAutoPurgingImageCache.m in Sources */ = {isa = PBXBuildFile; fileRef = E6D8DECE27A942910006A3A9 /* AFAutoPurgingImageCache.m */; };
E6D8DF3E27A942920006A3A9 /* AFNetworkActivityIndicatorManager.h in Headers */ = {isa = PBXBuildFile; fileRef = E6D8DECF27A942910006A3A9 /* AFNetworkActivityIndicatorManager.h */; };
E6D8DF3F27A942920006A3A9 /* AFImageDownloader.m in Sources */ = {isa = PBXBuildFile; fileRef = E6D8DED027A942910006A3A9 /* AFImageDownloader.m */; };
E6D8DF4027A942920006A3A9 /* AFSecurityPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = E6D8DED227A942910006A3A9 /* AFSecurityPolicy.h */; };
E6D8DF4127A942920006A3A9 /* AFNetworkReachabilityManager.h in Headers */ = {isa = PBXBuildFile; fileRef = E6D8DED327A942910006A3A9 /* AFNetworkReachabilityManager.h */; };
E6D8DF4227A942920006A3A9 /* AFURLSessionManager.h in Headers */ = {isa = PBXBuildFile; fileRef = E6D8DED427A942910006A3A9 /* AFURLSessionManager.h */; };
E6D8DF4327A942920006A3A9 /* AFURLRequestSerialization.h in Headers */ = {isa = PBXBuildFile; fileRef = E6D8DED527A942910006A3A9 /* AFURLRequestSerialization.h */; };
E6D8DF4427A942920006A3A9 /* AFURLResponseSerialization.m in Sources */ = {isa = PBXBuildFile; fileRef = E6D8DED627A942910006A3A9 /* AFURLResponseSerialization.m */; };
E6D8DF4527A942920006A3A9 /* AFHTTPSessionManager.m in Sources */ = {isa = PBXBuildFile; fileRef = E6D8DED727A942910006A3A9 /* AFHTTPSessionManager.m */; };
E6D8DF4627A942920006A3A9 /* AFURLResponseSerialization.h in Headers */ = {isa = PBXBuildFile; fileRef = E6D8DED827A942910006A3A9 /* AFURLResponseSerialization.h */; };
E6D8DF4727A942920006A3A9 /* AFURLSessionManager.m in Sources */ = {isa = PBXBuildFile; fileRef = E6D8DED927A942910006A3A9 /* AFURLSessionManager.m */; };
E6D8DF4827A942920006A3A9 /* AFURLRequestSerialization.m in Sources */ = {isa = PBXBuildFile; fileRef = E6D8DEDA27A942910006A3A9 /* AFURLRequestSerialization.m */; };
E6D8DF4927A942920006A3A9 /* AFNetworking.h in Headers */ = {isa = PBXBuildFile; fileRef = E6D8DEDB27A942910006A3A9 /* AFNetworking.h */; };
E6D8DF4A27A942920006A3A9 /* AFNetworkReachabilityManager.m in Sources */ = {isa = PBXBuildFile; fileRef = E6D8DEDC27A942910006A3A9 /* AFNetworkReachabilityManager.m */; };
E6D8DF4B27A942920006A3A9 /* AFSecurityPolicy.m in Sources */ = {isa = PBXBuildFile; fileRef = E6D8DEDD27A942910006A3A9 /* AFSecurityPolicy.m */; };
E6D8DF4C27A942920006A3A9 /* AFHTTPSessionManager.h in Headers */ = {isa = PBXBuildFile; fileRef = E6D8DEDE27A942910006A3A9 /* AFHTTPSessionManager.h */; };
E6D8DF4D27A942920006A3A9 /* FMDatabase.h in Headers */ = {isa = PBXBuildFile; fileRef = E6D8DEE027A942910006A3A9 /* FMDatabase.h */; };
E6D8DF4E27A942920006A3A9 /* FMDatabaseQueue.m in Sources */ = {isa = PBXBuildFile; fileRef = E6D8DEE127A942910006A3A9 /* FMDatabaseQueue.m */; };
E6D8DF4F27A942920006A3A9 /* FMResultSet.h in Headers */ = {isa = PBXBuildFile; fileRef = E6D8DEE227A942910006A3A9 /* FMResultSet.h */; };
E6D8DF5027A942920006A3A9 /* FMDatabasePool.h in Headers */ = {isa = PBXBuildFile; fileRef = E6D8DEE327A942910006A3A9 /* FMDatabasePool.h */; };
E6D8DF5127A942920006A3A9 /* FMDatabaseAdditions.m in Sources */ = {isa = PBXBuildFile; fileRef = E6D8DEE427A942910006A3A9 /* FMDatabaseAdditions.m */; };
E6D8DF5227A942920006A3A9 /* FMDatabase.m in Sources */ = {isa = PBXBuildFile; fileRef = E6D8DEE527A942910006A3A9 /* FMDatabase.m */; };
E6D8DF5327A942920006A3A9 /* FMDatabaseQueue.h in Headers */ = {isa = PBXBuildFile; fileRef = E6D8DEE627A942910006A3A9 /* FMDatabaseQueue.h */; };
E6D8DF5427A942920006A3A9 /* FMDB.h in Headers */ = {isa = PBXBuildFile; fileRef = E6D8DEE727A942910006A3A9 /* FMDB.h */; };
E6D8DF5527A942920006A3A9 /* FMDatabaseAdditions.h in Headers */ = {isa = PBXBuildFile; fileRef = E6D8DEE827A942910006A3A9 /* FMDatabaseAdditions.h */; };
E6D8DF5627A942920006A3A9 /* FMDatabasePool.m in Sources */ = {isa = PBXBuildFile; fileRef = E6D8DEE927A942910006A3A9 /* FMDatabasePool.m */; };
E6D8DF5727A942920006A3A9 /* FMResultSet.m in Sources */ = {isa = PBXBuildFile; fileRef = E6D8DEEA27A942910006A3A9 /* FMResultSet.m */; };
E6D8DF5827A942920006A3A9 /* WLEvent.h in Headers */ = {isa = PBXBuildFile; fileRef = E6D8DEEB27A942910006A3A9 /* WLEvent.h */; settings = {ATTRIBUTES = (Public, ); }; };
E6D8DF5927A942920006A3A9 /* Warply.h in Headers */ = {isa = PBXBuildFile; fileRef = E6D8DEEC27A942910006A3A9 /* Warply.h */; settings = {ATTRIBUTES = (Public, ); }; };
/* End PBXBuildFile section */
/* Begin PBXFileReference section */
A06A3BED288B149E00C8DED5 /* WLConfig.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = WLConfig.h; sourceTree = "<group>"; };
A06A3BEE288B149E00C8DED5 /* WLConfig.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = WLConfig.m; sourceTree = "<group>"; };
A06A3BF3288B1D2100C8DED5 /* WarplySDKFrameworkIOS.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = WarplySDKFrameworkIOS.h; path = Warply/WarplySDKFrameworkIOS.h; sourceTree = SOURCE_ROOT; };
E6D8DE6827A942010006A3A9 /* WarplySDKFrameworkIOS.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = WarplySDKFrameworkIOS.framework; sourceTree = BUILT_PRODUCTS_DIR; };
E6D8DE7527A942910006A3A9 /* WarplyReactMethods.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = WarplyReactMethods.m; sourceTree = "<group>"; };
E6D8DE7627A942910006A3A9 /* WarplyReactMethods.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WarplyReactMethods.h; sourceTree = "<group>"; };
E6D8DE7927A942910006A3A9 /* WLNativeAdCollectionViewCell.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WLNativeAdCollectionViewCell.h; sourceTree = "<group>"; };
E6D8DE7A27A942910006A3A9 /* WLNativeVideoTableViewCell.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = WLNativeVideoTableViewCell.xib; sourceTree = "<group>"; };
E6D8DE7B27A942910006A3A9 /* WLNativeAdTableViewCell.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WLNativeAdTableViewCell.h; sourceTree = "<group>"; };
E6D8DE7C27A942910006A3A9 /* WLNativeVideoTableViewCell.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = WLNativeVideoTableViewCell.m; sourceTree = "<group>"; };
E6D8DE7D27A942910006A3A9 /* WLCustomNativeCollectionViewCell.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = WLCustomNativeCollectionViewCell.m; sourceTree = "<group>"; };
E6D8DE7E27A942910006A3A9 /* WLNativeAdsTableMode.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = WLNativeAdsTableMode.m; sourceTree = "<group>"; };
E6D8DE7F27A942910006A3A9 /* WLCustomNativeAdTableViewCell.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WLCustomNativeAdTableViewCell.h; sourceTree = "<group>"; };
E6D8DE8027A942910006A3A9 /* WLNativeAdsCollectionMode.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = WLNativeAdsCollectionMode.m; sourceTree = "<group>"; };
E6D8DE8127A942910006A3A9 /* WLNativeAdTableViewCell.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = WLNativeAdTableViewCell.m; sourceTree = "<group>"; };
E6D8DE8227A942910006A3A9 /* WLNativeAdCollectionViewCell.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = WLNativeAdCollectionViewCell.m; sourceTree = "<group>"; };
E6D8DE8327A942910006A3A9 /* WLNativeAdTableViewCell.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = WLNativeAdTableViewCell.xib; sourceTree = "<group>"; };
E6D8DE8427A942910006A3A9 /* WLNativeAdCollectionViewCell.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = WLNativeAdCollectionViewCell.xib; sourceTree = "<group>"; };
E6D8DE8527A942910006A3A9 /* WLCustomNativeAdTableViewCell.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = WLCustomNativeAdTableViewCell.m; sourceTree = "<group>"; };
E6D8DE8627A942910006A3A9 /* WLNativeAdsTableMode.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WLNativeAdsTableMode.h; sourceTree = "<group>"; };
E6D8DE8727A942910006A3A9 /* WLCustomNativeCollectionViewCell.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WLCustomNativeCollectionViewCell.h; sourceTree = "<group>"; };
E6D8DE8827A942910006A3A9 /* WLNativeVideoTableViewCell.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WLNativeVideoTableViewCell.h; sourceTree = "<group>"; };
E6D8DE8927A942910006A3A9 /* WLNativeAdsCollectionMode.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WLNativeAdsCollectionMode.h; sourceTree = "<group>"; };
E6D8DE8B27A942910006A3A9 /* WLBeacon.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WLBeacon.h; sourceTree = "<group>"; };
E6D8DE8C27A942910006A3A9 /* WLBaseItem.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WLBaseItem.h; sourceTree = "<group>"; };
E6D8DE8D27A942910006A3A9 /* WLInboxItemViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WLInboxItemViewController.h; sourceTree = "<group>"; };
E6D8DE8E27A942910006A3A9 /* WLInboxItem.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = WLInboxItem.m; sourceTree = "<group>"; };
E6D8DE8F27A942910006A3A9 /* WLAPSItem.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WLAPSItem.h; sourceTree = "<group>"; };
E6D8DE9027A942910006A3A9 /* WLBeacon.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = WLBeacon.m; sourceTree = "<group>"; };
E6D8DE9127A942910006A3A9 /* WLInboxItemViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = WLInboxItemViewController.m; sourceTree = "<group>"; };
E6D8DE9227A942910006A3A9 /* WLBaseItem.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = WLBaseItem.m; sourceTree = "<group>"; };
E6D8DE9327A942910006A3A9 /* WLInboxItem.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WLInboxItem.h; sourceTree = "<group>"; };
E6D8DE9427A942910006A3A9 /* WLAPSItem.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = WLAPSItem.m; sourceTree = "<group>"; };
E6D8DE9527A942910006A3A9 /* WLEvent.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = WLEvent.m; sourceTree = "<group>"; };
E6D8DE9727A942910006A3A9 /* warp_white_back_button@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "warp_white_back_button@2x.png"; sourceTree = "<group>"; };
E6D8DE9827A942910006A3A9 /* warp_white_forward_button.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = warp_white_forward_button.png; sourceTree = "<group>"; };
E6D8DE9927A942910006A3A9 /* warp_white_back_button.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = warp_white_back_button.png; sourceTree = "<group>"; };
E6D8DE9A27A942910006A3A9 /* warp_white_close_button@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "warp_white_close_button@2x.png"; sourceTree = "<group>"; };
E6D8DE9B27A942910006A3A9 /* warp_white_forward_button@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "warp_white_forward_button@2x.png"; sourceTree = "<group>"; };
E6D8DE9C27A942910006A3A9 /* warp_white_close_button.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = warp_white_close_button.png; sourceTree = "<group>"; };
E6D8DE9E27A942910006A3A9 /* WLPushManager.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = WLPushManager.m; sourceTree = "<group>"; };
E6D8DE9F27A942910006A3A9 /* WLBeaconManager.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = WLBeaconManager.m; sourceTree = "<group>"; };
E6D8DEA027A942910006A3A9 /* WLLocationManager.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = WLLocationManager.m; sourceTree = "<group>"; };
E6D8DEA127A942910006A3A9 /* WLAnalyticsManager.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WLAnalyticsManager.h; sourceTree = "<group>"; };
E6D8DEA227A942910006A3A9 /* WLUserManager.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WLUserManager.h; sourceTree = "<group>"; };
E6D8DEA327A942910006A3A9 /* WLBeaconManager.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WLBeaconManager.h; sourceTree = "<group>"; };
E6D8DEA427A942910006A3A9 /* WLPushManager.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WLPushManager.h; sourceTree = "<group>"; };
E6D8DEA527A942910006A3A9 /* WLAnalyticsManager.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = WLAnalyticsManager.m; sourceTree = "<group>"; };
E6D8DEA627A942910006A3A9 /* WLLocationManager.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WLLocationManager.h; sourceTree = "<group>"; };
E6D8DEA727A942910006A3A9 /* WLUserManager.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = WLUserManager.m; sourceTree = "<group>"; };
E6D8DEA927A942910006A3A9 /* WLUtils.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = WLUtils.m; sourceTree = "<group>"; };
E6D8DEAA27A942910006A3A9 /* UIViewController+WLAdditions.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "UIViewController+WLAdditions.h"; sourceTree = "<group>"; };
E6D8DEAB27A942910006A3A9 /* UIViewController+WLAdditions.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "UIViewController+WLAdditions.m"; sourceTree = "<group>"; };
E6D8DEAC27A942910006A3A9 /* WLUtils.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WLUtils.h; sourceTree = "<group>"; };
E6D8DEAD27A942910006A3A9 /* Warply.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = Warply.m; sourceTree = "<group>"; };
E6D8DEAF27A942910006A3A9 /* WLAPPActionHandler.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = WLAPPActionHandler.m; sourceTree = "<group>"; };
E6D8DEB027A942910006A3A9 /* WLSMSActionHanlder.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WLSMSActionHanlder.h; sourceTree = "<group>"; };
E6D8DEB127A942910006A3A9 /* WLSMSActionHandlerDeprecated.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = WLSMSActionHandlerDeprecated.m; sourceTree = "<group>"; };
E6D8DEB227A942910006A3A9 /* WLSMSActionHandlerDeprecated.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WLSMSActionHandlerDeprecated.h; sourceTree = "<group>"; };
E6D8DEB327A942910006A3A9 /* WLSMSActionHanlder.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = WLSMSActionHanlder.m; sourceTree = "<group>"; };
E6D8DEB427A942910006A3A9 /* WLAPPActionHandler.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WLAPPActionHandler.h; sourceTree = "<group>"; };
E6D8DEB527A942910006A3A9 /* WLGlobals.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WLGlobals.h; sourceTree = "<group>"; };
E6D8DEB827A942910006A3A9 /* NSString+SSToolkitAdditions.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "NSString+SSToolkitAdditions.h"; sourceTree = "<group>"; };
E6D8DEB927A942910006A3A9 /* NSData+SSToolkitAdditions.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "NSData+SSToolkitAdditions.m"; sourceTree = "<group>"; };
E6D8DEBA27A942910006A3A9 /* NSData+SSToolkitAdditions.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "NSData+SSToolkitAdditions.h"; sourceTree = "<group>"; };
E6D8DEBB27A942910006A3A9 /* NSString+SSToolkitAdditions.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "NSString+SSToolkitAdditions.m"; sourceTree = "<group>"; };
E6D8DEBD27A942910006A3A9 /* UIProgressView+AFNetworking.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "UIProgressView+AFNetworking.m"; sourceTree = "<group>"; };
E6D8DEBE27A942910006A3A9 /* UIButton+AFNetworking.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "UIButton+AFNetworking.h"; sourceTree = "<group>"; };
E6D8DEBF27A942910006A3A9 /* UIRefreshControl+AFNetworking.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "UIRefreshControl+AFNetworking.m"; sourceTree = "<group>"; };
E6D8DEC027A942910006A3A9 /* UIImageView+AFNetworking.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "UIImageView+AFNetworking.h"; sourceTree = "<group>"; };
E6D8DEC127A942910006A3A9 /* AFImageDownloader.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AFImageDownloader.h; sourceTree = "<group>"; };
E6D8DEC227A942910006A3A9 /* AFNetworkActivityIndicatorManager.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = AFNetworkActivityIndicatorManager.m; sourceTree = "<group>"; };
E6D8DEC327A942910006A3A9 /* AFAutoPurgingImageCache.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AFAutoPurgingImageCache.h; sourceTree = "<group>"; };
E6D8DEC427A942910006A3A9 /* UIWebView+AFNetworking.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "UIWebView+AFNetworking.h"; sourceTree = "<group>"; };
E6D8DEC527A942910006A3A9 /* UIActivityIndicatorView+AFNetworking.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "UIActivityIndicatorView+AFNetworking.h"; sourceTree = "<group>"; };
E6D8DEC627A942910006A3A9 /* UIImage+AFNetworking.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "UIImage+AFNetworking.h"; sourceTree = "<group>"; };
E6D8DEC727A942910006A3A9 /* UIProgressView+AFNetworking.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "UIProgressView+AFNetworking.h"; sourceTree = "<group>"; };
E6D8DEC827A942910006A3A9 /* UIImageView+AFNetworking.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "UIImageView+AFNetworking.m"; sourceTree = "<group>"; };
E6D8DEC927A942910006A3A9 /* UIKit+AFNetworking.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "UIKit+AFNetworking.h"; sourceTree = "<group>"; };
E6D8DECA27A942910006A3A9 /* UIRefreshControl+AFNetworking.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "UIRefreshControl+AFNetworking.h"; sourceTree = "<group>"; };
E6D8DECB27A942910006A3A9 /* UIButton+AFNetworking.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "UIButton+AFNetworking.m"; sourceTree = "<group>"; };
E6D8DECC27A942910006A3A9 /* UIActivityIndicatorView+AFNetworking.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "UIActivityIndicatorView+AFNetworking.m"; sourceTree = "<group>"; };
E6D8DECD27A942910006A3A9 /* UIWebView+AFNetworking.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "UIWebView+AFNetworking.m"; sourceTree = "<group>"; };
E6D8DECE27A942910006A3A9 /* AFAutoPurgingImageCache.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = AFAutoPurgingImageCache.m; sourceTree = "<group>"; };
E6D8DECF27A942910006A3A9 /* AFNetworkActivityIndicatorManager.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AFNetworkActivityIndicatorManager.h; sourceTree = "<group>"; };
E6D8DED027A942910006A3A9 /* AFImageDownloader.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = AFImageDownloader.m; sourceTree = "<group>"; };
E6D8DED227A942910006A3A9 /* AFSecurityPolicy.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AFSecurityPolicy.h; sourceTree = "<group>"; };
E6D8DED327A942910006A3A9 /* AFNetworkReachabilityManager.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AFNetworkReachabilityManager.h; sourceTree = "<group>"; };
E6D8DED427A942910006A3A9 /* AFURLSessionManager.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AFURLSessionManager.h; sourceTree = "<group>"; };
E6D8DED527A942910006A3A9 /* AFURLRequestSerialization.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AFURLRequestSerialization.h; sourceTree = "<group>"; };
E6D8DED627A942910006A3A9 /* AFURLResponseSerialization.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = AFURLResponseSerialization.m; sourceTree = "<group>"; };
E6D8DED727A942910006A3A9 /* AFHTTPSessionManager.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = AFHTTPSessionManager.m; sourceTree = "<group>"; };
E6D8DED827A942910006A3A9 /* AFURLResponseSerialization.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AFURLResponseSerialization.h; sourceTree = "<group>"; };
E6D8DED927A942910006A3A9 /* AFURLSessionManager.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = AFURLSessionManager.m; sourceTree = "<group>"; };
E6D8DEDA27A942910006A3A9 /* AFURLRequestSerialization.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = AFURLRequestSerialization.m; sourceTree = "<group>"; };
E6D8DEDB27A942910006A3A9 /* AFNetworking.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AFNetworking.h; sourceTree = "<group>"; };
E6D8DEDC27A942910006A3A9 /* AFNetworkReachabilityManager.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = AFNetworkReachabilityManager.m; sourceTree = "<group>"; };
E6D8DEDD27A942910006A3A9 /* AFSecurityPolicy.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = AFSecurityPolicy.m; sourceTree = "<group>"; };
E6D8DEDE27A942910006A3A9 /* AFHTTPSessionManager.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AFHTTPSessionManager.h; sourceTree = "<group>"; };
E6D8DEE027A942910006A3A9 /* FMDatabase.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = FMDatabase.h; sourceTree = "<group>"; };
E6D8DEE127A942910006A3A9 /* FMDatabaseQueue.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = FMDatabaseQueue.m; sourceTree = "<group>"; };
E6D8DEE227A942910006A3A9 /* FMResultSet.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = FMResultSet.h; sourceTree = "<group>"; };
E6D8DEE327A942910006A3A9 /* FMDatabasePool.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = FMDatabasePool.h; sourceTree = "<group>"; };
E6D8DEE427A942910006A3A9 /* FMDatabaseAdditions.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = FMDatabaseAdditions.m; sourceTree = "<group>"; };
E6D8DEE527A942910006A3A9 /* FMDatabase.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = FMDatabase.m; sourceTree = "<group>"; };
E6D8DEE627A942910006A3A9 /* FMDatabaseQueue.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = FMDatabaseQueue.h; sourceTree = "<group>"; };
E6D8DEE727A942910006A3A9 /* FMDB.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = FMDB.h; sourceTree = "<group>"; };
E6D8DEE827A942910006A3A9 /* FMDatabaseAdditions.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = FMDatabaseAdditions.h; sourceTree = "<group>"; };
E6D8DEE927A942910006A3A9 /* FMDatabasePool.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = FMDatabasePool.m; sourceTree = "<group>"; };
E6D8DEEA27A942910006A3A9 /* FMResultSet.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = FMResultSet.m; sourceTree = "<group>"; };
E6D8DEEB27A942910006A3A9 /* WLEvent.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WLEvent.h; sourceTree = "<group>"; };
E6D8DEEC27A942910006A3A9 /* Warply.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Warply.h; sourceTree = "<group>"; };
/* End PBXFileReference section */
/* Begin PBXFrameworksBuildPhase section */
E6D8DE6527A942010006A3A9 /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXFrameworksBuildPhase section */
/* Begin PBXGroup section */
9C6080DEB815BBC562F23AB4 /* Frameworks */ = {
isa = PBXGroup;
children = (
);
name = Frameworks;
sourceTree = "<group>";
};
A06A3BF5288B272700C8DED5 /* Classes */ = {
isa = PBXGroup;
children = (
E6D8DE7427A942910006A3A9 /* Helpers */,
E6D8DE7727A942910006A3A9 /* Warply */,
);
name = Classes;
sourceTree = "<group>";
};
E6D8DE5E27A942000006A3A9 = {
isa = PBXGroup;
children = (
A06A3BF5288B272700C8DED5 /* Classes */,
E6D8DE6927A942010006A3A9 /* Products */,
9C6080DEB815BBC562F23AB4 /* Frameworks */,
);
sourceTree = "<group>";
};
E6D8DE6927A942010006A3A9 /* Products */ = {
isa = PBXGroup;
children = (
E6D8DE6827A942010006A3A9 /* WarplySDKFrameworkIOS.framework */,
);
name = Products;
sourceTree = "<group>";
};
E6D8DE7427A942910006A3A9 /* Helpers */ = {
isa = PBXGroup;
children = (
E6D8DE7527A942910006A3A9 /* WarplyReactMethods.m */,
E6D8DE7627A942910006A3A9 /* WarplyReactMethods.h */,
);
path = Helpers;
sourceTree = SOURCE_ROOT;
};
E6D8DE7727A942910006A3A9 /* Warply */ = {
isa = PBXGroup;
children = (
E6D8DE7827A942910006A3A9 /* nativeAds */,
E6D8DE8A27A942910006A3A9 /* inbox */,
E6D8DE9627A942910006A3A9 /* resources */,
E6D8DE9D27A942910006A3A9 /* managers */,
E6D8DEA827A942910006A3A9 /* foundation */,
E6D8DEAE27A942910006A3A9 /* actions */,
E6D8DEB627A942910006A3A9 /* external */,
E6D8DEB527A942910006A3A9 /* WLGlobals.h */,
E6D8DEEB27A942910006A3A9 /* WLEvent.h */,
E6D8DE9527A942910006A3A9 /* WLEvent.m */,
E6D8DEEC27A942910006A3A9 /* Warply.h */,
E6D8DEAD27A942910006A3A9 /* Warply.m */,
A06A3BED288B149E00C8DED5 /* WLConfig.h */,
A06A3BEE288B149E00C8DED5 /* WLConfig.m */,
A06A3BF3288B1D2100C8DED5 /* WarplySDKFrameworkIOS.h */,
);
path = Warply;
sourceTree = SOURCE_ROOT;
};
E6D8DE7827A942910006A3A9 /* nativeAds */ = {
isa = PBXGroup;
children = (
E6D8DE7927A942910006A3A9 /* WLNativeAdCollectionViewCell.h */,
E6D8DE7A27A942910006A3A9 /* WLNativeVideoTableViewCell.xib */,
E6D8DE7B27A942910006A3A9 /* WLNativeAdTableViewCell.h */,
E6D8DE7C27A942910006A3A9 /* WLNativeVideoTableViewCell.m */,
E6D8DE7D27A942910006A3A9 /* WLCustomNativeCollectionViewCell.m */,
E6D8DE7E27A942910006A3A9 /* WLNativeAdsTableMode.m */,
E6D8DE7F27A942910006A3A9 /* WLCustomNativeAdTableViewCell.h */,
E6D8DE8027A942910006A3A9 /* WLNativeAdsCollectionMode.m */,
E6D8DE8127A942910006A3A9 /* WLNativeAdTableViewCell.m */,
E6D8DE8227A942910006A3A9 /* WLNativeAdCollectionViewCell.m */,
E6D8DE8327A942910006A3A9 /* WLNativeAdTableViewCell.xib */,
E6D8DE8427A942910006A3A9 /* WLNativeAdCollectionViewCell.xib */,
E6D8DE8527A942910006A3A9 /* WLCustomNativeAdTableViewCell.m */,
E6D8DE8627A942910006A3A9 /* WLNativeAdsTableMode.h */,
E6D8DE8727A942910006A3A9 /* WLCustomNativeCollectionViewCell.h */,
E6D8DE8827A942910006A3A9 /* WLNativeVideoTableViewCell.h */,
E6D8DE8927A942910006A3A9 /* WLNativeAdsCollectionMode.h */,
);
path = nativeAds;
sourceTree = "<group>";
};
E6D8DE8A27A942910006A3A9 /* inbox */ = {
isa = PBXGroup;
children = (
E6D8DE8B27A942910006A3A9 /* WLBeacon.h */,
E6D8DE8C27A942910006A3A9 /* WLBaseItem.h */,
E6D8DE8D27A942910006A3A9 /* WLInboxItemViewController.h */,
E6D8DE8E27A942910006A3A9 /* WLInboxItem.m */,
E6D8DE8F27A942910006A3A9 /* WLAPSItem.h */,
E6D8DE9027A942910006A3A9 /* WLBeacon.m */,
E6D8DE9127A942910006A3A9 /* WLInboxItemViewController.m */,
E6D8DE9227A942910006A3A9 /* WLBaseItem.m */,
E6D8DE9327A942910006A3A9 /* WLInboxItem.h */,
E6D8DE9427A942910006A3A9 /* WLAPSItem.m */,
);
path = inbox;
sourceTree = "<group>";
};
E6D8DE9627A942910006A3A9 /* resources */ = {
isa = PBXGroup;
children = (
E6D8DE9727A942910006A3A9 /* warp_white_back_button@2x.png */,
E6D8DE9827A942910006A3A9 /* warp_white_forward_button.png */,
E6D8DE9927A942910006A3A9 /* warp_white_back_button.png */,
E6D8DE9A27A942910006A3A9 /* warp_white_close_button@2x.png */,
E6D8DE9B27A942910006A3A9 /* warp_white_forward_button@2x.png */,
E6D8DE9C27A942910006A3A9 /* warp_white_close_button.png */,
);
path = resources;
sourceTree = "<group>";
};
E6D8DE9D27A942910006A3A9 /* managers */ = {
isa = PBXGroup;
children = (
E6D8DE9E27A942910006A3A9 /* WLPushManager.m */,
E6D8DE9F27A942910006A3A9 /* WLBeaconManager.m */,
E6D8DEA027A942910006A3A9 /* WLLocationManager.m */,
E6D8DEA127A942910006A3A9 /* WLAnalyticsManager.h */,
E6D8DEA227A942910006A3A9 /* WLUserManager.h */,
E6D8DEA327A942910006A3A9 /* WLBeaconManager.h */,
E6D8DEA427A942910006A3A9 /* WLPushManager.h */,
E6D8DEA527A942910006A3A9 /* WLAnalyticsManager.m */,
E6D8DEA627A942910006A3A9 /* WLLocationManager.h */,
E6D8DEA727A942910006A3A9 /* WLUserManager.m */,
);
path = managers;
sourceTree = "<group>";
};
E6D8DEA827A942910006A3A9 /* foundation */ = {
isa = PBXGroup;
children = (
E6D8DEAA27A942910006A3A9 /* UIViewController+WLAdditions.h */,
E6D8DEAB27A942910006A3A9 /* UIViewController+WLAdditions.m */,
E6D8DEAC27A942910006A3A9 /* WLUtils.h */,
E6D8DEA927A942910006A3A9 /* WLUtils.m */,
);
path = foundation;
sourceTree = "<group>";
};
E6D8DEAE27A942910006A3A9 /* actions */ = {
isa = PBXGroup;
children = (
E6D8DEAF27A942910006A3A9 /* WLAPPActionHandler.m */,
E6D8DEB027A942910006A3A9 /* WLSMSActionHanlder.h */,
E6D8DEB127A942910006A3A9 /* WLSMSActionHandlerDeprecated.m */,
E6D8DEB227A942910006A3A9 /* WLSMSActionHandlerDeprecated.h */,
E6D8DEB327A942910006A3A9 /* WLSMSActionHanlder.m */,
E6D8DEB427A942910006A3A9 /* WLAPPActionHandler.h */,
);
path = actions;
sourceTree = "<group>";
};
E6D8DEB627A942910006A3A9 /* external */ = {
isa = PBXGroup;
children = (
E6D8DEB727A942910006A3A9 /* sstoolkit */,
E6D8DEBC27A942910006A3A9 /* UIKit+AFNetworking */,
E6D8DED127A942910006A3A9 /* AFNetworking */,
E6D8DEDF27A942910006A3A9 /* fmdb */,
);
path = external;
sourceTree = "<group>";
};
E6D8DEB727A942910006A3A9 /* sstoolkit */ = {
isa = PBXGroup;
children = (
E6D8DEB827A942910006A3A9 /* NSString+SSToolkitAdditions.h */,
E6D8DEB927A942910006A3A9 /* NSData+SSToolkitAdditions.m */,
E6D8DEBA27A942910006A3A9 /* NSData+SSToolkitAdditions.h */,
E6D8DEBB27A942910006A3A9 /* NSString+SSToolkitAdditions.m */,
);
path = sstoolkit;
sourceTree = "<group>";
};
E6D8DEBC27A942910006A3A9 /* UIKit+AFNetworking */ = {
isa = PBXGroup;
children = (
E6D8DEBD27A942910006A3A9 /* UIProgressView+AFNetworking.m */,
E6D8DEBE27A942910006A3A9 /* UIButton+AFNetworking.h */,
E6D8DEBF27A942910006A3A9 /* UIRefreshControl+AFNetworking.m */,
E6D8DEC027A942910006A3A9 /* UIImageView+AFNetworking.h */,
E6D8DEC127A942910006A3A9 /* AFImageDownloader.h */,
E6D8DEC227A942910006A3A9 /* AFNetworkActivityIndicatorManager.m */,
E6D8DEC327A942910006A3A9 /* AFAutoPurgingImageCache.h */,
E6D8DEC427A942910006A3A9 /* UIWebView+AFNetworking.h */,
E6D8DEC527A942910006A3A9 /* UIActivityIndicatorView+AFNetworking.h */,
E6D8DEC627A942910006A3A9 /* UIImage+AFNetworking.h */,
E6D8DEC727A942910006A3A9 /* UIProgressView+AFNetworking.h */,
E6D8DEC827A942910006A3A9 /* UIImageView+AFNetworking.m */,
E6D8DEC927A942910006A3A9 /* UIKit+AFNetworking.h */,
E6D8DECA27A942910006A3A9 /* UIRefreshControl+AFNetworking.h */,
E6D8DECB27A942910006A3A9 /* UIButton+AFNetworking.m */,
E6D8DECC27A942910006A3A9 /* UIActivityIndicatorView+AFNetworking.m */,
E6D8DECD27A942910006A3A9 /* UIWebView+AFNetworking.m */,
E6D8DECE27A942910006A3A9 /* AFAutoPurgingImageCache.m */,
E6D8DECF27A942910006A3A9 /* AFNetworkActivityIndicatorManager.h */,
E6D8DED027A942910006A3A9 /* AFImageDownloader.m */,
);
path = "UIKit+AFNetworking";
sourceTree = "<group>";
};
E6D8DED127A942910006A3A9 /* AFNetworking */ = {
isa = PBXGroup;
children = (
E6D8DED227A942910006A3A9 /* AFSecurityPolicy.h */,
E6D8DED327A942910006A3A9 /* AFNetworkReachabilityManager.h */,
E6D8DED427A942910006A3A9 /* AFURLSessionManager.h */,
E6D8DED527A942910006A3A9 /* AFURLRequestSerialization.h */,
E6D8DED627A942910006A3A9 /* AFURLResponseSerialization.m */,
E6D8DED727A942910006A3A9 /* AFHTTPSessionManager.m */,
E6D8DED827A942910006A3A9 /* AFURLResponseSerialization.h */,
E6D8DED927A942910006A3A9 /* AFURLSessionManager.m */,
E6D8DEDA27A942910006A3A9 /* AFURLRequestSerialization.m */,
E6D8DEDB27A942910006A3A9 /* AFNetworking.h */,
E6D8DEDC27A942910006A3A9 /* AFNetworkReachabilityManager.m */,
E6D8DEDD27A942910006A3A9 /* AFSecurityPolicy.m */,
E6D8DEDE27A942910006A3A9 /* AFHTTPSessionManager.h */,
);
path = AFNetworking;
sourceTree = "<group>";
};
E6D8DEDF27A942910006A3A9 /* fmdb */ = {
isa = PBXGroup;
children = (
E6D8DEE027A942910006A3A9 /* FMDatabase.h */,
E6D8DEE127A942910006A3A9 /* FMDatabaseQueue.m */,
E6D8DEE227A942910006A3A9 /* FMResultSet.h */,
E6D8DEE327A942910006A3A9 /* FMDatabasePool.h */,
E6D8DEE427A942910006A3A9 /* FMDatabaseAdditions.m */,
E6D8DEE527A942910006A3A9 /* FMDatabase.m */,
E6D8DEE627A942910006A3A9 /* FMDatabaseQueue.h */,
E6D8DEE727A942910006A3A9 /* FMDB.h */,
E6D8DEE827A942910006A3A9 /* FMDatabaseAdditions.h */,
E6D8DEE927A942910006A3A9 /* FMDatabasePool.m */,
E6D8DEEA27A942910006A3A9 /* FMResultSet.m */,
);
path = fmdb;
sourceTree = "<group>";
};
/* End PBXGroup section */
/* Begin PBXHeadersBuildPhase section */
E6D8DE6327A942010006A3A9 /* Headers */ = {
isa = PBXHeadersBuildPhase;
buildActionMask = 2147483647;
files = (
E6D8DF5927A942920006A3A9 /* Warply.h in Headers */,
E6D8DF1F27A942920006A3A9 /* WLUtils.h in Headers */,
E6D8DEEF27A942920006A3A9 /* WarplyReactMethods.h in Headers */,
E6D8DF0027A942920006A3A9 /* WLNativeAdsCollectionMode.h in Headers */,
E6D8DF3027A942920006A3A9 /* AFImageDownloader.h in Headers */,
A06A3BF4288B1D2100C8DED5 /* WarplySDKFrameworkIOS.h in Headers */,
E6D8DF4927A942920006A3A9 /* AFNetworking.h in Headers */,
E6D8DF5827A942920006A3A9 /* WLEvent.h in Headers */,
E6D8DF3927A942920006A3A9 /* UIRefreshControl+AFNetworking.h in Headers */,
E6D8DF1A27A942920006A3A9 /* WLLocationManager.h in Headers */,
E6D8DF2827A942920006A3A9 /* NSString+SSToolkitAdditions.h in Headers */,
E6D8DF1627A942920006A3A9 /* WLUserManager.h in Headers */,
E6D8DF2D27A942920006A3A9 /* UIButton+AFNetworking.h in Headers */,
E6D8DF2A27A942920006A3A9 /* NSData+SSToolkitAdditions.h in Headers */,
E6D8DF4027A942920006A3A9 /* AFSecurityPolicy.h in Headers */,
E6D8DF3427A942920006A3A9 /* UIActivityIndicatorView+AFNetworking.h in Headers */,
E6D8DF2F27A942920006A3A9 /* UIImageView+AFNetworking.h in Headers */,
E6D8DF5327A942920006A3A9 /* FMDatabaseQueue.h in Headers */,
E6D8DF1827A942920006A3A9 /* WLPushManager.h in Headers */,
E6D8DF5427A942920006A3A9 /* FMDB.h in Headers */,
E6D8DF0327A942920006A3A9 /* WLInboxItemViewController.h in Headers */,
E6D8DEF627A942920006A3A9 /* WLCustomNativeAdTableViewCell.h in Headers */,
E6D8DF4D27A942920006A3A9 /* FMDatabase.h in Headers */,
E6D8DF0127A942920006A3A9 /* WLBeacon.h in Headers */,
E6D8DF4C27A942920006A3A9 /* AFHTTPSessionManager.h in Headers */,
E6D8DF1727A942920006A3A9 /* WLBeaconManager.h in Headers */,
E6D8DF4127A942920006A3A9 /* AFNetworkReachabilityManager.h in Headers */,
E6D8DF0527A942920006A3A9 /* WLAPSItem.h in Headers */,
E6D8DF1D27A942920006A3A9 /* UIViewController+WLAdditions.h in Headers */,
E6D8DEF227A942920006A3A9 /* WLNativeAdTableViewCell.h in Headers */,
E6D8DF5527A942920006A3A9 /* FMDatabaseAdditions.h in Headers */,
E6D8DF5027A942920006A3A9 /* FMDatabasePool.h in Headers */,
E6D8DF2727A942920006A3A9 /* WLGlobals.h in Headers */,
E6D8DF0227A942920006A3A9 /* WLBaseItem.h in Headers */,
A06A3BEF288B149E00C8DED5 /* WLConfig.h in Headers */,
E6D8DF3527A942920006A3A9 /* UIImage+AFNetworking.h in Headers */,
E6D8DF3827A942920006A3A9 /* UIKit+AFNetworking.h in Headers */,
E6D8DF4F27A942920006A3A9 /* FMResultSet.h in Headers */,
E6D8DEFD27A942920006A3A9 /* WLNativeAdsTableMode.h in Headers */,
E6D8DF2427A942920006A3A9 /* WLSMSActionHandlerDeprecated.h in Headers */,
E6D8DF3627A942920006A3A9 /* UIProgressView+AFNetworking.h in Headers */,
E6D8DEF027A942920006A3A9 /* WLNativeAdCollectionViewCell.h in Headers */,
E6D8DF4327A942920006A3A9 /* AFURLRequestSerialization.h in Headers */,
E6D8DF2227A942920006A3A9 /* WLSMSActionHanlder.h in Headers */,
E6D8DF2627A942920006A3A9 /* WLAPPActionHandler.h in Headers */,
E6D8DF4227A942920006A3A9 /* AFURLSessionManager.h in Headers */,
E6D8DF1527A942920006A3A9 /* WLAnalyticsManager.h in Headers */,
E6D8DF3227A942920006A3A9 /* AFAutoPurgingImageCache.h in Headers */,
E6D8DEFE27A942920006A3A9 /* WLCustomNativeCollectionViewCell.h in Headers */,
E6D8DF0927A942920006A3A9 /* WLInboxItem.h in Headers */,
E6D8DEFF27A942920006A3A9 /* WLNativeVideoTableViewCell.h in Headers */,
E6D8DF3E27A942920006A3A9 /* AFNetworkActivityIndicatorManager.h in Headers */,
E6D8DF3327A942920006A3A9 /* UIWebView+AFNetworking.h in Headers */,
E6D8DF4627A942920006A3A9 /* AFURLResponseSerialization.h in Headers */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXHeadersBuildPhase section */
/* Begin PBXNativeTarget section */
E6D8DE6727A942010006A3A9 /* WarplySDKFrameworkIOS */ = {
isa = PBXNativeTarget;
buildConfigurationList = E6D8DE7127A942010006A3A9 /* Build configuration list for PBXNativeTarget "WarplySDKFrameworkIOS" */;
buildPhases = (
E6D8DE6327A942010006A3A9 /* Headers */,
E6D8DE6427A942010006A3A9 /* Sources */,
E6D8DE6527A942010006A3A9 /* Frameworks */,
E6D8DE6627A942010006A3A9 /* Resources */,
);
buildRules = (
);
dependencies = (
);
name = WarplySDKFrameworkIOS;
packageProductDependencies = (
);
productName = WarplySDKFrameworkIOS;
productReference = E6D8DE6827A942010006A3A9 /* WarplySDKFrameworkIOS.framework */;
productType = "com.apple.product-type.framework";
};
/* End PBXNativeTarget section */
/* Begin PBXProject section */
E6D8DE5F27A942010006A3A9 /* Project object */ = {
isa = PBXProject;
attributes = {
BuildIndependentTargetsInParallel = 1;
LastUpgradeCheck = 1340;
TargetAttributes = {
E6D8DE6727A942010006A3A9 = {
CreatedOnToolsVersion = 13.1;
LastSwiftMigration = 1310;
};
};
};
buildConfigurationList = E6D8DE6227A942010006A3A9 /* Build configuration list for PBXProject "WarplySDKFrameworkIOS" */;
compatibilityVersion = "Xcode 13.0";
developmentRegion = en;
hasScannedForEncodings = 0;
knownRegions = (
en,
Base,
);
mainGroup = E6D8DE5E27A942000006A3A9;
packageReferences = (
);
productRefGroup = E6D8DE6927A942010006A3A9 /* Products */;
projectDirPath = "";
projectRoot = "";
targets = (
E6D8DE6727A942010006A3A9 /* WarplySDKFrameworkIOS */,
);
};
/* End PBXProject section */
/* Begin PBXResourcesBuildPhase section */
E6D8DE6627A942010006A3A9 /* Resources */ = {
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
E6D8DF1127A942920006A3A9 /* warp_white_close_button.png in Resources */,
E6D8DF0E27A942920006A3A9 /* warp_white_back_button.png in Resources */,
E6D8DF0F27A942920006A3A9 /* warp_white_close_button@2x.png in Resources */,
E6D8DF0D27A942920006A3A9 /* warp_white_forward_button.png in Resources */,
E6D8DEFA27A942920006A3A9 /* WLNativeAdTableViewCell.xib in Resources */,
E6D8DF1027A942920006A3A9 /* warp_white_forward_button@2x.png in Resources */,
E6D8DEF127A942920006A3A9 /* WLNativeVideoTableViewCell.xib in Resources */,
E6D8DEFB27A942920006A3A9 /* WLNativeAdCollectionViewCell.xib in Resources */,
E6D8DF0C27A942920006A3A9 /* warp_white_back_button@2x.png in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXResourcesBuildPhase section */
/* Begin PBXSourcesBuildPhase section */
E6D8DE6427A942010006A3A9 /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
E6D8DF0B27A942920006A3A9 /* WLEvent.m in Sources */,
E6D8DF1E27A942920006A3A9 /* UIViewController+WLAdditions.m in Sources */,
E6D8DF2E27A942920006A3A9 /* UIRefreshControl+AFNetworking.m in Sources */,
E6D8DF4827A942920006A3A9 /* AFURLRequestSerialization.m in Sources */,
E6D8DEF327A942920006A3A9 /* WLNativeVideoTableViewCell.m in Sources */,
E6D8DF2527A942920006A3A9 /* WLSMSActionHanlder.m in Sources */,
E6D8DF5727A942920006A3A9 /* FMResultSet.m in Sources */,
E6D8DF3A27A942920006A3A9 /* UIButton+AFNetworking.m in Sources */,
E6D8DF0627A942920006A3A9 /* WLBeacon.m in Sources */,
E6D8DF2927A942920006A3A9 /* NSData+SSToolkitAdditions.m in Sources */,
E6D8DEFC27A942920006A3A9 /* WLCustomNativeAdTableViewCell.m in Sources */,
E6D8DF4A27A942920006A3A9 /* AFNetworkReachabilityManager.m in Sources */,
E6D8DF4B27A942920006A3A9 /* AFSecurityPolicy.m in Sources */,
E6D8DF1327A942920006A3A9 /* WLBeaconManager.m in Sources */,
E6D8DF0427A942920006A3A9 /* WLInboxItem.m in Sources */,
E6D8DF5127A942920006A3A9 /* FMDatabaseAdditions.m in Sources */,
E6D8DF2127A942920006A3A9 /* WLAPPActionHandler.m in Sources */,
E6D8DF5627A942920006A3A9 /* FMDatabasePool.m in Sources */,
E6D8DF4527A942920006A3A9 /* AFHTTPSessionManager.m in Sources */,
E6D8DF3B27A942920006A3A9 /* UIActivityIndicatorView+AFNetworking.m in Sources */,
E6D8DF3727A942920006A3A9 /* UIImageView+AFNetworking.m in Sources */,
E6D8DF3127A942920006A3A9 /* AFNetworkActivityIndicatorManager.m in Sources */,
E6D8DF3D27A942920006A3A9 /* AFAutoPurgingImageCache.m in Sources */,
E6D8DF0A27A942920006A3A9 /* WLAPSItem.m in Sources */,
E6D8DF2C27A942920006A3A9 /* UIProgressView+AFNetworking.m in Sources */,
E6D8DF3C27A942920006A3A9 /* UIWebView+AFNetworking.m in Sources */,
E6D8DF1427A942920006A3A9 /* WLLocationManager.m in Sources */,
E6D8DF3F27A942920006A3A9 /* AFImageDownloader.m in Sources */,
E6D8DEF727A942920006A3A9 /* WLNativeAdsCollectionMode.m in Sources */,
E6D8DEF427A942920006A3A9 /* WLCustomNativeCollectionViewCell.m in Sources */,
A06A3BF0288B149E00C8DED5 /* WLConfig.m in Sources */,
E6D8DF2B27A942920006A3A9 /* NSString+SSToolkitAdditions.m in Sources */,
E6D8DF4727A942920006A3A9 /* AFURLSessionManager.m in Sources */,
E6D8DF1927A942920006A3A9 /* WLAnalyticsManager.m in Sources */,
E6D8DF5227A942920006A3A9 /* FMDatabase.m in Sources */,
E6D8DF1227A942920006A3A9 /* WLPushManager.m in Sources */,
E6D8DEF827A942920006A3A9 /* WLNativeAdTableViewCell.m in Sources */,
E6D8DF4427A942920006A3A9 /* AFURLResponseSerialization.m in Sources */,
E6D8DEF527A942920006A3A9 /* WLNativeAdsTableMode.m in Sources */,
E6D8DF1C27A942920006A3A9 /* WLUtils.m in Sources */,
E6D8DF1B27A942920006A3A9 /* WLUserManager.m in Sources */,
E6D8DF2027A942920006A3A9 /* Warply.m in Sources */,
E6D8DF2327A942920006A3A9 /* WLSMSActionHandlerDeprecated.m in Sources */,
E6D8DEEE27A942920006A3A9 /* WarplyReactMethods.m in Sources */,
E6D8DEF927A942920006A3A9 /* WLNativeAdCollectionViewCell.m in Sources */,
E6D8DF4E27A942920006A3A9 /* FMDatabaseQueue.m in Sources */,
E6D8DF0827A942920006A3A9 /* WLBaseItem.m in Sources */,
E6D8DF0727A942920006A3A9 /* WLInboxItemViewController.m in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXSourcesBuildPhase section */
/* Begin XCBuildConfiguration section */
E6D8DE6F27A942010006A3A9 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
CLANG_ANALYZER_NONNULL = YES;
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
CLANG_CXX_LANGUAGE_STANDARD = "gnu++17";
CLANG_CXX_LIBRARY = "libc++";
CLANG_ENABLE_MODULES = YES;
CLANG_ENABLE_OBJC_ARC = YES;
CLANG_ENABLE_OBJC_WEAK = YES;
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
CLANG_WARN_BOOL_CONVERSION = YES;
CLANG_WARN_COMMA = YES;
CLANG_WARN_CONSTANT_CONVERSION = YES;
CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
CLANG_WARN_EMPTY_BODY = YES;
CLANG_WARN_ENUM_CONVERSION = YES;
CLANG_WARN_INFINITE_RECURSION = YES;
CLANG_WARN_INT_CONVERSION = YES;
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
CLANG_WARN_STRICT_PROTOTYPES = YES;
CLANG_WARN_SUSPICIOUS_MOVE = YES;
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
COPY_PHASE_STRIP = NO;
CURRENT_PROJECT_VERSION = 1;
DEBUG_INFORMATION_FORMAT = dwarf;
ENABLE_STRICT_OBJC_MSGSEND = YES;
ENABLE_TESTABILITY = YES;
GCC_C_LANGUAGE_STANDARD = gnu11;
GCC_DYNAMIC_NO_PIC = NO;
GCC_NO_COMMON_BLOCKS = YES;
GCC_OPTIMIZATION_LEVEL = 0;
GCC_PREPROCESSOR_DEFINITIONS = (
"DEBUG=1",
"$(inherited)",
);
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
GCC_WARN_UNDECLARED_SELECTOR = YES;
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 15.0;
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
MTL_FAST_MATH = YES;
ONLY_ACTIVE_ARCH = YES;
SDKROOT = iphoneos;
VERSIONING_SYSTEM = "apple-generic";
VERSION_INFO_PREFIX = "";
};
name = Debug;
};
E6D8DE7027A942010006A3A9 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
CLANG_ANALYZER_NONNULL = YES;
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
CLANG_CXX_LANGUAGE_STANDARD = "gnu++17";
CLANG_CXX_LIBRARY = "libc++";
CLANG_ENABLE_MODULES = YES;
CLANG_ENABLE_OBJC_ARC = YES;
CLANG_ENABLE_OBJC_WEAK = YES;
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
CLANG_WARN_BOOL_CONVERSION = YES;
CLANG_WARN_COMMA = YES;
CLANG_WARN_CONSTANT_CONVERSION = YES;
CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
CLANG_WARN_EMPTY_BODY = YES;
CLANG_WARN_ENUM_CONVERSION = YES;
CLANG_WARN_INFINITE_RECURSION = YES;
CLANG_WARN_INT_CONVERSION = YES;
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
CLANG_WARN_STRICT_PROTOTYPES = YES;
CLANG_WARN_SUSPICIOUS_MOVE = YES;
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
COPY_PHASE_STRIP = NO;
CURRENT_PROJECT_VERSION = 1;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
ENABLE_NS_ASSERTIONS = NO;
ENABLE_STRICT_OBJC_MSGSEND = YES;
GCC_C_LANGUAGE_STANDARD = gnu11;
GCC_NO_COMMON_BLOCKS = YES;
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
GCC_WARN_UNDECLARED_SELECTOR = YES;
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 15.0;
MTL_ENABLE_DEBUG_INFO = NO;
MTL_FAST_MATH = YES;
SDKROOT = iphoneos;
VALIDATE_PRODUCT = YES;
VERSIONING_SYSTEM = "apple-generic";
VERSION_INFO_PREFIX = "";
};
name = Release;
};
E6D8DE7227A942010006A3A9 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
APPLICATION_EXTENSION_API_ONLY = NO;
BUILD_LIBRARY_FOR_DISTRIBUTION = NO;
CLANG_ENABLE_MODULES = YES;
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1;
DEFINES_MODULE = YES;
DEVELOPMENT_TEAM = VW5AF53FLP;
DYLIB_COMPATIBILITY_VERSION = 1;
DYLIB_CURRENT_VERSION = 1;
DYLIB_INSTALL_NAME_BASE = "@rpath";
GENERATE_INFOPLIST_FILE = YES;
INFOPLIST_KEY_NSHumanReadableCopyright = "";
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
"@loader_path/Frameworks",
);
MARKETING_VERSION = 1.0;
ONLY_ACTIVE_ARCH = YES;
PRODUCT_BUNDLE_IDENTIFIER = framework.warp.ly.WarplySDKFrameworkIOS;
PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)";
SKIP_INSTALL = YES;
SUPPORTS_MACCATALYST = NO;
SWIFT_EMIT_LOC_STRINGS = YES;
SWIFT_OBJC_BRIDGING_HEADER = "";
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = "1,2";
VALIDATE_WORKSPACE = YES;
};
name = Debug;
};
E6D8DE7327A942010006A3A9 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
APPLICATION_EXTENSION_API_ONLY = NO;
BUILD_LIBRARY_FOR_DISTRIBUTION = NO;
CLANG_ENABLE_MODULES = YES;
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1;
DEFINES_MODULE = YES;
DEVELOPMENT_TEAM = VW5AF53FLP;
DYLIB_COMPATIBILITY_VERSION = 1;
DYLIB_CURRENT_VERSION = 1;
DYLIB_INSTALL_NAME_BASE = "@rpath";
GENERATE_INFOPLIST_FILE = YES;
INFOPLIST_KEY_NSHumanReadableCopyright = "";
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
"@loader_path/Frameworks",
);
MARKETING_VERSION = 1.0;
ONLY_ACTIVE_ARCH = NO;
PRODUCT_BUNDLE_IDENTIFIER = framework.warp.ly.WarplySDKFrameworkIOS;
PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)";
SKIP_INSTALL = YES;
SUPPORTS_MACCATALYST = NO;
SWIFT_EMIT_LOC_STRINGS = YES;
SWIFT_OBJC_BRIDGING_HEADER = "";
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = "1,2";
VALIDATE_WORKSPACE = YES;
};
name = Release;
};
/* End XCBuildConfiguration section */
/* Begin XCConfigurationList section */
E6D8DE6227A942010006A3A9 /* Build configuration list for PBXProject "WarplySDKFrameworkIOS" */ = {
isa = XCConfigurationList;
buildConfigurations = (
E6D8DE6F27A942010006A3A9 /* Debug */,
E6D8DE7027A942010006A3A9 /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
E6D8DE7127A942010006A3A9 /* Build configuration list for PBXNativeTarget "WarplySDKFrameworkIOS" */ = {
isa = XCConfigurationList;
buildConfigurations = (
E6D8DE7227A942010006A3A9 /* Debug */,
E6D8DE7327A942010006A3A9 /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
/* End XCConfigurationList section */
};
rootObject = E6D8DE5F27A942010006A3A9 /* Project object */;
}
<?xml version="1.0" encoding="UTF-8"?>
<Workspace
version = "1.0">
<FileRef
location = "self:">
</FileRef>
</Workspace>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>IDEDidComputeMac32BitWarning</key>
<true/>
</dict>
</plist>