NativeScript / NativeScript/firebase

Foreground and background notifications OK, but what about when the app is killed?

未关闭
#244 3 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

主要语言
TypeScript
星标
62
派生
53
平均合并
8 天 4 小时
30 天内合并 PR
2

描述

Hi,
The documentation talks about how the application state affects notifications while in foreground and background, but there is no information on when the application is killed. Is there anything we can do when an application is killed? Can we detect the if the application has been opened from a notification or something?

I have had complaints that the app I am working on "only" opens when a notification has been received and the application is killed, compared to when it's in the background and I change page when the notification is tapped on. I was wondering if there is something I'm missing or some logic I can add for this.

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

首先查看现有的通知文档,其中涵盖应用处于前台和后台状态的情况,然后将文档中描述的行为与 iOS 和 Android 上应用被终止时的处理进行比较。完成标准是记录当应用被终止时,是否支持检测通知打开或其他处理,包括任何平台差异或限制。

由索引模型根据 Issue 内容生成。

评估

技术栈
android, firebase, ios, typescript
领域
documentation, mobile
Issue 类型
文档
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
25/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。