In my app there are different categories, a main page(MainActivity), comments activities and Chat activity etc. When i receive a notification, either from comments, Chat or main page, it still opens main activity. What I want is if I receive a notification regarding Chat it should open chat activity and if regarding comments it should open comments activity and so on... Please help thanks.
See Question&Answers more detail:os