openid / openid/AppAuth-iOS

Confirm alert issue : pops up and disappears / "Attempting to load the view of a view controller while it is deallocating"

Open
#545 10 comments 4 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

question
Dominant language
Objective-C
Stars
2k
Forks
867
Avg merge
4d 48m
Merged PRs (30d)
1

Description

Everything works fine on first connection. Then, once authorization expires, authentication process starts again and is ok until the confirm alert : the alert "confirm you want to sign in..." shows up but disappears fastly, and I'm getting the error : "[Warning] Attempting to load the view of a view controller while it is deallocating is not allowed and may result in undefined behavior (<SFAuthenticationViewController: 0x10e032200>)"
I'm guessing it's a delay question but I can't find a way to solve this. Did anyone already faced and solved this issue ?
I'm on XCode 11.5, ios 13, using cocoaPod

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the authorization-expiry flow on XCode 11.5 and iOS 13, focusing on the confirm alert and the SFAuthenticationViewController deallocation warning. Done means the confirmation alert remains visible during reauthentication and the deallocation warning no longer appears.

Written by the indexing model from the issue text.

Assessment

Tech stack
ios, objective-c
Domain
authentication, mobile-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.