setPushProcessor

public static void setPushProcessor(PushType pushType, IPush processor)

Sets the handler for the specified push notification type. This is typically used to customize the handling of third-party push notifications, such as resolving conflicts with JPush or Getui.

This method must be called before initialization and only in the main process.

Parameters

pushType

The type of push notification.

processor

The custom handler.