Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Snooze #156

Open
sadia-onyxtec opened this issue Nov 3, 2021 · 1 comment
Open

Snooze #156

sadia-onyxtec opened this issue Nov 3, 2021 · 1 comment
Labels

Comments

@sadia-onyxtec
Copy link

sadia-onyxtec commented Nov 3, 2021

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

@stale
Copy link

stale bot commented Jan 3, 2022

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.

@stale stale bot added the stale label Jan 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant