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
2025-01-23 18:05:49 +0200
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
add0e97380279f3b4bebe9b87de8e938106a8a27
add0e973
1 parent
5fcb6e6f
fix jwt check
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
SwiftWarplyFramework/SwiftWarplyFramework/Warply/Warply.m
SwiftWarplyFramework/SwiftWarplyFramework/Warply/Warply.m
View file @
add0e97
...
...
@@ -8225,9 +8225,10 @@ static void distanceFunc(sqlite3_context *context, int argc, sqlite3_value **arg
NSLog
(
@"Beacon scanning is disabled"
);
}
if
([
applicationVariables
objectForKey
:
WL_AUTHENTICATION
])
{
NSString
*
authValue
=
[
applicationVariables
objectForKey
:
WL_AUTHENTICATION
];
if
(
authValue
&&
[
authValue
isEqualToString
:
@"JWT"
])
{
id
authValueObject
=
[
applicationVariables
objectForKey
:
WL_AUTHENTICATION
];
if
(
authValueObject
&&
authValueObject
!=
[
NSNull
null
])
{
NSString
*
authValue
=
(
NSString
*
)
authValueObject
;
if
([
authValue
isEqualToString
:
@"JWT"
])
{
// AUTHENTICATION key exists and its value is "JWT"
[
defaults
setBool
:
YES
forKey
:
WL_IS_JWT_ENABLED
];
}
else
{
...
...
Please
register
or
login
to post a comment