Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upon resuming the keychain occasionally throws exceptions when getting #1

Open
okonon opened this issue Jan 28, 2016 · 4 comments
Open

Comments

@okonon
Copy link

okonon commented Jan 28, 2016

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.

@okonon
Copy link
Author

okonon commented Jan 28, 2016

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.)

@EddyVerbruggen
Copy link

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.

@okonon
Copy link
Author

okonon commented Jan 29, 2016

@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.

@okonon
Copy link
Author

okonon commented Feb 4, 2016

@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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants