Closed
Description
[READ] Step 1: Are you in the right place?
Yes — this issue is about a bug in Firebase Cloud Messaging in release builds.
[REQUIRED] Step 2: Describe your environment
Android Studio version: Arctic Fox 2020.3.1 Patch 4 (replace with your actual version)
Firebase Component: Firebase Cloud Messaging (FCM)
Component version: com.google.firebase:firebase-messaging:23.4.1 (replace if different)
[REQUIRED] Step 3: Describe the problem
In my Android app, calling FirebaseMessaging.getInstance().token works correctly in debug builds, but fails in release builds with the following exception but in specific devices
SERVICE_NOT_AVAILABLE
Steps to reproduce:
Steps to reproduce: