I use FCM (Firebase Cloud Messaging)
in my app.
I have N activities in my app
During application's lifetime it may have any stack of activities:
Activity1
->Activity2
-> Activity3
-> ... -> ActivityN
I want to achieve behavior:
- Go to
ActivityN
- Turn application to background
- Click on notification
- Turn application to foreground on ActivityN
- Show dialog on ActivityN
How to achieve it?
in
FirebaseMessagingService
class>> onMessageRecived