OutSystems / cordova-outsystems-secure-sqlite-bundle

Cordova meta-plugin that bundles requirements for secure SQLite device storage and initialization code for easy usage within OutSystems Platform native mobile apps
1 stars 9 forks source link

RPM-2504 ::: Avoid Keychain's errSecInteractionNotAllowed error on iOS 15 #24

Closed OS-ricardomoreirasilva closed 2 years ago

OS-ricardomoreirasilva commented 2 years ago

Description

For iOS 15, on SecureStorage's init method, if ProtectedData is unavailable, add an observer for the UIApplicationProtectedDataDidBecomeAvailable notification that re-triggers init when it becomes available.

Context

https://outsystemsrd.atlassian.net/browse/RPM-2504

Type of changes

Platforms affected

iOS

Tests

The issue couldn't be replicated.

Checklist