title: Push Notification not work correctly in custom app [Rocket.chat]
body: <p>I followed the instructions in the Rocket.chat documentation:</p>
  <ul>
  <li>Removed the check mark from the gateway</li>
  <li>added GCM keys from firebase</li>
  <li>rebooted the server</li>
  </ul>
  <p>Pushs seem to come, but the listener &quot;pushnotificationreceived&quot; is triggered only if I open the application immediately after the push should come or I am in the application during the push, if I have minimized the application and send myself a message, then there is no push.</p>
  <p>If I throw the push myself through the firebase API, then the push works out as needed.
  There is a suspicion that this is due to the fact that Rocket.chat sends push data in the data key, not notification (<a href="https://github.com/RocketChat/Rocket.Chat/blob/develop/app/push/server/gcm.js" rel="nofollow noreferrer">https://github.com/RocketChat/Rocket.Chat/blob/develop/app/push/server/gcm.js</a>).</p>
  <p>I also have an error in the Rocket logs.Chat:
  &quot;For devices running Android 8.0 or later, you need to specify the android_channel_id identifier. See <a href="https://github.com/raix/push/issues/341" rel="nofollow noreferrer">https://github.com/raix/push/issues/341</a> for more information&quot;, but even with this error, push writes that it was sent successfully.</p>