Giter VIP home page Giter VIP logo

Comments (4)

keepassium avatar keepassium commented on May 29, 2024

Thank you for the feedback!

Closing the app will sometimes, especially when closing the app right after unlocking through FaceID, not show the splash

Just to be sure: is it "especially" or "only"?

I can confirm the "only" case: if the app is minimized during Face ID animation, the UI might appear uncovered. This is due to a technical challenge:

  • Face ID prompt appears as a separate system-controlled window above KeePassium.
  • When it appears, the system notifies the app that it was just sent to background/minimized.
  • After a successful Face ID scan, the system notifies the app about success, but still shows Face ID animation for 1-2 seconds (depending on device).
  • During this time, the app is in a limbo state: it already knows Face ID was successful, but the app is still "in background".
  • Unlocking the app immediately proved to be a bad idea: once Face ID animation finishes and KeePassium becomes the "foreground" app, it would detect that was just switched to and needs to lock up. This causes Face ID prompts to appear repeatedly.
  • To work around this issue, the app delays unlocking by a second (or two). This prevents racing conflicts between Face ID notifications and app state transitions.

But as a side effect, if you minimize the app during Face ID animation, the app switcher screenshot might indeed catch the app unlocked after the Face ID delay. The best solution I can offer at the moment is to avoid minimizing the app during Face ID animation... (aka "just avoid holding it in that way".)

Have you noticed other scenarios where the issue occurs?

from keepassium.

keepassium avatar keepassium commented on May 29, 2024

@bob-lobster , any feedback on the questions above?

from keepassium.

bob-lobster avatar bob-lobster commented on May 29, 2024

Thanks for your reply and sorry for not getting back directly.

I indeed canβ€˜t replicate it in any other scenario.

I have tried replicating it in other apps though.

In my banking app it never happens. In Microsoft Authenticator it is harder to replicate but can happen with the right timing.

Since it is a niche scenario I agree it can be worked around.

from keepassium.

keepassium avatar keepassium commented on May 29, 2024

Thank you for the update. In this case I will close this as a known limitation.

from keepassium.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.