title: unable to fetch push notifications from FCM when app is completely closed
body: <p>There are 3 states that an app can be in : 
   <strong>1. Foreground.
   2. Background(minimized)
   3. Completely closed( removed from list of active applications)</strong></p>
  
  <p>This is the way I've done it : 
   1. <strong>Forground/Background -></strong> 
      onMessageReceived(RemoteMessage remoteMessage) is where I get all the messages which I further parse. </p>
  
  <ol start="2">
  <li><strong>Completely closed -></strong> 
  Intent processInputIntent = getIntent();
  int id  = processInputIntent.get("id"); // I fetch all the parameters this way. 
  This method works if I don't do the following changes in the manifest. </li>
  </ol>
  
  <p>The issue is my app is a complete webview and I need to save the state of the app and so I used 
              <strong>android:alwaysRetainTaskState="true"
              android:launchMode="singleTask"></strong></p>
  
  <p>Is this the right way of handling things? Any help would be highly appreciated. </p>