Showing
3 changed files
with
4 additions
and
1 deletions
... | @@ -20,6 +20,7 @@ NSString *MERCHANT_ID; | ... | @@ -20,6 +20,7 @@ NSString *MERCHANT_ID; |
20 | NSString *LANG; | 20 | NSString *LANG; |
21 | NSDate *date; | 21 | NSDate *date; |
22 | CMPedometer *pedometer; | 22 | CMPedometer *pedometer; |
23 | +NSString *VERIFY_URL = @"/partners/cosmote/verify"; | ||
23 | 24 | ||
24 | - (void)initialize:(NSDictionary *)launchOptions uuid:(NSString*)uuid merchantId:(NSString*)merchantId lang:(NSString*)lang{ | 25 | - (void)initialize:(NSDictionary *)launchOptions uuid:(NSString*)uuid merchantId:(NSString*)merchantId lang:(NSString*)lang{ |
25 | #if (DEBUG == 1) | 26 | #if (DEBUG == 1) | ... | ... |
... | @@ -28,11 +28,13 @@ | ... | @@ -28,11 +28,13 @@ |
28 | //#define WARP_PRODUCTION_BASE_URL @"https://engage-stage.warp.ly" | 28 | //#define WARP_PRODUCTION_BASE_URL @"https://engage-stage.warp.ly" |
29 | //#define WARP_HOST @"engage-stage.warp.ly" | 29 | //#define WARP_HOST @"engage-stage.warp.ly" |
30 | //#define WARP_ERROR_DOMAIN @"engage-stage.warp.ly" | 30 | //#define WARP_ERROR_DOMAIN @"engage-stage.warp.ly" |
31 | +//#define VERIFY_URL @"/partners/cosmote/verify" | ||
31 | extern NSString* WARP_PRODUCTION_BASE_URL; | 32 | extern NSString* WARP_PRODUCTION_BASE_URL; |
32 | extern NSString* WARP_HOST; | 33 | extern NSString* WARP_HOST; |
33 | extern NSString* WARP_ERROR_DOMAIN; | 34 | extern NSString* WARP_ERROR_DOMAIN; |
34 | extern NSString* MERCHANT_ID; | 35 | extern NSString* MERCHANT_ID; |
35 | extern NSString* LANG; | 36 | extern NSString* LANG; |
37 | +extern NSString* VERIFY_URL; | ||
36 | #define WARP_PAGE_URL_FORMAT @"%@/api/session/%@" | 38 | #define WARP_PAGE_URL_FORMAT @"%@/api/session/%@" |
37 | #define WARP_IMAGE_URL_FORMAT @"%@/api/session/logo/%@" | 39 | #define WARP_IMAGE_URL_FORMAT @"%@/api/session/logo/%@" |
38 | 40 | ... | ... |
... | @@ -4026,7 +4026,7 @@ CGFloat DistanceBetweenTwoPoints(CGPoint point1,CGPoint point2) | ... | @@ -4026,7 +4026,7 @@ CGFloat DistanceBetweenTwoPoints(CGPoint point1,CGPoint point2) |
4026 | failureBlock:(void (^)(NSError *error))failureBlock | 4026 | failureBlock:(void (^)(NSError *error))failureBlock |
4027 | { | 4027 | { |
4028 | //Create REQUEST | 4028 | //Create REQUEST |
4029 | - NSMutableString *urlString = [NSMutableString stringWithFormat:@"%@/partners/gapp/verify", _baseURL]; | 4029 | + NSMutableString *urlString = [NSMutableString stringWithFormat:@"%@%@", _baseURL, VERIFY_URL]; // /partners/cosmote/verify |
4030 | WLLOG(@"[WARP Trace] HTTP URL: %@", urlString); | 4030 | WLLOG(@"[WARP Trace] HTTP URL: %@", urlString); |
4031 | 4031 | ||
4032 | NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:urlString] cachePolicy:NSURLRequestReloadIgnoringLocalCacheData timeoutInterval:100]; | 4032 | NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:urlString] cachePolicy:NSURLRequestReloadIgnoringLocalCacheData timeoutInterval:100]; | ... | ... |
-
Please register or login to post a comment