cometchat / cometchat-sample-app-flutter

Voice & Video Calling and Text Chat App for Flutter
https://www.cometchat.com
Other
35 stars 28 forks source link

MethodChannel exception when clicking Audio, Image/Video from gallery option in chat. #32

Closed developerstek closed 3 months ago

developerstek commented 3 months ago

I'm using comechat in my flutter application but facing this issue when clicking on Audio, Image/Video from gallery to attach.

Flutter version: 3.0.0 ComeChat version: 3.0.13 Comechat ui kit version: 4.0.0-beta.1

Exception that i'm getting is: W/FILEUTIL( 4947): Custom file type sgi is unsupported and will be ignored. W/FILEUTIL( 4947): Custom file type tga is unsupported and will be ignored. D/FileUtil( 4947): Allowed file extensions mimes: [image/jpeg, image/jpeg, image/png, image/gif, image/x-ms-bmp, image/x-photoshop, image/tiff, video/mp4, video/avi, video/x-matroska, video/quicktime, video/mp2ts] D/DecorView: onWindowFocusChanged hasWindowFocus false I/flutter ( 4947): #0 StandardMethodCodec.decodeEnvelope (package:flutter/src/services/message_codecs.dart:607:7) I/flutter ( 4947): #1 MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:167:18) I/flutter ( 4947): I/flutter ( 4947): #2 MethodChannel.invokeListMethod (package:flutter/src/services/platform_channel.dart:353:35) I/flutter ( 4947): I/flutter ( 4947): #3 MediaPicker._getFilesFromMethodChannel (package:cometchat_chat_uikit/src/utils/media_picker.dart:101:20) I/flutter ( 4947): I/flutter ( 4947): #4 MediaPicker.pickImageVideo (package:cometchat_chat_uikit/src/utils/media_picker.dart:90:12) I/flutter ( 4947): I/flutter ( 4947): #5 CometChatMessageComposerController.showBottomActionSheet (package:cometchat_chat_uikit/src/message_composer/cometchat_message_composer_controller.dart:612:23) I/flutter ( 4947):

Please provide fix to this issue.

cometchat-helpcenter-bot commented 3 months ago

Prathmesh Parteki (CometChat Team) replied:

Hi,

We kindly request that you try our latest CometChat UIKit and CometChat SDK.

Additionally, please use our CometChat Flutter sample app to reproduce the issue you are experiencing. Should you have any questions or require further assistance, please do not hesitate to contact us.

Regards,

Prathmesh Parteki CometChat