From documentation on console.firebase.google.com you need to do that to have working notification :
then you need to :
then last step :
I don't know which documentation your followed but there is no need to do anything in the main.kt nor chaning anything to the AndroidManifest as you did :)
Hope the answer will help you !
Cheer,