You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 31, 2021. It is now read-only.
When uploading a media and connection is cut out, the onError callback of sendMessage is never called. It is called correctly if upload haven't started yet and there is no connection.
For Download, it is not called neither if there is no connection in the beginning or during the process. But SDK message says, it should call the onError listener in both cases (it doesn't):
D/TWC: 2145462640 | Message.Media(native) | media download failed. Calling java listener.
When there is no connection during upload, the media still sometimes uploads if reconnected quickly, if not, I can see the retry, but that disappears after reconnecting and isn't retried.
Expected Behavior
onError should be called in all cases, or media should retry and finish upload/download and call onComplete/ onSuccess
Actual Behavior
onError isn't called in 3 out of 4 cases as mentioned in description
Reproduces how Often
100%
Logs
Please collect logs as described here. Full unedited logs help reproduce and fix issues faster.
Description
When uploading a media and connection is cut out, the onError callback of sendMessage is never called. It is called correctly if upload haven't started yet and there is no connection.
For Download, it is not called neither if there is no connection in the beginning or during the process. But SDK message says, it should call the onError listener in both cases (it doesn't):
D/TWC: 2145462640 | Message.Media(native) | media download failed. Calling java listener.
When there is no connection during upload, the media still sometimes uploads if reconnected quickly, if not, I can see the retry, but that disappears after reconnecting and isn't retried.
Expected Behavior
onError should be called in all cases, or media should retry and finish upload/download and call onComplete/ onSuccess
Actual Behavior
onError isn't called in 3 out of 4 cases as mentioned in description
Reproduces how Often
100%
Logs
Please collect logs as described here. Full unedited logs help reproduce and fix issues faster.
Versions
All relevant version information for issue, fill in below:
Chat Android SDK
4.2.5
Android API
API 26
Android Device
Moto g6
The text was updated successfully, but these errors were encountered: