1

I haven't found the exact answer to this elsewhere on this site. The goal is to send a silent remote notification (no user alert/badge/sound) to my app, with a custom payload, and then have the app process this even if it was not running when the notification was received. If the app was not running, is it notified and given a chance to process the (silent) notification? Or is it only notified the next time the app is launched?

So far, I've only been able to confirm that you can receive a non-silent notification when the app is not running, or a silent notification when the app IS running. I haven't seen confirmation of what happens if you receive a silent notification and are not running.

4

1 回答 1

1

从本质上讲,到目前为止我能够找到的答案(并且@Sebrasi 同意上述)是我所要求的是不可能的。当通知进来时,应用程序不会获得任何处理时间,除非它已经在运行或用户以一种或另一种方式通过 UI 启动它。

于 2012-08-23T16:52:43.937 回答