Here I have used FirebaseMessagingService in Kotlin but when I run the project it will give me the following error:
Class \'MyFirebaseMessagingService
On 2nd of May there is a new release that allow the below
Firebase Android SDKs now have independent version numbers, allowing for more frequent, flexible updates.
So I think now we need to used different versions according to each module, check release notes pages to latest released details https://firebase.google.com/support/release-notes/android