livechat / chat-window-android

LiveChat mobile chat window for Android
https://developers.livechatinc.com/mobile/android/
MIT License
23 stars 28 forks source link

ChatWindowActivity input field not showing, Also sometimes chat is not able to launch. #77

Closed pintu-elaunch closed 1 day ago

pintu-elaunch commented 1 year ago

When I open ChatWindowActivity for first time & start chat, I'm not getting input field to input message, But when I close & reopen chat window, the input field is getting visible. You can see the below image for reference:

LiveChatIssue1

Also sometimes the chat window is unable to load chat. I'm also attaching video for the issue below:

https://user-images.githubusercontent.com/106513455/203111083-73bdfbb4-e63a-4014-90e3-3dd3f0cbb6ae.mp4

https://user-images.githubusercontent.com/106513455/203111094-9442ff57-e40f-4fbb-b9ac-461cbd1b38f5.mp4

Reza-deriv commented 4 months ago

The same issue here ...

Reza-deriv commented 4 months ago

-keep class com.livechatinc.inappchat.* { ; }

Fixed for me after adding this line to proguard-rules.pro @pintu-elaunch

nomyzs commented 3 months ago

Hey @Reza-deriv and @pintu-elaunch

Can you give more context to reproducing your problems?

  1. What Android version and device are you using?
  2. Are you using ChatWindowActivity? Is there any specific activity configuration?
  3. Can you see any errors in the logs?
  4. Did you set eventListener when using Chat?

If you have not set the eventListener we would recommend trying it out. This will give you insights into errors coming from the integration and better control. It's possible that a non-critical error is thrown, closing the chat window and showing "Couldn't load chat" view. Handling it via eventListener.onError could keep chat operational.

Please don't hesitate to send over any logs and errors you find. Any insights are appreciated! Thanks in advance!

nomyzs commented 1 day ago

The issue should be fixed in v2.4.3