Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

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.