title: When I removed "click_action": "FCM_PLUGIN_ACTIVITY" then Ionic 1 app's push brakes
body: <p>Firebase API push payload from backend :</p>
  
  <pre><code> {
    "registration_ids": [
      "IKSiok9Zpip5cDcebQ67wc7TnpDuhMAFJm1xdGGI44s48JbXEu5iYa"
    ],
    "notification": {
      "body": "Push Test Facility Category",
      "title": null,
      "icon": "myicon",
      "sound": "mySound",
      "vibrate": 1,
      "Badge": 1,
      "click_action": "FCM_PLUGIN_ACTIVITY"
    },
    "data": {
      "message": "Push Test Facility Category",
      "title": null,
      "b": "22",
      "id": "2",
      "category_name": "Restaurants",
      "h": "1",
      "p": 1,
      "type": "2"
    }
  }
  </code></pre>
  
  <p><em>fcm.service.ts</em></p>
  
  <pre><code>fcmListeners() {
      this.firebase.onNotificationOpen().subscribe(async (data: any) =&gt; {
  
        if (data.tap) {// when user tapped the background notification
  
        } else { // Received in foreground
  
        }
      });
    }
  </code></pre>
  
  <p>Can you tell me why the app doesn't open when I used the above payload and app is in the background? This is the behavior on an Android device. But no issues on iOS device.</p>
  
  <p>If I use a firebase console cloud message (i.e. dashboard) then no issues there. i.e. it opens the app even in the background on android device. Any clue?</p>
  
  <p><strong>Note:</strong> I use the <a href="https://ionicframework.com/docs/native/firebase" rel="nofollow noreferrer">firebase plugin</a> here.</p>
  
  <p><strong>Update:</strong>  When I removed this "click_action": "FCM_PLUGIN_ACTIVITY" then it works fine on <code>Ionic 4</code> apps. But it is not working on <code>Ionic 1</code> app. Any clue? </p>
  
  <p><strong>Ionic 1:</strong> It works with this <code>"click_action": "FCM_PLUGIN_ACTIVITY"</code>. </p>
  
  <p><strong>Ionic 4:</strong> It works without this <code>"click_action": "FCM_PLUGIN_ACTIVITY"</code></p>