Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Can I send a file (.gif) through SMS messaging?

Discussion in 'iOS and tvOS' started by WelchCompositions, Jul 16, 2015.

  1. WelchCompositions

    WelchCompositions

    Joined:
    Sep 30, 2013
    Posts:
    29
    Is there anyway to grab the file stored in Application.persistantDataPath and send the file itself through SMS? I currently have a Unity app that:
    1. Generates a .gif file
    2. Saves that .gif to Application.persistantDataPath
    3. Uploads the saved .gif to my AWS server
    4. Captures the URL location of the uploaded .gif
    I can then send that url to facebook, email, and SMS messaging. Thankfully the FB share works great since it needs a url to play the gif. However, for a text message to play back the gif I believe iOS wants the actual .gif file and not a link.

    I've found if you tap and hold on a .gif file in safari and past it into the text that works. Is there someway I can automate this process and get my .gifs to play inside of SMS messaging?