title: didReceiveRemoteNotification function called twice
body: <p>I am implementing push notification with my custom JSON payload using firebase cloud messaging, and it's running.</p>
  
  <p>The problem I am facing right now is when I fire the notification,
  <code>didRecieve</code> gets called and when user taps on the notification alert its gets called again.</p>
  
  <p>I am navigating to other <code>viewcontroller</code> in <code>didRecieve</code>,
  so in my case navigating to two times to the same vc.</p>
  
  <p>How can I handle this problem?</p>