The answer has been found. This is on the mobile side. We need to add [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(networkDidReceiveMessage:) name:kJPFNetworkDidReceiveMessageNotification object:nil];
Then implement the method - (void)networkDidReceiveMessage:(NSNotification *)notification;
Then on the server side, you need to fill in the message sent to the app in the SDK provided by Aurora Push, not to apns
Then you can get it through notification.userInfo in the networkDidReceiveMessage method
The answer has been found. This is on the mobile side. We need to add [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(networkDidReceiveMessage:) name:kJPFNetworkDidReceiveMessageNotification object:nil];
Then implement the method - (void)networkDidReceiveMessage:(NSNotification *)notification;
Then on the server side, you need to fill in the message sent to the app in the SDK provided by Aurora Push, not to apns
Then you can get it through notification.userInfo in the networkDidReceiveMessage method