在 `shouldSendPushNotifications` 之前访问 Sinch PushPayload

Access Sinch PushPayload before `shouldSendPushNotifications`

我想立即向其他客户端发送推送,而不管他们是否可用。但是 shouldSendPushNotifications 委托方法仅在调用初始化后约 4 秒被调用。有没有办法从 SINCall 本身访问调用的 pushPayload

设置 setSupportActiveConnectionInBackground:NO 并且不要启动 ListeningActiveConnecton,您将始终拥有 pushPayload。如果您想减少活跃用户数,这是我们推荐的方法。