emekalites / react-native-alarm-notification

schedule alarm and local notification in react-native
https://www.npmjs.com/package/react-native-alarm-notification
MIT License
225 stars 95 forks source link

Repeat_interval set value is not working #68

Closed sargamverma closed 4 years ago

sargamverma commented 4 years ago

Repeat_interval set time is not set. alarm schedule after 1 min . this is my code.

const alarmNotifData = {
  alarm_id: "22",
  title: "Hello",
  schedule_type: "repeat",
  repeat_interval: 1,
  message: '',
  vibrate: true,
  play_sound: false,
  // schedule_type: "once",
  // data: { content: "my notification id is 22" },
};
const { fireDate } = this.state;
const details = { ...alarmNotifData, fire_date: fireDate };

ReactNativeAN.scheduleAlarm(details);

Same problem with both version "react-native-alarm-notification": "^1.4.0", "react-native-alarm-notification": "^1.4.6",

emekalites commented 4 years ago

Please check the current release v1.6.0. and let us know if its works for you regarding scheduling repeating alarms. Thanks.

stale[bot] commented 4 years ago

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[bot] commented 4 years ago

Closed due to inactivity. Holler if this is a mistake, and we'll re-open it.