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:20 +0200
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
1d0849ce2dd34648b40122139157984656a20dd3
1d0849ce
1 parent
1a2a117d
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 @
1d0849c
...
...
@@ -8292,9 +8292,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