当用户不响应推送通知时会发生什么?
假设用户收到通知。用户没有响应通知。会发生什么?会自动关闭吗?如果是,设备上的通知到期时间是多长?提前致谢。
Lets assume a user receives a notification. The user did not respond to notification. what happens? will it automatically get closed? if yes, what is the duration for the expiry of notification on the device? Thanks in advance.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
通知不会自动关闭,但如果有另一个通知进来(无论是短信、语音邮件,甚至是来自另一个应用程序的通知),那么您的通知将实际上消失。如果通知有效负载包含您的应用程序的徽章编号,那么该徽章编号将会更新;除此之外,一旦另一个通知取代它,你的通知就会消失。
The notification will not automatically get closed, but if another one comes in—be it a text message, a voicemail, or even a notification from another app—then your notification will effectively vanish. If the notification payload includes a badge number for your app, then that will get updated; aside from that, though, once another notification supersedes it, yours is gone.
对于您的应用程序,行为将与点击关闭按钮相同。
To your app the behaviour will be the same as if he tapped the close button.
如果用户没有响应,您的应用程序将永远不会知道。推送消息将保留在屏幕上,直到手机解锁或收到其他消息(短信或其他推送通知)
If the user doesn't respond, your app will never know. The push message will remain on the screen until the phone is unlocked or some other message is received (SMS or other push notification)