Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在开发一个启用 pushNotification 的应用程序。当应用程序处于非活动模式时,它会收到推送通知。当用户单击推送通知应用程序正在打开时。我不想在单击推送通知时打开应用程序。是否可以这样做?谢谢进步
没有办法做到这一点。为什么你还是想这样做?如果您不希望用户交互,您可能应该使用声音通知而不是横幅/警报。