Backendless Support
 
Waiting for user's response

How to send files through messaging service

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!

Leave a Comment

Comments (1)

photo
2

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

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

Mark