title: How to trigger apple push notification event when the app is in the foreground?
body: <p>I have configured and tested the apple push notification service, the push notification is successfully received when the app is running in the background but when the app is in the foreground the push notification event cannot be triggered.</p>
  
  <p>I am using <a href="https://github.com/phonegap-build/PushPlugin" rel="nofollow">cordova push plugin </a>for the push notification service.</p>
  
  <p>The code which i am using to manage the push notification <a href="http://codeshare.io/XRZs4" rel="nofollow">http://codeshare.io/XRZs4</a></p>