You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
How do you implement snooze? I have done the following and It does not work.
const alarmNotifData = {
id: "1245", // Required
title: "My Notification Title", // Required
message: "My Notification Message", // Required
channel: "my_channel_id", // Required. Same id as specified in MainApplication's onCreate method
ticker: "My Notification Ticker",
auto_cancel: true, // default: true
vibrate: true,
vibration: 100, // default: 100, no vibration if vibrate: false
small_icon: "ic_launcher", // Required
large_icon: "ic_launcher",
play_sound: true,
sound_name: null, // Plays custom notification ringtone if sound_name: null
schedule_type: 'repeat', // Works with ReactNativeAN.scheduleAlarm so alarm fires once
fire_date: fireDate,
snooze_interval: 2, // Date for firing alarm, Required for ReactNativeAN.scheduleAlarm.
data: { foo: "bar" },
};
The text was updated successfully, but these errors were encountered:
Hola! So here's the deal, between open source and my day job and life and what not, I have a lot to manage, so I use a GitHub bot to automate a few things here and there. This particular GitHub bot is going to mark this as stale because it has not had recent activity for a while. It will be closed if no further activity occurs in a few days. Do not take this personally--seriously--this is a completely automated action. If this is a mistake, just make a comment, DM me, send a carrier pidgeon, or a smoke signal.
How do you implement snooze? I have done the following and It does not work.
const alarmNotifData = {
id: "1245", // Required
title: "My Notification Title", // Required
message: "My Notification Message", // Required
channel: "my_channel_id", // Required. Same id as specified in MainApplication's onCreate method
ticker: "My Notification Ticker",
auto_cancel: true, // default: true
vibrate: true,
vibration: 100, // default: 100, no vibration if vibrate: false
small_icon: "ic_launcher", // Required
large_icon: "ic_launcher",
play_sound: true,
sound_name: null, // Plays custom notification ringtone if sound_name: null
schedule_type: 'repeat', // Works with ReactNativeAN.scheduleAlarm so alarm fires once
fire_date: fireDate,
snooze_interval: 2, // Date for firing alarm, Required for ReactNativeAN.scheduleAlarm.
data: { foo: "bar" },
};
The text was updated successfully, but these errors were encountered: