Android google play games selects an action to run when a notification is clicked

Is there a way to choose what activity to start when I click on a notification about the game’s services? This always leads me to the main activity, although I registered my NotificationListener in another action. Is there an intent extra / kit I should look for? Or something else?

EDIT: through another question about StackOverflow, I found out that every intention running in a google gaming game ad contains the flag 0x14000000 . Is it possible to simply check this flag and redirect the user to the actual multi-user activity?

+5
source share

Source: https://habr.com/ru/post/1234963/


All Articles