Firebase onMessageReceived() not called via pyfcm

I am trying to pass "badge" numbers via FCM. I know that onMessageReceived() only get called when : [payload contains only "data", no message]

I am using "" and pyfcm on server side to send my notification by this.

result = push_service.notify_multiple_devices(
    registration_ids=ids, data_message={'badge': '5'}
>> all success.

My Service :

public class MyFCMService extends FirebaseMessagingService {
  private static final String TAG = "MyFCMService";
  public MyFCMService() {

  public void onMessageReceived(RemoteMessage remoteMessage) {
    Log.d(TAG, remoteMessage.getData().toString());

My Service in manifest.xml:

<service android:name=".MyFirebaseInstanceIDService">
        <action android:name="" />
        <action android:name=""/>

I have read this but I didn't close the app (just press HOME) but still, logcat(verbose) shows nothing. Is there any possible reasons?