title: How to send Push Notification With Custom Click Action From Firebase Console
body: <p>I'm going to send push notification with custom click action to set <code>onClick</code> of notification to open an exact <code>Activity</code> in my project when the app is in foreground or background. In all posts and comments it is written that it is impossible to send notification with custom click action from console, but in "Advanced options" in console, it is possible to set custom data keys and values.</p>
  
  <p><a href="https://i.stack.imgur.com/Zg0WJ.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Zg0WJ.jpg" alt="Firebase Console"></a></p>
  
  <p>Why it should be impossible to set <code>click_action</code> key and its value?</p>
  
  <p>If it is possible so tell me what should I do. I mean what is the exact intent-filter code? and what should I set as <code>click_action</code> value?</p>
  
  <p>Assume that I want to open <code>SecondActivity</code> by clicking on notification.</p>