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

[ios] sendNotification not working RN 0.63.3 #95

Closed rendomnet closed 3 years ago

rendomnet commented 3 years ago

ios simulator

basic example with


  const alarmNotifData = {
    title: 'My Notification Title',
    message: 'My Notification Message',
    channel: 'my_channel_id',
    small_icon: 'ic_launcher',
    data: { foo: 'bar' },
  };

ReactNativeAN.sendNotification(alarmNotifData);

not working.

I have checked the permissions and they are {sound: true, alert: true, lockScreen: true, badge: true, notificationCenter: true}

I did not edit any native files as I understand RN 0.60> we dont need to edit any native ios or android files, everyhing should be linked automaticaly?

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

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