flutter 插件发送@信息 mentionedType 和mentionedTargets没有入库

ylwang 2023-8-14 357

  • (WFCCMessagePayload )payloadFromDict:(NSDictionary )payload { WFCCMediaMessagePayload *content = [[WFCCMediaMessagePayload alloc] init];

    content.contentType = [payload[@"type"] intValue]; content.searchableContent = payload[@"searchableContent"]; content.pushContent = payload[@"pushContent"]; content.pushData = payload[@"pushData"]; content.content = payload[@"content"];

    FlutterStandardTypedData *binaryData = payload[@"binaryContent"]; if (binaryData) { content.binaryContent = binaryData.data; }

    content.localContent = payload[@"localContent"]; content.mediaType = (WFCCMediaType)[payload[@"mediaType"] intValue]; content.remoteMediaUrl = payload[@"remoteMediaUrl"]; content.localMediaPath = payload[@"localMediaPath"]; content.mentionedType = [payload[@"mentionedtype"] intValue];//ios ImclientPlugin.m 这里单词拼写错误 content.mentionedTargets = payload[@"mentionedTargets"]; content.extra = payload[@"extra"]; return content; }

最新回复 (3)
  • HeavyRain 2023-8-14
    引用 2
    不好意思,看错了,下面这句有问题需要处理,已经提交处理
     content.mentionedType = [payload[@"mentionedtype"] intValue];
  • ylwang 2023-8-15
    引用 3
    这是另外一个问题,标题那俩字段没入库也是一个问题
  • HeavyRain 2023-8-15
    引用 4
    这两个数据当发送成功后是不保存的
返回