cometchat / cometchat-uikit-react

Ready-to-use Chat UI Components for React (JavaScript/Web)
Other
89 stars 58 forks source link

Create Poll Option is not visible in React Native UI KIT #144

Closed anuragsoulside closed 4 months ago

anuragsoulside commented 4 months ago

Describe the problem

We have enabled the Poll extension on the Cometchat Dashboard but the create Poll is not visible in UI. We have also upgraded to the latest package which is v4.3.7 ["@cometchat/chat-uikit-react-native": "^4.3.7"] We are using CometChatConversationsWithMessages to show all the messages in the chat app.

We have already reached out to Cometchat Support 2 weeks ago, and this issue is still not fixed, and it's blocking our crucial feature release on our side.

What was the expected behavior?

After enabling the Poll extension from the Dashboard the create Poll option should be available on the attachment options on the message composer

Reproduction

Where applicable, please include:

  • The smallest possible sample app that reproduces the undesirable behavior
    <CometChatConversationsWithMessages
    conversationsConfiguration={conversationConfigurations}
    messagesConfigurations={messagesConfigurations}
    onError={e => console.log('chat error ', e)}
    />
const conversationConfigurations = {
    AppBarOption: () => {},
    conversationsStyle: {
      titleColor: Colors.themeTitle,
      titleFont: {
        fontFamily: fonts.type.InterMedium,
        fontWeight: fonts.weight.w500,
        fontSize: fonts.size.s20,
      },
    },
    title: Strings.GroupChat,
    onError: e => {
      console.log('conversation error ', e);
    },
    EmptyStateView: () => (
      <View style={styles.noChatContainer}>
        <Text style={styles.noChatText}>No Group Chats Found</Text>
      </View>
    ),
  };
  let messageComposerConfiguration = {
    attachmentIcon: Icons.attachment,
    hideVoiceRecording: true,
    hideLiveReaction: true,
    placeHolderText: Strings.writeYourMessage,
    messageComposerStyle: {
      attachIcontint: Colors.black,
      sendIconTint: Colors.primaryBlue,
      inputBackground: Colors.composerBg,
      placeholderTextColor: Colors.grey2,
    },
  };
  const messagesConfigurations = {
    AuxilaryAppBarOptions: () => {},
    messageHeaderConfiguration: {},
    messageComposerConfiguration: {
      ...messageComposerConfiguration,
      CustomComposerView: CustomComposerView,
    },
    threadedMessagesConfiguration: {
      messageComposerConfiguration: {
        ...messageComposerConfiguration,
        CustomComposerView: CustomComposerView,
      },
      messageListConfiguration: {
        messageListStyle: {},
      },
      threadedMessagesStyle: {
        background: Colors.white,
      },
    },
    messagesStyle: {
      backgroundColor: Colors.composerBg,
    },
    messageListConfiguration: {
      showAvatar: true,
      avatarStyle: {
        nameTextFont: {
          fontSize: fonts.size.s14,
        },
        outerView: {
          borderWidth: 0.5,
          borderColor: Colors.primaryBrown,
        },
      },
      messageListStyle: {
        nameTextColor: Colors.primaryBrown,
        loadingIconTint: Colors.primaryBlue,
      },
      wrapperMessageBubbleStyle: {},
    },
  };
  • Log files (redact/remove sensitive information) - NA

  • Application settings (redact/remove sensitive information) - NA

  • Screenshots CC bug screenshot

Environment

Please provide the following:

cometchat-helpcenter-bot commented 4 months ago

Provesha (CometChat Team) replied:

Hi Anurag,

Thanks for sharing. We're reviewing this and we will get back to you soon with more help.

Provesha CometChat

cometchat-helpcenter-bot commented 4 months ago

Provesha (CometChat Team) replied:

Hi Anurag,

Just letting you know we're investigating this and our team is actively working on figuring this out. We'll be in touch with you soon.

Provesha CometChat

cometchat-helpcenter-bot commented 4 months ago

Afroz Khan (CometChat Team) replied:

Hi Anurag,

We are not able to reproduce this issue on our end. Request you to share a small reproducible project so that we can check this further.

Also could you please share the following:

  1. Your AppId
  2. App region
  3. Few test users UID
  4. authKey

You can share the Auth Key with us securely using https://onetimesecret.com. This can be easily deleted once our testing is complete. Also, please don’t forget to share the passphrase so we can access the key.

Regards,

Afroz Khan CometChat

anuragsoulside commented 4 months ago

Hi Afroz

I am adding my team members Uttam & Manish to provide more details.

Thank you Anurag

On Thu, May 9, 2024 at 11:33 AM CometChat Help Center Bot < @.***> wrote:

Afroz Khan (CometChat Team) replied:

Hi Anurag,

We are not able to reproduce this issue on our end. Request you to share a small reproducible project so that we can check this further.

Also could you please share the following:

  1. Your AppId
  2. App region
  3. Few test users UID
  4. authKey

You can share the Auth Key with us securely using https://onetimesecret.com. This can be easily deleted once our testing is complete. Also, please don’t forget to share the passphrase so we can access the key.

Regards,

Afroz Khan CometChat

— Reply to this email directly, view it on GitHub https://github.com/cometchat/cometchat-uikit-react/issues/144#issuecomment-2102897865, or unsubscribe https://github.com/notifications/unsubscribe-auth/A5LMQIHQHXANUCA4V2MP33DZBOJM3AVCNFSM6AAAAABHLHGG3OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMBSHA4TOOBWGU . You are receiving this because you authored the thread.Message ID: @.***>