Support Topics Documentation Slack YouTube Blog

How to send files through messaging service


(Omar Al Halabi) #1

Hi, I am developing an android app where I require to send and receive files and texts through backendless. I am facing problems where I can only publish and subscribe text messages, but not files. I would like to know how to achieve that. Thank you!


(Mark Piller) #2

In order to transmit a file through the messaging service, I would recommend the following approach:

    Upload the file to the File Service using the API. Once the file is uploaded, you receive the file URL Send the file URL in a message The code that receives the message downloads the file from the URL.
Mark