I'm trying to make a custom FirebaseMessagingService in Android for Flutter to execute Kotlin code on receiving a notification in the background. Does anyone have an example of how this can be done while still receiving the notification/message.data in the main flutter app?
Thanks!