Toggle navigation
Toggle navigation
This project
Loading...
Sign in
open-source
/
warply_sdk_framework
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Graphs
Network
Create a new issue
Commits
Issue Boards
Authored by
Manos Chorianopoulos
2022-06-17 17:59:48 +0300
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
c3ed3c6bb63f972bdc7de5c338b2e90b2257b214
c3ed3c6b
1 parent
2ad278f9
change VERIFY_URL
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
1 deletions
SwiftWarplyFramework/SwiftWarplyFramework/MyApi.m
SwiftWarplyFramework/SwiftWarplyFramework/Warply/WLGlobals.h
SwiftWarplyFramework/SwiftWarplyFramework/Warply/Warply.m
SwiftWarplyFramework/SwiftWarplyFramework/MyApi.m
View file @
c3ed3c6
...
...
@@ -20,6 +20,7 @@ NSString *MERCHANT_ID;
NSString
*
LANG
;
NSDate
*
date
;
CMPedometer
*
pedometer
;
NSString
*
VERIFY_URL
=
@"/partners/cosmote/verify"
;
-
(
void
)
initialize
:(
NSDictionary
*
)
launchOptions
uuid
:(
NSString
*
)
uuid
merchantId
:(
NSString
*
)
merchantId
lang
:(
NSString
*
)
lang
{
#if (DEBUG == 1)
...
...
SwiftWarplyFramework/SwiftWarplyFramework/Warply/WLGlobals.h
View file @
c3ed3c6
...
...
@@ -28,11 +28,13 @@
//#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/%@"
...
...
SwiftWarplyFramework/SwiftWarplyFramework/Warply/Warply.m
View file @
c3ed3c6
...
...
@@ -4026,7 +4026,7 @@ CGFloat DistanceBetweenTwoPoints(CGPoint point1,CGPoint point2)
failureBlock
:
(
void
(
^
)(
NSError
*
error
))
failureBlock
{
//Create REQUEST
NSMutableString
*
urlString
=
[
NSMutableString
stringWithFormat
:
@"%@
/partners/gapp/verify"
,
_baseURL
];
NSMutableString
*
urlString
=
[
NSMutableString
stringWithFormat
:
@"%@
%@"
,
_baseURL
,
VERIFY_URL
];
// /partners/cosmote/verify
WLLOG
(
@"[WARP Trace] HTTP URL: %@"
,
urlString
);
NSMutableURLRequest
*
request
=
[
NSMutableURLRequest
requestWithURL
:[
NSURL
URLWithString
:
urlString
]
cachePolicy
:
NSURLRequestReloadIgnoringLocalCacheData
timeoutInterval
:
100
];
...
...
Please
register
or
login
to post a comment