简体   繁体   English

用户杀死应用程序时,OneSignal推送通知失败

[英]OneSignal Push Notification Failed when user kill the application

I have implemented push notification with OneSingal APIs in my android project. 我在Android项目中使用OneSingal API实现了推送通知。 I'm facing an issue while clicking the push notification, that i was unable to launch the specified screen when the user click the push notification, If the user kill the app from background(long press and remove the pplication from list of apps). 我在单击推送通知时遇到问题,当用户单击推送通知时,我无法启动指定的屏幕,如果用户从后台杀死该应用程序(长按并从应用程序列表中删除该应用程序)。 I have registered the Open/Receiver handlers in application class. 我已经在应用程序类中注册了Open / Receiver处理程序。 Seems like, the handlers are no more visible in the app, when user kill/remove the app from background. 似乎,当用户从后台杀死/删除应用程序时,处理程序在应用程序中不再可见。

Please help me to resolve the issue. 请帮助我解决问题。

Unfortunately Android apps are not able to receive notifications when they have been force-closed. 不幸的是,Android应用被强制关闭后无法接收通知。 This is part of the design of the Android OS. 这是Android OS设计的一部分。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM