Post

Replies

Boosts

Views

Activity

iOS 14 Widget keychain issue.
My widget uses keychain to retrieve access token to fetch data from server. Also, my widget has a "logouted" state, if token is nil, then widget shows "Error state View". I found a strange bug when my widget sometimes thinks that token is nil. I can't catch this bug in debug env at all, but after sometime my widget shows "unauthorised view". If I open the app and go back to the springboard, my widget shows fetched data again, so it means that token is not nil. I noticed that this state was when app was not in memory, so I tapped on the widget, and it launched from the beginning.
2
0
883
Dec ’20