Notifications.scheduleNotificationAsync when called 2nd time resulted in undefined is not a function at getRandomBase64
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 32/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- android, javascript, react-native
- 領域
- mobile
調査の方向性
まず、issue に示されている Notifications.scheduleNotificationAsync の 2 回連続した呼び出しで Android のケースを再現し、次に undefined getRandomBase64 エラーを追跡します。2 つ目の通知が正常にスケジュールされ、有効なリクエスト結果を返せば完了です。issue では対象とするファイルやテストは指定されていません。
索引モデルが issue の本文から書いたものです。
説明
Describe the bug
Notifications.scheduleNotificationAsync when called 2nd time resulted in undefined is not a function at getRandomBase64
To Reproduce
Steps to reproduce the behavior:
const notificationContent1 = {
title: 'Notification 1',
body: 'This is notification 1.',
identifier: 'notification_1',
};
const notificationReq1 = await Notifications.scheduleNotificationAsync({
content: notificationContent1,
trigger: {
seconds: 30,
},
});
console.log(
"notificationReq1:",
notificationReq1
);
const notificationContent2 = {
title: 'Notification 2',
body: 'This is notification 2.',
identifier: 'notification_2',
};
const notificationReq2 = await Notifications.scheduleNotificationAsync({
content: notificationContent2,
trigger: {
seconds: 60,
},
});
console.log(
"notificationReq2:",
notificationReq2
);
Expected behavior
A news Notification has to be set.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Android
Smartphone (please complete the following information):
Android
Additional context
Add any other context about the problem here.
- 主要言語
- JavaScript
- スター
- 13.2k
- フォーク
- 1.3k
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
expo/create-react-native-app のほかの issue
-
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
expo/create-react-native-app#947 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 10/100
expo/create-react-native-app#946 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 30/100
expo/create-react-native-app#945 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 20/100
expo/create-react-native-app#931 · コメント 14 件 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 25/100
expo/create-react-native-app#929 ·
expo/create-react-native-app の issue をすべて見る
似ている issue
-
bug data-types
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
ClickHouse/clickhouse-js#1293 ·
メンテナーはふだん 1 日以内に返信
-
area: tests help wanted size/s
難易度 2/5 1〜3時間 初心者へのやさしさ 92/100
DahanItamar/DockNest#368 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
-
good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100