# Clear local notifications?

**URL:** <https://forum.ionicframework.com/t/clear-local-notifications/107440>\
**Category:** ionic-v3\
**Created:** [October 3, 2017, 7:42am UTC](https://forum.ionicframework.com/t/clear-local-notifications/107440 "2017-10-03T07:42:07Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![FnnHuman](https://avatars.discourse-cdn.com/v4/letter/f/5f8ce5/32.png) [@FnnHuman](https://forum.ionicframework.com/u/FnnHuman)\
**Post date:** [October 3, 2017, 7:42am UTC](https://forum.ionicframework.com/t/clear-local-notifications/107440/1 "2017-10-03T07:42:07Z")

</div>

Is there any way to clear local notification, or to destroy them after some period of time?

---

<div class="post-metadata">

**Author:** ![mvdNL](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/mvdnl/32/108998_2.png) [@mvdNL](https://forum.ionicframework.com/u/mvdNL)\
**Post date:** [October 3, 2017, 8:42am UTC](https://forum.ionicframework.com/t/clear-local-notifications/107440/2 "2017-10-03T08:42:53Z")

</div>

You can do this with `clear(notificationId)`, [https://ionicframework.com/docs/native/local-notifications/#clear](https://ionicframework.com/docs/native/local-notifications/#clear)

> or to destroy them after some period of time?

Create a timer function and call the clear function

---

<div class="post-metadata">

**Author:** ![manishkumar1](https://avatars.discourse-cdn.com/v4/letter/m/3d9bf3/32.png) [@manishkumar1](https://forum.ionicframework.com/u/manishkumar1)\
**Post date:** [February 13, 2019, 5:55pm UTC](https://forum.ionicframework.com/t/clear-local-notifications/107440/3 "2019-02-13T17:55:52Z")

</div>

```
this.localNotification.clearAll();

```

//clears all local notification
