イマイチだった設定を変更

This commit is contained in:
harukin-expo-dev-env 2025-01-14 07:40:57 +00:00
parent b02a2dd77a
commit c193f325bb

View File

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