title: Push Notifications not working when app is killed
body: <p>I made an app in react native and used this library for push notifications:
  <a href="https://github.com/zo0r/react-native-push-notification" rel="nofollow noreferrer">https://github.com/zo0r/react-native-push-notification</a></p>
  
  <p>When I run my iphone app using the command, 'react-native run-ios', an iphone 6 simulator pops up with my app running and when I kill the app, i still get notifications. However, when I run my program from xcode, it opens up a similar iphone 6 simulator, but now when the app is killed, notifications do not work. However, the weird thing is that notifications do work when I close the app (aka going to home screen) then killing the app when running w/ xcode. I started getting this problem on xcode when I got ready to publish my app on the app store and needed to get a push notification certificate. I also enabled push notifications in the 'Capabilities' in my xcode project and I also have the push notifications enabled in my developer provisioning files. The push notifications are enabled for both development and production, and I am receiving push notifications when the user exits the app using the home button and then kills the application, but if the user kills the application without pressing the home button first, i do not receive notifications. I do not know what to do.</p>