Struggling to get Local Notifications to work

Hi all,

I am trying to use the Local Notifications plugin in my app to give the user a notification every day at time they can set.
I am really struggling to set it to go off every day. Does anyone know how I can do this?

I was never able to get local notifications to schedule correctly in a development build. Building for production and testing through Apples Testflight had completely different and successful results. Let us know which part you’re struggling with so we can help you in that area.

1 Like

Thank you for the reply.

I’m not sure how to write the code to set notifications to go off every day, or every minute to just test it initially. I am running my app through an emulator to test.

I have seen different examples online, but when I use the code it errors so I assume the guides are outdated.

Using this code doesn’t show errors in VS code, but doesn’t give me a notification every minute after the first notification.

this.localNotifications.schedule({
      id:2,
      title: "Test",
      text: "Test text",    
      trigger: { 
        every: ELocalNotificationTriggerUnit.MINUTE,
        firstAt: alertTime
      }
      });

How did you get yours working?