最近の検索


最近の検索はありません

android chat sdk can't send attachments [Attachments not supported]



投稿日時:2023年11月07日

// classic-web-widget-sdks
dependencies {

implementation group: 'com.zendesk', name: 'chat', version: '3.4.0'

implementation group: 'com.zendesk', name: 'messaging', version: '5.4.0'

}
Chat.INSTANCE.init(this, "xxx")
btn.setOnClickListener {
val chatConfiguration = ChatConfiguration.builder()
.withPreChatFormEnabled(false)
.build()

MessagingActivity.builder().withEngines(ChatEngine.engine())
.show(context, chatConfiguration)
}

with code above, I can send text ,but can't send image.

get error on SendFileRequest :

Response{protocol=h2, code=403, message=, url=https://widget-mediator.zopim.com/client/widget/upload?ts=1699345460102&__messageID=1699345460102&__socketID=1ruv7zdzc9x9uth0f549o3}

dashboard file sending  is enable  and mimetype is satisfied  

iOS sdk works 


0

1

1件のコメント

Hey Lewis,

Here's a link to our SDK docs that go in to detail around sending file attachments. 

https://developer.zendesk.com/documentation/classic-web-widget-sdks/chat-sdk-v2/android/providers/#sending-an-attachment

Let me know if this is helpful, and if you have any questions.

Tipene

0


サインインしてコメントを残してください。

お探しのものが見つかりませんか?

新規投稿