Saturday, November 7, 2026
HomeiOS Developmentswift - Keychain knowledge is worn out robotically after 20+ minutes machine...

swift – Keychain knowledge is worn out robotically after 20+ minutes machine is locked and never touched in particularly iOS 15+

[ad_1]

We at the moment dealing with very unusual difficulty in iOS 15

Keychain knowledge is worn out robotically after roughly 20+ minutes machine is locked and never touched in particularly iOS 15+. In decrease variations of iOS all works positive and knowledge will not be cleared.

This difficulty is inflicting authentication issues.

Code that we at the moment use in appCoordinator:

if context.auth.isSignedIn {
      showMainFeed()
   } else {
      showOnboarding()
   }
}

AppCoordinator is being initialized in app did end launching with choices and began there as properly.

isSignedIn is a property that checks if keychain has any auth knowledge(for instance refresh, jwt tokens)

That is why consumer after some time has to begin log in time and again and once more.

Did anybody confronted the identical difficulty ?

[ad_2]

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments