UIKit4 Community membership

Hi support

How do I join and leave a community id from Flutter SDK on demand? I have tried this but not possible with your sdk setup:

Future<void> joinLovyLoungeCommunity() async {     AmitySocialClient.newCommunityRepository().joinCommunity(communityId);
 }

Hello @LovyDev ,

Thank you for your message. In order to help investigate this further, could you please provide the following details?

  1. Flutter SDK+Uikit version you are using

  2. What exactly happens when you call .joinCommunity()

    • Do you get an error?

    • Or is the join request successful but not reflected?

  3. When you restart the app, does the join status persist or reset?

  4. Could you share a snippet of the behavior or logs when trying to join?

This will help us better understand the situation and guide you accordingly. Looking forward to your response.

Best regards,
Support Team