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-07-25 13:07:43 +0300
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
851ebe0069d74fc5f2d811501caa0a160009f662
851ebe00
1 parent
5be8b25c
fix consumerIntegration request
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
16 deletions
SwiftWarplyFramework/SwiftWarplyFramework/Warply/Warply.m
SwiftWarplyFramework/SwiftWarplyFramework/Warply/Warply.m
View file @
851ebe0
...
...
@@ -1235,29 +1235,29 @@ WL_VERSION_IMPLEMENTATION(WL_VERSION)
{
NSMutableDictionary
*
data
=
[[
NSMutableDictionary
alloc
]
init
];
if
(
nonTelco
&&
!
[
nonTelco
isEqual
:
@NO
])
{
//
if (nonTelco && ![nonTelco isEqual:@NO]) {
[
data
setValue
:
nonTelco
forKey
:
@"nonTelco"
];
}
else
{
[
data
setValue
:
0
forKey
:
@"nonTelco"
];
}
//
} else {
//
[data setValue:0 forKey:@"nonTelco"];
//
}
if
(
acceptedConsent
&&
!
[
acceptedConsent
isEqual
:
@NO
])
{
//
if (acceptedConsent && ![acceptedConsent isEqual:@NO]) {
[
data
setValue
:
acceptedConsent
forKey
:
@"acceptedConsent"
];
}
else
{
[
data
setValue
:
0
forKey
:
@"acceptedConsent"
];
}
//
} else {
//
[data setValue:0 forKey:@"acceptedConsent"];
//
}
if
(
msisdnList
&&
(
msisdnList
!=
nil
)
&&
([
msisdnList
count
]
!=
0
))
{
//
if (msisdnList && (msisdnList != nil) && ([msisdnList count] != 0)) {
[
data
setValue
:
msisdnList
forKey
:
@"msisdnList"
];
}
else
{
[
data
setValue
:
nil
forKey
:
@"msisdnList"
];
}
//
} else {
//
[data setValue:nil forKey:@"msisdnList"];
//
}
if
(
guid
&&
!
[
guid
isEqual
:
@""
])
{
//
if (guid && ![guid isEqual:@""]) {
[
data
setValue
:
guid
forKey
:
@"guid"
];
}
else
{
[
data
setValue
:
@""
forKey
:
@"guid"
];
}
//
} else {
//
[data setValue:@"" forKey:@"guid"];
//
}
NSMutableDictionary
*
consumerData
=
[[
NSMutableDictionary
alloc
]
init
];
[
consumerData
setValue
:
@"integration"
forKey
:
@"action"
];
...
...
Please
register
or
login
to post a comment