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
2023-01-26 18:58:49 +0200
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
e6f4827371e318dc1a697a9cfede8efc21c693cb
e6f48273
1 parent
9f11206d
fix verifyTicket crash
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
2 deletions
SwiftWarplyFramework/SwiftWarplyFramework/Warply/Warply.m
SwiftWarplyFramework/SwiftWarplyFramework/Warply/Warply.m
View file @
e6f4827
...
...
@@ -2420,7 +2420,12 @@ WL_VERSION_IMPLEMENTATION(WL_VERSION)
// NSLog(@"Finally condition");
}
NSDictionary
*
postDictionary
=
@{
@"guid"
:
guid
,
@"app_uuid"
:
appUuid
,
@"ticket"
:
ticket
};
// NSDictionary *postDictionary = @{@"guid" : guid, @"app_uuid": appUuid, @"ticket": ticket};
NSMutableDictionary
*
postDictionary
=
[[
NSMutableDictionary
alloc
]
init
];
[
postDictionary
setValue
:
guid
forKey
:
@"guid"
];
[
postDictionary
setValue
:
appUuid
forKey
:
@"app_uuid"
];
[
postDictionary
setValue
:
ticket
forKey
:
@"ticket"
];
NSData
*
jsonData
=
[
NSJSONSerialization
dataWithJSONObject
:
postDictionary
options
:
0
error
:
NULL
];
[
self
sendContext10
:
jsonData
successBlock
:
^
(
NSDictionary
*
contextResponse
)
{
NSDictionary
*
tokens
=
[
NSDictionary
alloc
];
...
...
@@ -2467,7 +2472,11 @@ WL_VERSION_IMPLEMENTATION(WL_VERSION)
{
// NSString* appUuid = [NSString alloc];
// appUuid = [WLKeychain getStringForKey:@"NBAPPUuid"];
NSDictionary
*
postDictionary
=
@{
@"user_identifier"
:
guid
};
// NSDictionary *postDictionary = @{@"user_identifier" : guid};
NSMutableDictionary
*
postDictionary
=
[[
NSMutableDictionary
alloc
]
init
];
[
postDictionary
setValue
:
guid
forKey
:
@"user_identifier"
];
NSData
*
jsonData
=
[
NSJSONSerialization
dataWithJSONObject
:
postDictionary
options
:
0
error
:
NULL
];
[
self
sendContextGetCosmoteUser
:
jsonData
successBlock
:
^
(
NSDictionary
*
contextResponse
)
{
NSDictionary
*
tokens
=
[
NSDictionary
alloc
];
...
...
Please
register
or
login
to post a comment