I'm going to send push notification with custom click action to set onClick
of notification to open an exact Activity
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.
Why it should be impossible to set click_action
key and its value?
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 click_action
value?
Assume that I want to open SecondActivity
by clicking on notification.