# Push.on('notification') on iOS gets automatically triggered

**URL:** <https://forum.ionicframework.com/t/push-on-notification-on-ios-gets-automatically-triggered/57067>\
**Category:** ionic-v3\
**Created:** [July 9, 2016, 4:07pm UTC](https://forum.ionicframework.com/t/push-on-notification-on-ios-gets-automatically-triggered/57067 "2016-07-09T16:07:02Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vukasin](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/vukasin/32/99351_2.png) [@Vukasin](https://forum.ionicframework.com/u/Vukasin)\
**Post date:** [July 9, 2016, 4:07pm UTC](https://forum.ionicframework.com/t/push-on-notification-on-ios-gets-automatically-triggered/57067/1 "2016-07-09T16:07:02Z")

</div>

App is in foreground and notification is received.

Expected behaviour is to have notification in notification drawer and once I click it, then trigger `push.on('notification' ..` event.

What I’m getting is that once notification is received it automatically triggers `push.on('notification', ...` event.

GCM Notification payload:

```auto
{       
    "to":" **************************",
    "notification" : {
      "body" : "Comment was added on support ticket 1122",
      "title" : "Notification",
      "image": "icon"
    },
    "content-available": "1",
    "data" : {
        "event_type": "support_ticket_commented",
        "user_username": "User",
        "type": "event"
    }
}

```

I’m I missing something ?

---

<div class="post-metadata">

**Author:** ![Vukasin](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/vukasin/32/99351_2.png) [@Vukasin](https://forum.ionicframework.com/u/Vukasin)\
**Post date:** [July 9, 2016, 7:48pm UTC](https://forum.ionicframework.com/t/push-on-notification-on-ios-gets-automatically-triggered/57067/2 "2016-07-09T19:48:19Z")

</div>

In meantime I found issue registered with phonegap push plugin:

> <https://github.com/phonegap/phonegap-plugin-push/issues/970>

Update:  
I got replay on issue and it seems that this is native behaviour for iOS ☹
