Ask Your Question
2

After building debug or release, does Firebase Messaging's getToken function fail to work?

asked 2023-04-30 01:58:54 +0000

huitzilopochtli gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2023-04-30 02:20:01 +0000

nofretete gravatar image

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.

edit flag offensive delete link more

Your Answer

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

Add Answer


Question Tools

Stats

Asked: 2023-04-30 01:58:54 +0000

Seen: 12 times

Last updated: Apr 30 '23