0

I am trying to implement silent remote condition on CLIENT SIDE.

Basically, I will receive a notification from the server and once I received, I will decide whether to silent the notification depends on some conditions before user device get notified.

So instead of setting content-available on server side, I wondering if there's any way to implement this on client side (iOS Swift code)?

4

1 に答える 1

0

私の知る限り、それはできません。

サーバーから APNS に通知を送信した後、次にコードを実行できるのは、ユーザーが通知に応答するか、アプリを起動したときです。Apple はその間のすべてを処理します。

于 2017-01-06T08:23:12.957 に答える