Keychain bug with iOS 14 Widgets?

We use keychain to sync some data between the widget and the main app. When the widget is being previewed in the gallery, it shows the correct data that was synced from the app - but the moment the user adds the widget on to their home screen, the data(that was previously shown on the gallery) no longer persists and instead defaults to the placeholder text. This very same code works fine locally. Any ideas what's going on here?
Answered by Jordan-rpcb in 637539022
One thing to note about my initial question, we share code between the gallery and the timeline provider delegate functions. So it's the exact same code.

So we did the reverse of this problem, and I wonder if this is causing the same issue - https://developer.apple.com/forums/thread/661247
Accepted Answer
One thing to note about my initial question, we share code between the gallery and the timeline provider delegate functions. So it's the exact same code.

So we did the reverse of this problem, and I wonder if this is causing the same issue - https://developer.apple.com/forums/thread/661247
So the problem was this: https://developer.apple.com/forums/thread/650333

It's why it was working when testing, but not live.
Keychain bug with iOS 14 Widgets?
 
 
Q