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 13:56:26 +0200
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
0f64ea7327cda49f85cc9d36b946abff017c3d4e
0f64ea73
1 parent
c67a73d9
fix for compilation error
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
WarplySDKFrameworkIOS/Warply/Warply.m
WarplySDKFrameworkIOS/WarplySDKFrameworkIOS.xcworkspace/xcuserdata/billskouras.xcuserdatad/UserInterfaceState.xcuserstate
WarplySDKFrameworkIOS/Warply/Warply.m
View file @
0f64ea7
...
...
@@ -600,12 +600,13 @@ WL_VERSION_IMPLEMENTATION(WL_VERSION)
}
else
{
[
_db
executeUpdate
:
@"UPDATE requestVariables SET client_id = ? , client_secret = ? WHERE id = 1"
,
clientId
,
clientSecret
];
}
NSDictionary
*
postDictionary2
=
[
NSDictionary
alloc
];
if
([
loginType
isEqual
:
@"email"
])
{
NSDictionary
*
postDictionary2
=
@{
@"app_id"
:
[
contextResponse
objectForKey
:
@"app_id"
],
@"client_id"
:
clientId
,
@"confirm"
:
@"yes"
,
@"email"
:
id
,
@"response_type"
:
@"code"
,
@"scope"
:
[
loginType
stringByAppendingString
:
@" app_id"
]
};
postDictionary2
=
@{
@"app_id"
:
[
contextResponse
objectForKey
:
@"app_id"
],
@"client_id"
:
clientId
,
@"confirm"
:
@"yes"
,
@"email"
:
id
,
@"response_type"
:
@"code"
,
@"scope"
:
[
loginType
stringByAppendingString
:
@" app_id"
]
};
}
else
if
([
loginType
isEqual
:
@"msdisdn"
])
{
NSDictionary
*
postDictionary2
=
@{
@"app_id"
:
[
contextResponse
objectForKey
:
@"app_id"
],
@"client_id"
:
clientId
,
@"confirm"
:
@"yes"
,
@"msisdn"
:
id
,
@"response_type"
:
@"code"
,
@"scope"
:
[
loginType
stringByAppendingString
:
@" app_id"
]
};
postDictionary2
=
@{
@"app_id"
:
[
contextResponse
objectForKey
:
@"app_id"
],
@"client_id"
:
clientId
,
@"confirm"
:
@"yes"
,
@"msisdn"
:
id
,
@"response_type"
:
@"code"
,
@"scope"
:
[
loginType
stringByAppendingString
:
@" app_id"
]
};
}
else
{
NSDictionary
*
postDictionary2
=
@{
@"app_id"
:
[
contextResponse
objectForKey
:
@"app_id"
],
@"client_id"
:
clientId
,
@"confirm"
:
@"yes"
,
@"username"
:
id
,
@"response_type"
:
@"code"
,
@"scope"
:
[
loginType
stringByAppendingString
:
@" app_id"
]
};
postDictionary2
=
@{
@"app_id"
:
[
contextResponse
objectForKey
:
@"app_id"
],
@"client_id"
:
clientId
,
@"confirm"
:
@"yes"
,
@"username"
:
id
,
@"response_type"
:
@"code"
,
@"scope"
:
[
loginType
stringByAppendingString
:
@" app_id"
]
};
}
NSData
*
jsonData2
=
[
NSJSONSerialization
dataWithJSONObject
:
postDictionary2
options
:
0
error
:
NULL
];
[
self
sendContext4
:
jsonData2
successBlock
:
^
(
NSDictionary
*
contextResponse
)
{
...
...
WarplySDKFrameworkIOS/WarplySDKFrameworkIOS.xcworkspace/xcuserdata/billskouras.xcuserdatad/UserInterfaceState.xcuserstate
View file @
0f64ea7
No preview for this file type
Please
register
or
login
to post a comment