无法在 flutter_intercom 中发送自定义数据属性

Unable to send custom data attribute in flutter_intercom

我也在 intercom_flutter 包中使用 intercom_flutter package to integrate the intercom in my mobile app. The application is working fine and I am able to update the default user information (data attributes). However, unable to update the custom information (custom data attributes). Please guide me if you guys faced and resolved the same issue. I also created an issue

注意:也参考了下面的链接

我刚刚 a pull request which solves this issue. Until the github repo owner accepts the request and publishes the updates, you can use a dependency override 使用完这个更新版本。您的 pubspec.yaml 看起来有点像:

dependencies:
  flutter:
    sdk: flutter
  intercom_flutter: ^1.0.8

dependency_overrides:
  intercom_flutter:
    git:
      url: https://github.com/cdoe/intercom_flutter.git
      ref: 0a745c3850a1011ca52a08be6d753fdc4c2c00d3

让我知道这对您有何帮助。我快速测试了 iOS 和 Android,它似乎运行良好!