code: public static boolean onMessageReceived(Context context, RemoteMessage message) {
          try {
              WonderPush.ensureInitialized(context);
              WonderPush.logDebug("Received a push notification!");
  
              NotificationModel notif;
              try {
                  notif = NotificationModel.fromRemoteMessage(message);
              } catch (NotificationModel.NotTargetedForThisInstallationException ex) {
                  WonderPush.logDebug(ex.getMessage());
                  return true;
              }
              if (notif == null) {
                  return false;
              }
  
              NotificationManager.onReceivedNotification(context, message.toIntent(), notif);
              return true;
          } catch (Exception e) {
              Log.e(TAG, "Unexpected error while handling FCM message from:" + message.getFrom() + " bundle:" + message.getData(), e);
          }
          return false;
      }
docs: Method to be called in your own {@link FirebaseMessagingService} to handle
  WonderPush push notifications.
  
  <b>Note:</b> This is only required if you use your own {@link FirebaseMessagingService}.
  
  Implement your {@link FirebaseMessagingService#onMessageReceived(RemoteMessage)} method as follows:
  
  <pre><code>@Override
  public void onMessageReceived(RemoteMessage message) {
  if (WonderPushFirebaseMessagingService.onMessageReceived(this, message)) {
  return;
  }
  // Do your own handling here
  }</code></pre>
  
  @param context The current context
  @param message The received message
  @return Whether the notification has been handled by WonderPush