I am implementing FCM notifications and I have a notification coming from my backend which does not contain any data, just a title. This means that if my app is not running while this notification arrives, and the user opens this notification, my app will be launched with null extras and data in its intent.
Is there a way to differentiate this "empty notification" launch from the normal "user tapped the the app icon" launch of the app so I can take the user to the "notifications" section of the app when needed?
Both cases have null data and extras in their intent.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With