Open okonon opened 8 years ago
I'm using ionic, angular, cordova and this keychain plugin.
We are unable to release the app due to this issue. Could you please look into this.
Here are some logs. 2015-07-03 16:49:13.690 Moica-Dev1[4482:624229] appUpdateView: restarting app 2015-07-03 16:49:13.691 Moica-Dev1[4482:624229] setting location to home page 2015-07-03 16:49:13.692 Moica-Dev1[4482:624229] resetting application 2015-07-03 16:49:13.706 Moica-Dev1[4482:624229] Resetting plugins due to page load. 2015-07-03 16:49:14.566 Moica-Dev1[4482:624229] THREAD WARNING: ['Keychain'] took '22.825195' ms. Plugin should use a background thread. 2015-07-03 16:49:14.567 Moica-Dev1[4482:624229] error reading credentials from keyChain : error retrieving value for key 'credentials' : The operation couldn’t be completed. (SFHFKeychainUtilsErrorDomain error -34018.)
This plugin is a fork (with the exact same content) as the one you've just posted this issue to as well. Let's give the maintainer(s) over there a little time to respond before I jump on it.
@EddyVerbruggen thank you so much for a prompt reply. It looks like that maintains of the original repo are not looking into it. The issue is open for 11 months and maintainers have not left a single comment.
@EddyVerbruggen it looks like the original repo maintainer @shzeron does not have time to maintain his repo. Do you think you can take it over? Please see my latest comment here: https://github.com/shazron/KeychainPlugin/issues/20
After using the app to set/get keys and if the app sleeps and resumes, on occasion (perhaps after opening other memory-heavy apps in between) the keychain throws on get:
The operation couldn’t be completed. (SFHFKeychainUtilsErrorDomain error -34018.)
Re-trying does not seem to work, only killing and restarting the app does.