NativeScript / NativeScript/plugins

[@nativescript/local-notifications] Is there a way to handle Notifications if the app is in foreground?

オープン
#442 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

主要言語
TypeScript
スター
206
フォーク
123
平均マージ
2日 1時間
マージ済み PR(30日)
1

説明

My problem is that I want to handle notifications that are shown differently than notifications that are not shown.
Basically if the application is in the foreground I want to display an in-app page.

IIRC there is only one handler for click events on the notification.

Can anybody help me with this problem?

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

まず、@nativescript/local-notifications のフォアグラウンド通知と通知クリック処理のエントリポイントを確認します。フォアグラウンドでの配信を表示された通知と区別できるかどうかを判断し、アプリ内で期待される動作を定義します。完了時には、フォアグラウンド通知の処理が文書化またはテストされている必要があります。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
typescript
領域
mobile
issue の種類
機能追加
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。