How to autohide LocalNotification after interval in Capacitor?

Viewed 101

I have tried this code but getting error in timeoutAfter method as it is not recognized.

LocalNotifications.schedule({
      notifications: [
        {
          title: "Incoming Call",
          body: bodyValue,
          id: idValue,
          timeoutAfter: 3000
        },
      ],
    });

Although timeoutAfter method is available in Cordova plugin but not in Capacitor.

0 Answers
Related