// This method only gets triggered if Data Message is sent by Push Kit Server/AGC. public void OnMessageReceived(RemoteMessage remoteMessage) { Debug.Log("[HMSPushKit] Data Message received"); Debug.Log("Data: " + remoteMessage.Data); OnMessageReceivedSuccess?.Invoke(remoteMessage); }
public void OnMessageReceived(RemoteMessage remoteMessage) { OnMessageReceivedSuccess?.Invoke(remoteMessage); }