• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
UBports Robot Logo UBports Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login

PDF through MMS

Scheduled Pinned Locked Moved Support
4 Posts 3 Posters 358 Views 1 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • J Offline
      jezek
      last edited by 17 Dec 2020, 22:32

      Today I tried to send an PDF via MMS. I failed and had to use email. First there was no "Other" in MMS attachments to choose from. There was only "Image", "Video", "Contact". (Note: I tried an image & choosed the PDF. An attachment was added (indicated by 📎 ) but was not sent.)

      By design, Is there a possibility to send any file through MMS, or is the MMS limited only to image/video/contact?
      Wasn't here a possibility to attach any file before, or do I misremember?

      Thanks for your time.

      jEzEk

      E L 2 Replies Last reply 18 Dec 2020, 00:33 Reply Quote 0
      • E Offline
        Emphrath @jezek
        last edited by 18 Dec 2020, 00:33

        @jezek i remember having the exact same issue, and i think it's actually doable if you fiddle a bit with attachments

        1 Reply Last reply Reply Quote 0
        • L Online
          lduboeuf @jezek
          last edited by lduboeuf 18 Dec 2020, 07:54

          @jezek I remember testing to send PDF and it was working, apart from size limit which tend to be provider specific, it should be doable, so there is a bug in messaging app, could you report it to https://github.com/ubports/messaging-app/issues ?

          [EDIT]: Confirmed, at least the PDF is sent but not displayed

          [EDIT2]: Well i'm not sure if it used to work, a quick look into code, doesn't show anything regarding attachment others than image/video or text files. Messaging-app trigger the send method with the attachment, but seems not handled correctly in backend

          [EDIT3]: Well we can see here https://github.com/ubports/telephony-service/blob/xenial/handler/messagesendingjob.cpp#L276 that kind of files are not handled and the attachment is replaced with a text_0.txt file

          [EDIT4]: After some searching, it seems that providers support now application/pdf file ( maybe not for all ? ) but that was not the case the time UT was made and as we use SMIL format, we cannot support it

          E 1 Reply Last reply 19 Dec 2020, 23:22 Reply Quote 1
          • E Offline
            Emphrath @lduboeuf
            last edited by 19 Dec 2020, 23:22

            @lduboeuf yep, that text_0.txt seems familiar ^^

            1 Reply Last reply Reply Quote 0
            3 out of 4
            • First post
              3/4
              Last post