title: IOS Expo Push Notifications when app is in foreground
body: <p>reading from the expo docs:</p>
  
  <blockquote>
    <p>For iOS, you would be wise to handle push notifications that are
    received while the app is foregrounded, because otherwise the user
    will never see them. Notifications that arrive while the app are
    foregrounded on iOS do not show up in the system notification list. A
    common solution is to just show the notification manually. For
    example, if you get a message on Messenger for iOS, have the app
    foregrounded, but do not have that conversation open, you will see the
    notification slide down from the top of the screen with a custom
    notification UI.</p>
  </blockquote>
  
  <p>What I don't understand is what is the best approach for that? is there an Expo API for showing such messages? or should I create an alert component of my own? It is not really clear from the docs.</p>
  
  <p>Thanks.</p>