-
Notifications
You must be signed in to change notification settings - Fork 68
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
KeychainSettings
crash in getStringOrNull
#144
Comments
How frequently is it happening? Not sure what I can do without more information, but definitely update here if you figure out more. |
We are using an access group as well like this:
I'm seeing issues where I get:
This happens on the device and not the simulator. What's strange is, I've even tried to clear with
|
Can you try calling SecItemCopyMatching directly and see what status code is returned? |
If someone faces with such issue. You should know, that when you stored values without You should run @russhwolf . I think that |
Oh that's interesting. I haven't considered the case where you change what parameters you pass. Can you describe your use-case more, just to make sure I understand? |
There are no cases=) We just started using this library without any extra configuration by Right now our code looks like this:
|
I also encountered a crash in getStringOrNull, but I cannot extract too much from the strack trace other than: As I understand it, the error() call at Line 268 in 4df8b17
|
@tbgradinariu How are you initializing |
sorry, forgot to mention. |
Hi, I ran into the same crash log. And I inject the
|
I'm also receiving many crash reports for iOS devices such as these:
Here is how I initialize it:
|
@lammertw Do you know whether or not the crashes are happening when the device is locked? |
Unfortunately I don't know, but that was also my suspicion since I'm not able to reproduce it when running the app myself. |
I was trying to keep them separate for a while, but I think ultimately this is going to come down to the same redesign of |
We're seeing a crash (
EXC_CRASH (SIGABRT)
) on iOS 16 devices when callinggetStringOrNull
on aKeychainSettings
instance, in a KMM framework included statically in my iOS app. This occurs across iOS 16 versions (16.1, 16.2, 16.3, 16.4) and device types (iPhone and iPad). Unfortunately it's not something I've been able to recreate yet, nor do I have too much information as we're having some crash report symbolication issues right now.This function is being indirectly called via an Apollo HTTP Interceptor in our app.
We're providing two default properties when creating our singleton
KeychainSettings
instance:The text was updated successfully, but these errors were encountered: