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 714 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.
      • jezekJ Offline
        jezek
        last edited by

        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 lduboeufL 2 Replies Last reply Reply Quote 0
        • E Offline
          Emphrath @jezek
          last edited by

          @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
          • lduboeufL Offline
            lduboeuf @jezek
            last edited by lduboeuf

            @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 Reply Quote 1
            • E Offline
              Emphrath @lduboeuf
              last edited by

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

              1 Reply Last reply Reply Quote 0

              Hello! It looks like you're interested in this conversation, but you don't have an account yet.

              Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

              With your input, this post could be even better 💗

              Register Login
              • First post
                Last post