I am using Android and I only have problems with my Release-Version when I am trying to get the Token with FirebaseMessaging.getInstance().getToken(). I am getting an FIS_AUTH_ERROR. I already updated my google-services.json and added it to my App-Folder. The API-Key I am using isn't having any restrictions. To my top-level build-gradle I have also added classpath 'com.google.gms:google-services:4.3.8' and added google() to both repositories.
In my individual module build gradle I added the following dependencies:
implementation platform('com.google.firebase:firebase-bom:28.1.0')
implementation 'com.google.firebase:firebase-analytics'
implementation 'com.google.firebase:firebase-messaging'
Futhermore I also applied the plugin.
Does anyone has any ideas on how I can solve this problem as all the solutions on Stackoverflow didn't worked for me.