What to do with the INSTANCE_ID_EVENT action with Firebase 17.0.1?
问题 So now that the FirebaseInstanceIdService service is deprecated I'm unsure what to replace it with. I previously had a service declared in the manifest like so: <service android:name=".fcm.FcmIdService"> <intent-filter> <action android:name="com.google.firebase.INSTANCE_ID_EVENT"/> </intent-filter> </service> And the service itself: public class FcmIdService extends FirebaseInstanceIdService { @Override public void onTokenRefresh() { // Create notification channel.