arbesfeld
arbesfeld

Reputation: 103

Access Sinch PushPayload before `shouldSendPushNotifications`

I want to send a push immediately to the other client, regardless of their availability. However the shouldSendPushNotifications delegate method is only called ~4 seconds after the call is initialized. Is there a way to access the pushPayload of a call from the SINCall itself?

Upvotes: 1

Views: 96

Answers (1)

cjensen
cjensen

Reputation: 2703

Set setSupportActiveConnectionInBackground:NO and dont startListeningActiveConnecton they you will always have a pushPayload. That is our recomended way of doing it if you want to keep you active usercount down.

Upvotes: 2

Related Questions