From c193f325bb9e7bd86c4593eec108251265d13f11 Mon Sep 17 00:00:00 2001 From: harukin-expo-dev-env Date: Tue, 14 Jan 2025 07:40:57 +0000 Subject: [PATCH] =?UTF-8?q?=E3=82=A4=E3=83=9E=E3=82=A4=E3=83=81=E3=81=A0?= =?UTF-8?q?=E3=81=A3=E3=81=9F=E8=A8=AD=E5=AE=9A=E3=82=92=E5=A4=89=E6=9B=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- stateBox/useNotifications.tsx | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/stateBox/useNotifications.tsx b/stateBox/useNotifications.tsx index aae29f2..294ea60 100644 --- a/stateBox/useNotifications.tsx +++ b/stateBox/useNotifications.tsx @@ -36,29 +36,25 @@ async function registerForPushNotificationsAsync() { if (Platform.OS === "android") { Notifications.setNotificationChannelAsync("default", { name: "default", - groupId: "default", - importance: Notifications.AndroidImportance.MAX, + importance: Notifications.AndroidImportance.DEFAULT, vibrationPattern: [0, 250, 250, 250], lightColor: "#FF231F7C", }); Notifications.setNotificationChannelAsync("運行情報", { name: "運行情報", - groupId: "運行情報", - importance: Notifications.AndroidImportance.MAX, + importance: Notifications.AndroidImportance.DEFAULT, vibrationPattern: [0, 250, 250, 250], lightColor: "#FF231F7C", }); Notifications.setNotificationChannelAsync("遅延速報EX", { name: "遅延速報EX", - groupId: "遅延速報EX", - importance: Notifications.AndroidImportance.MAX, + importance: Notifications.AndroidImportance.LOW, vibrationPattern: [0, 250, 250, 250], lightColor: "#FF231F7C", }); Notifications.setNotificationChannelAsync("怪レい列車BOT", { name: "怪レい列車BOT", - groupId: "怪レい列車BOT", - importance: Notifications.AndroidImportance.MAX, + importance: Notifications.AndroidImportance.LOW, vibrationPattern: [0, 250, 250, 250], lightColor: "#FF231F7C", });