NativeScript / NativeScript/plugins

[@nativescript/local-notifications] Support notification thumbnails on iOS

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

还没有人认领这个 Issue。

主要语言
TypeScript
星标
206
派生
123
平均合并
2 天 1 小时
30 天内合并 PR
1

描述

For local notifications, It would be great to support the thumbnail property on iOS.

It is possible but would require a rewrite to support a Notification Service Extension as outlined in this article.

https://medium.com/@lucasgoesvalle/custom-push-notification-with-image-and-interactions-on-ios-swift-4-ffdbde1f457

贡献指南

打开贡献指南

从这里开始

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

调研方向

首先检查 @nativescript/local-notifications 的 iOS 实现以及链接的 Notification Service Extension 文章。确定 thumbnail 是如何表示的,以及 iOS 通知路径的哪些位置需要扩展支持;完成的标准是本地通知可以在 iOS 上显示 thumbnails,同时不破坏现有行为。

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

评估

技术栈
ios, swift, typescript
领域
mobile
Issue 类型
功能
难度
5/5
预计耗时
一周以上
活跃度
停滞
描述清晰度
基本清楚
新手友好度
25/100

把新 issue 发到你的邮箱

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