-> I just implemented the Secure storage to find out that the secure storage would throw an exception if the device itself was not secured with a passcode or pattern.
How did you implement secure storage?
Did you use: https://ionicframework.com/docs/native/secure-storage/