nextcloud / nextcloud/ios

App opens without FaceID randomly

Open
#2,215 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Swift
Stars
2.5k
Forks
1k
Avg merge
2d 18h
Merged PRs (30d)
13

Description

Steps to reproduce
  1. Enable FaceID and secure App with a code
  2. Restart the app
  3. Open the App (FaceID will occure)
  4. Close the App (background or completely)
  5. Open it again,...
  6. Do it again (step 4: close, and open it again, multiple times, no matter how long you're waiting between these steps).
Expected behaviour

FaceID always should be checked as set in the app settings.

Actual behaviour

It seems that FaceID randomly not requested. No matter of time between closing (or sending to background) the app. Sometimes the App just opens and everything is usable without a FaceID check.

Reasoning or why should it be changed/implemented?

Security reasons!?

Environment data

iOS version: iOS 16.1 (iPhone 14 Pro)

Nextcloud iOS app version: iOS 4.5.3.0

Nextcloud version: 25.0.0

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 repeated background, close, and reopen sequence on the reported iOS 16.1 and Nextcloud app versions, focusing on the FaceID check across app lifecycle transitions. Done means the app consistently requests FaceID whenever it is enabled and the app is reopened.

Written by the indexing model from the issue text.

Assessment

Tech stack
ios, swift
Domain
authentication, mobile-dev, security
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.