admin管理员组文章数量:1222506
Hello I want to capture data and save Hive. When app work and I get notification it work with OneSignal.Notifications.addForegroundWillDisplayListener. But I want to capture data when app closoed and I get data I want to save it to hive I am using Flutter with OneSignal for push notifications. When the app is running (foreground), I can capture notification data using: OneSignal.Notifications.addForegroundWillDisplayListener However, I need to capture notification data even when the app is completely closed (killed state) and save it to Hive. I want to • Receive OneSignal notifications when the app is closed. • Capture notification data (additionalData, collapseKey, etc.). • Save this data to Hive for later use.
版权声明:本文标题:android - How can I capture OneSignal notification data when the app is closed (killed state)? - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1739385502a2160910.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论