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", });