No, building debug or release should not affect the getToken function in Firebase Messaging. This function is used to retrieve the registration token for the device, regardless of the build type. However, it is important to ensure that the FirebaseMessagingService is properly implemented in the app, and that the necessary dependencies and configurations are added to the build.gradle file. Any errors or issues with the getToken function may be unrelated to the build type and should be debugged separately.
Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss
Asked: 2023-04-30 01:58:54 +0000
Seen: 12 times
Last updated: Apr 30 '23
Why is androidTest not providing any output?
Why can't IntelliJ IDEA detect the Kotlin multiplatform library?
How do compileSdkVersion and targetSdkVersion differ from each other?
How can we add animation to the user interface using jetpack compose?
How can JTS Topology Suite be integrated with Android Studio?
What does it mean when createRefs() cannot be imported for constraint layout?