I've been trying to solve this problem for days now. Currently I'm saving a user id and device id to keychain so if the user installs the app to another device, he/she can access the data from our backend without any problems.
I'm developing on an iPhone, and the second device is an iPad. When I first tested and synced keys, iPad loaded them as expected and everything worked fine. But then, syncing stopped when I started deleting or updating the keys while continuing the development.
Currently both devices are not updating each other.
I tried deleting all the keys, disabling/enabling keychain on both devices, logging out and in again, resetting and logging in. Nothing seems to work. I am unable to continue to progress on the app.
I'm currently stuck with this problem. As you are more experienced with the keychain functionality, you might have seen a similar error before. Do you have a solution or idea for where to look at?
I've been trying to solve this problem for days now. Currently I'm saving a user id and device id to keychain so if the user installs the app to another device, he/she can access the data from our backend without any problems.
I'm developing on an iPhone, and the second device is an iPad. When I first tested and synced keys, iPad loaded them as expected and everything worked fine. But then, syncing stopped when I started deleting or updating the keys while continuing the development.
Currently both devices are not updating each other.
I tried deleting all the keys, disabling/enabling keychain on both devices, logging out and in again, resetting and logging in. Nothing seems to work. I am unable to continue to progress on the app.
I'm currently stuck with this problem. As you are more experienced with the keychain functionality, you might have seen a similar error before. Do you have a solution or idea for where to look at?
Thanks.
This is how I'm writing to keychain:
And this is the read code: