Update: Found root cause. In my case, the background push notification opens the closed app in .background mode, sometimes keychain in the didFinishLaunchingWithOptions method returns nill instead of my tokens.
Topic:
Privacy & Security
SubTopic:
General
Tags: