Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
Elixxir dApps SDK Swift
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mobile
iOS
Elixxir dApps SDK Swift
Merge requests
!76
Project 'elixxir/elixxir-dapps-sdk-swift' was moved to 'mobile/ios/elixxir-dapps-sdk-swift'. Please update any links and bookmarks that may still have the old path.
Messenger example - auth requests handling
Code
Review changes
Check out branch
Download
Patches
Plain diff
Expand sidebar
Merged
Messenger example - auth requests handling
feature/messenger-example-request-handling
into
development
Overview
0
Commits
12
Pipelines
0
Changes
2
Merged
Messenger example - auth requests handling
Dariusz Rybicki
requested to merge
feature/messenger-example-request-handling
into
development
Sep 8, 2022
Overview
0
Commits
12
Pipelines
0
Changes
2
0
0
Merge request reports
Viewing commit
81c28379
Prev
Next
Show latest version
2 files
+
8
−
0
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
81c28379
Wait for network and nodes before verifying
· 81c28379
Dariusz Rybicki
authored
Sep 9, 2022
Examples/xx-messenger/Sources/AppCore/AuthCallbackHandler/AuthCallbackHandlerRequest.swift
+
2
−
0
View file @ 81c28379
Edit in single-file editor
Open in Web IDE
Show full file
@@ -33,6 +33,8 @@ extension AuthCallbackHandlerRequest {
dbContact
=
try
db
()
.
saveContact
(
dbContact
)
do
{
try
messenger
.
waitForNetwork
()
try
messenger
.
waitForNodes
()
let
verified
=
try
messenger
.
verifyContact
(
xxContact
)
dbContact
.
authStatus
=
verified
?
.
verified
:
.
verificationFailed
dbContact
=
try
db
()
.
saveContact
(
dbContact
)
Loading