title: React Native OneSignal trigger event when opening app from notification
body: <p>I'm building an app in React Native and I'm currently working on the push notifications system using OneSignal.</p>
  
  <p>I have configured my notifications, the related segments and my app so I'm able to receive notifications on the device.</p>
  
  <p>However, I need to execute some code when my app is opened using the notifications. I have configured action buttons (see Android example, picture below) triggering the right code when the app is either open and in focus or open in the background.</p>
  
  <p><a href="https://i.stack.imgur.com/MxBew.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/MxBew.png" alt="Notification example"></a></p>
  
  <p>I need to achieve the same behavior when my app is fully closed and then opened by the action buttons. Right now, it opens the app on my HomeScreen but doesn't trigger the events.</p>