I am having trouble with the Twilio iOS chat client. In short, when I try to create a chat client, the process begins but never completes. I make a call to TwilioChatClient.chatClientWithToken:properties:delegate:completion:, and the completion never runs. I provide a delegate for the chat client, and its chatClient:synchronizationStatusUpdated: function gets called once with the status argument set to TCHClientSynchronizationStatusStarted, but that function is never called again.
I don't have this problem when I create a client using the same token (except for the APN or FCM push credential) on Android. I also don't have this problem on iOS or Android in my development environment, which uses a different Twilio account from my staging environment, where I'm seeing this error. One might conclude that I've misconfigured something in my staging environment, but, even if that were the case, I would expect client creation to finish with a failure status, not start and never finish.
Can anyone shed some light on this problem? I'm using version 2.0.0 of the iOS Chat library and version 1.0.0 of the Android library.