I dug into the code and found that the "NotificationsManager.presentCard" will automatically log events such as dismiss, push opens, button click, etc.
The app successfully shows the Facebook CardActivity but I did not receive any events after dismissing the CardView.
Here is my onMessageReceived
@Override
public void onMessageReceived(RemoteMessage remoteMessage) {
Bundle dataBundle = new Bundle();
for (Map.Entry<String, String> entry : remoteMessage.getData().entrySet()) {
dataBundle.putString(entry.getKey(), entry.getValue());
}
}
I dug into the code and found that the "NotificationsManager.presentCard" will automatically log events such as dismiss, push opens, button click, etc.
The app successfully shows the Facebook CardActivity but I did not receive any events after dismissing the CardView.
Here is my onMessageReceived
My notification
My MainActivity
Results