Firebase notifcations don't open app

I am using Ionic 3 with cordova-plugin-firebase. I have added google-services.json and GoogleService-Info.plist to the root file. I receive the notifcations and when the app is active the onNotificationOpen is being called.

The problem: On android when the app is in the background I get a notifcation, but when I click it it doesnt open the app. What could be the problem?