Android 应用未在 Com.onesignal 通知点击中启动

Android app not Launching in Com.onesignal Notification click

我在 android 应用程序中使用 com.onesignal 移动推送通知。我已经使用 Notificationhandler 在通知点击时启动 activity 。当应用程序 运行 在后台时它正在工作,但如果我清除我的记忆并在我的 phone 中发送通知。没有任何反应...请帮我解决这个问题

如果应用被最近 activity 强制关闭或清除,某些 android 手机不会收到推送通知。您可以查看正确提及它的 Onesignal 文档。

When an app is in a "Force Stopped" state most events including GCM/FCM messages for push notifications will not be received.

检查此信息:https://documentation.onesignal.com/docs/notifications-show-successful-but-are-not-being-shown