Dismissing a daily local notification, before the app sends the next one

Please provide the following:
SDK Version: 47.0.12
2. Platforms(Android/iOS/web/all): Android
3. Add the appropriate “Tag” based on what Expo library you have a question on. - Expo-Notifications

I’m scheduling a daily notification for the user like this:

        content: {
          title: "Your message here",
          body: 'Touch to enter',
        trigger: {
          hour: hrInt,
          minute: minInt,
          repeats: true,

the hrInt and minInt are variables that got there from somewhere else and it all works fine.

What I want to achieve is this:
I want that when the app sends a notification, it will either replace the current one in the tray or dismiss the current one and then send the next one, so that I don’t stack notifications in the tray.

I can’t seem to find an easy way to do so.

Any help?

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.