### Configure Moments Client Path in Flutter pubspec.yaml Source: https://github.com/wildfirechat/wfc_flutter_plugins/blob/master/momentclient/README.md To enable the Moments client, uncomment and specify the local path to the `momentclient` package in your `pubspec.yaml` file within the example project. ```YAML momentclient: path: ../momentclient/ ``` -------------------------------- ### Initialize Wildfire Chat IM and Moments Clients in Flutter Source: https://github.com/wildfirechat/wfc_flutter_plugins/blob/master/momentclient/README.md After configuring the SDKs, initialize both the `Imclient` and `MomentClient` in your Flutter application. This step typically occurs where your IM client is first set up. After this, run `flutter pub get` and `pod install` (for iOS) to ensure dependencies are resolved. ```Dart //初始化IM Imclient.init(...); //初始化朋友圈 MomentClient.init((comment) { }, (feed){ }); ``` -------------------------------- ### Include Native Android Moments AARs in build.gradle Source: https://github.com/wildfirechat/wfc_flutter_plugins/blob/master/momentclient/README.md For Android platform support, uncomment the `implementation fileTree` line in `example/android/app/build.gradle` to include the native Moments AAR files from the specified directory. ```Groovy implementation fileTree(dir: "../../../android_moment_aars", include: ["*.aar"]) ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.