yes. use FirebaseInstanceId.getInstance().getToken("your-project-number", "FCM");
This might change in the future but if you keep an eye on the release notes / javadoc
we will explain the changes required if any change is required.
More complex is receiving the message.
The app can have only 1 message receiver.
I suggest you document your customer to create a FirebaseMessaging receiver, and inside onMessageReceived(message) they can call a method like processMessageWithLibraryX(message).
--
You received this message because you are subscribed to the Google Groups "android-gcm" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-gcm...@googlegroups.com.
To post to this group, send email to andro...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/android-gcm/bddda9f9-8cc2-4105-a9b1-e2062f4393a3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.