I have tried this code but getting error in timeoutAfter method as it is not recognized.
LocalNotifications.schedule({ notifications: [ {