onJPushReceiveRegisterId method
JPush 注册
@param appKey 用户申请的JPUSH 得到的appkey
@param clientId 用户申请的JPUSH 得到的clientId
使用范围: android|ios
Implementation
Future<void> onJPushReceiveRegisterId(String appKey, String clientId) async {
DMHubLog.v('onJPushReceiveRegisterId->: appKey=$appKey,clientId=$clientId');
Map req = {'appKey': appKey, 'clientId': clientId};
Map result = await _channel.invokeMethod(
DMHubSDKMethod.onJPushReceiveRegisterId, req);
// DMHubError.hasErrorFromResult(result);
return result[DMHubSDKMethod.onJPushReceiveRegisterId];
}