Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

export 'ChatGroupFileStatusCallback' (reexported as 'ChatGroupFileStatusCallback') was not found in './common/ChatGroup #86

Open
shaital opened this issue Jun 23, 2024 · 1 comment

Comments

@shaital
Copy link

shaital commented Jun 23, 2024

problem after install
WARNING in ../../node_modules/react-native-agora-chat/lib/module/index.js 45:0-753 export 'ChatGroupFileStatusCallback' (reexported as 'ChatGroupFileStatusCallback') was not found in './common/ChatGroup' (possible exports: ChatGroup, ChatGroupInfo, ChatGroupMessageAck, ChatGroupOptions, ChatGroupPermissionType, ChatGroupPermissionTypeFromNumber, ChatGroupPermissionTypeToString, ChatGroupSharedFile, ChatGroupStyle, ChatGroupStyleFromNumber, ChatGroupStyleToString) WARNING in ../../node_modules/react-native-agora-chat/lib/module/index.js 45:0-753 export 'ChatMessageStatusCallback' (reexported as 'ChatMessageStatusCallback') was not found in './common/ChatMessage' (possible exports: ChatCmdMessageBody, ChatCombineMessageBody, ChatCustomMessageBody, ChatDownloadStatus, ChatDownloadStatusFromNumber, ChatDownloadStatusToString, ChatFetchMessageOptions, ChatFileMessageBody, ChatImageMessageBody, ChatLocationMessageBody, ChatMessage, ChatMessageBody, ChatMessageChatType, ChatMessageChatTypeFromNumber, ChatMessageDirection, ChatMessageDirectionFromString, ChatMessageStatus, ChatMessageStatusFromNumber, ChatMessageStatusToString, ChatMessageType, ChatMessageTypeFromString, ChatRoomMessagePriority, ChatTextMessageBody, ChatVideoMessageBody, ChatVoiceMessageBody)

@AsteriskZuo
Copy link
Contributor

AsteriskZuo commented Jun 24, 2024

The latest version has fixed this problem and will be released soon. If you are in a hurry, you can update it manually.
For example:

Update the index.tsx file content as follows:

export * from './ChatClient';
export * from './ChatContactManager';
export * from './ChatEvents';
export * from './ChatGroupManager';
export * from './ChatManager';
export * from './ChatPresenceManager';
export * from './ChatPushManager';
export * from './ChatRoomManager';
export * from './ChatUserInfoManager';
export * from './common/ChatAreaCode';
export * from './common/ChatConst';
export * from './common/ChatContact';
export * from './common/ChatConversation';
export * from './common/ChatCursorResult';
export * from './common/ChatDeviceInfo';
export * from './common/ChatError';
export * from './common/ChatGroup';
export * from './common/ChatLog';
export * from './common/ChatMessage';
export * from './common/ChatMessageReaction';
export * from './common/ChatMessageThread';
export * from './common/ChatOptions';
export * from './common/ChatPageResult';
export * from './common/ChatPresence';
export * from './common/ChatPushConfig';
export * from './common/ChatRoom';
export * from './common/ChatSilentMode';
export * from './common/ChatTranslateLanguage';
export * from './common/ChatUserInfo';
export { default as CHAT_VERSION } from './version';

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants