heroiclabs / nakama-dart

Pure Dart Client for Nakama Server
https://heroiclabs.com/docs/nakama/client-libraries/dart
157 stars 48 forks source link

I joined three groups, but I can only query one. #87

Closed zhangyc closed 5 months ago

zhangyc commented 5 months ago

Describe the bug I joined three groups, but only one can be retrieved. I can see in the console that the user is indeed a member of the group.

Reproduction Code Note: This is mandatory! If your issue does not contain it, it will be closed.

Example:

Future<UserGroupList> listUserGroups({String? filters,int? pageSize}) async{
  return await client.listUserGroups(session: userSession!,userId: userSession!.userId);
}

Expected behavior I can query all the groups that have been joined Screenshots If applicable, add screenshots to help explain your problem.

Flutter Doctor

[✓] Flutter (Channel stable, 3.16.5, on macOS 14.1.1 23B81 darwin-arm64, locale zh-Hans-CN)
[!] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    ✗ cmdline-tools component is missing
      Run `path/to/sdkmanager --install "cmdline-tools;latest"`
      See https://developer.android.com/studio/command-line for more details.
    ✗ Android license status unknown.
      Run `flutter doctor --android-licenses` to accept the SDK licenses.
      See https://flutter.dev/docs/get-started/install/macos#android-setup for more details.
[✓] Xcode - develop for iOS and macOS (Xcode 15.0.1)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2022.3)
[✓] IntelliJ IDEA Ultimate Edition (version 2023.3.2)
[✓] VS Code (version 1.85.1)
[✓] VS Code (version 1.85.1)
[✓] Connected device (4 available)
    ! Error: Browsing on the local area network for lj 郭. Ensure the device is unlocked and attached with a cable or associated with the same local area network as this Mac.
      The device must be opted into Developer Mode to connect wirelessly. (code -27)
[✓] Network resources

! Doctor found issues in 1 category.

pubspec.yaml

Additional context Add any other context about the problem here.

obrunsmann commented 5 months ago

Thank you for reporting, will be fixed in the next release.