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-11-02 16:30:46 +0200
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
be78d3a8e2aa2331d1004a1403cc0c1f2c75daed
be78d3a8
1 parent
e94e45bf
fix initialize crash
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
3 deletions
SwiftWarplyFramework/SwiftWarplyFramework.xcworkspace/xcuserdata/manos.xcuserdatad/UserInterfaceState.xcuserstate
SwiftWarplyFramework/SwiftWarplyFramework/Warply/Warply.m
SwiftWarplyFramework/SwiftWarplyFramework.xcworkspace/xcuserdata/manos.xcuserdatad/UserInterfaceState.xcuserstate
View file @
be78d3a
No preview for this file type
SwiftWarplyFramework/SwiftWarplyFramework/Warply/Warply.m
View file @
be78d3a
...
...
@@ -250,9 +250,12 @@ typedef void (^FailureResponse)(NSURLSessionDataTask * _Nullable task, NSError *
NSLog
(
@"restore error: %@"
,
exception
.
reason
);
NSUserDefaults
*
defaults
=
[
NSUserDefaults
standardUserDefaults
];
self
.
appUUID
=
[
defaults
stringForKey
:
@"NBAPPUuidUD"
];
self
.
apiKey
=
[
defaults
stringForKey
:
@"NBAPIKeyUD"
];
self
.
webId
=
[
defaults
stringForKey
:
@"NBWebIDUD"
];
if
([
defaults
boolForKey
:
@"NBAppUninstalled"
]
==
YES
)
{
NSUserDefaults
*
defaults
=
[
NSUserDefaults
standardUserDefaults
];
self
.
appUUID
=
[
defaults
stringForKey
:
@"NBAPPUuidUD"
];
self
.
apiKey
=
[
defaults
stringForKey
:
@"NBAPIKeyUD"
];
self
.
webId
=
[
defaults
stringForKey
:
@"NBWebIDUD"
];
}
}
@finally
{
// NSLog(@"Finally condition");
...
...
Please
register
or
login
to post a comment