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
Vasilis
2022-02-04 11:13:38 +0200
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
9e1abe65a966269d9bef347cbcd1628d60aca2de
9e1abe65
1 parent
9d57bec4
fixes at logs
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
36 additions
and
15 deletions
WarplySDKFrameworkIOS/Warply/Warply.m
WarplySDKFrameworkIOS/WarplySDKFrameworkIOS.xcworkspace/xcuserdata/billskouras.xcuserdatad/UserInterfaceState.xcuserstate
WarplySDKFrameworkIOS/Warply/Warply.m
View file @
9e1abe6
...
...
@@ -650,7 +650,7 @@ WL_VERSION_IMPLEMENTATION(WL_VERSION)
if
(
failure
)
{
failure
(
error
);
}
NSLog
(
@"Error at
login
%@"
,
error
);
NSLog
(
@"Error at
register
%@"
,
error
);
}];
}
...
...
@@ -1021,7 +1021,7 @@ WL_VERSION_IMPLEMENTATION(WL_VERSION)
NSLog
(
@"Error at token %@"
,
error
);
}];
}
NSLog
(
@"Error at get
cards
%@"
,
error
);
NSLog
(
@"Error at get
delete card
%@"
,
error
);
}
}];
}
...
...
@@ -1057,7 +1057,7 @@ WL_VERSION_IMPLEMENTATION(WL_VERSION)
if
(
failure
)
{
failure
(
error
);
}
NSLog
(
@"Error at
get cards
%@"
,
error
);
NSLog
(
@"Error at
verify ticket
%@"
,
error
);
}];
}
...
...
@@ -1093,7 +1093,7 @@ WL_VERSION_IMPLEMENTATION(WL_VERSION)
NSLog
(
@"Error at token %@"
,
error
);
}];
}
NSLog
(
@"Error at get c
ard
s %@"
,
error
);
NSLog
(
@"Error at get c
oupon
s %@"
,
error
);
}
}];
}
...
...
@@ -1130,7 +1130,7 @@ WL_VERSION_IMPLEMENTATION(WL_VERSION)
NSLog
(
@"Error at token %@"
,
error
);
}];
}
NSLog
(
@"Error at get
cards
%@"
,
error
);
NSLog
(
@"Error at get
transaction history
%@"
,
error
);
}
}];
}
...
...
@@ -1167,7 +1167,7 @@ WL_VERSION_IMPLEMENTATION(WL_VERSION)
NSLog
(
@"Error at token %@"
,
error
);
}];
}
NSLog
(
@"Error at get
cards
%@"
,
error
);
NSLog
(
@"Error at get
points history
%@"
,
error
);
}
}];
}
...
...
@@ -1204,7 +1204,7 @@ WL_VERSION_IMPLEMENTATION(WL_VERSION)
NSLog
(
@"Error at token %@"
,
error
);
}];
}
NSLog
(
@"Error at
get card
s %@"
,
error
);
NSLog
(
@"Error at
add addres
s %@"
,
error
);
}
}];
}
...
...
@@ -1241,7 +1241,7 @@ WL_VERSION_IMPLEMENTATION(WL_VERSION)
NSLog
(
@"Error at token %@"
,
error
);
}];
}
NSLog
(
@"Error at get
card
s %@"
,
error
);
NSLog
(
@"Error at get
addres
s %@"
,
error
);
}
}];
}
...
...
@@ -1323,7 +1323,7 @@ WL_VERSION_IMPLEMENTATION(WL_VERSION)
NSLog
(
@"Error at token %@"
,
error
);
}];
}
NSLog
(
@"Error at edit
profile
%@"
,
error
);
NSLog
(
@"Error at edit
address
%@"
,
error
);
}
}];
}
...
...
@@ -1338,9 +1338,30 @@ WL_VERSION_IMPLEMENTATION(WL_VERSION)
}
}
failureBlock
:^
(
NSError
*
error
)
{
if
(
failure
)
{
NSDictionary
*
dict
=
[
NSDictionary
alloc
];
dict
=
[
error
userInfo
];
NSString
*
errorCode
=
[
dict
objectForKey
:
@"NSLocalizedDescription"
];
if
([
errorCode
isEqual
:
@"Request failed: unauthorized (401)"
])
{
[
self
refreshToken
:
^
(
NSDictionary
*
response
)
{
[
self
sendContext8
:
jsonData
successBlock
:
^
(
NSDictionary
*
contextResponse
)
{
if
(
success
)
{
success
(
contextResponse
);
}
}
failureBlock
:^
(
NSError
*
error
)
{
if
(
failure
)
{
failure
(
error
);
}
NSLog
(
@"Error at get cards %@"
,
error
);
}];
}
failureBlock
:
^
(
NSError
*
error
)
{
if
(
failure
)
{
[
_db
executeUpdate
:
@"DROP TABLE requestVariables"
];
failure
(
error
);
}
NSLog
(
@"Error at token %@"
,
error
);
}];
}
NSLog
(
@"Error at delete address %@"
,
error
);
}
}];
}
...
...
@@ -1376,7 +1397,7 @@ WL_VERSION_IMPLEMENTATION(WL_VERSION)
NSLog
(
@"Error at token %@"
,
error
);
}];
}
NSLog
(
@"Error at
get card
s %@"
,
error
);
NSLog
(
@"Error at
redeem coupon
s %@"
,
error
);
}
}];
}
...
...
@@ -1406,7 +1427,7 @@ WL_VERSION_IMPLEMENTATION(WL_VERSION)
if
(
failure
)
{
failure
(
error
);
}
NSLog
(
@"Error at
get cards
%@"
,
error
);
NSLog
(
@"Error at
forgot password
%@"
,
error
);
}];
}
...
...
@@ -1430,7 +1451,7 @@ WL_VERSION_IMPLEMENTATION(WL_VERSION)
if
(
failure
)
{
failure
(
error
);
}
NSLog
(
@"Error at
get cards
%@"
,
error
);
NSLog
(
@"Error at
request otp
%@"
,
error
);
}];
}
...
...
@@ -1464,7 +1485,7 @@ WL_VERSION_IMPLEMENTATION(WL_VERSION)
if
(
failure
)
{
failure
(
error
);
}
NSLog
(
@"Error at
get cards
%@"
,
error
);
NSLog
(
@"Error at
reset password
%@"
,
error
);
}];
}
...
...
@@ -1514,7 +1535,7 @@ WL_VERSION_IMPLEMENTATION(WL_VERSION)
if
(
failure
)
{
failure
(
error
);
}
NSLog
(
@"Error at
get card
s %@"
,
error
);
NSLog
(
@"Error at
retrieve multilingual merchant
s %@"
,
error
);
}];
}
...
...
WarplySDKFrameworkIOS/WarplySDKFrameworkIOS.xcworkspace/xcuserdata/billskouras.xcuserdatad/UserInterfaceState.xcuserstate
View file @
9e1abe6
No preview for this file type
Please
register
or
login
to post a comment