-
-
Notifications
You must be signed in to change notification settings - Fork 137
Sharing GIF on iOS #22
Comments
Thanks for opening this issue. I'll add a link to it as a workaround for this issue in README. To support animated gif files on iOS, simply remove these 4 lines from NativeShare.mm: UnityNativeShare/Plugins/NativeShare/iOS/NativeShare.mm Lines 20 to 23 in ae2e13d
I don't want to add a parameter for this because after this change, some apps just stop accepting the gif file as an attachment. They won't even accept it as a static image whereas at its current state, they do accept gif files as static image attachments. So, I'd prefer this solution to be a "use at your own risk" workaround rather than an official part of the plugin. |
Cool, thanks! I'll check it! |
I was able to test the new build of Pixel Studio. |
It didn't work for some of these apps: Twitter, Facebook Messenger and/or the mail app. I can't remember which one(s) exactly :/ |
Yes, it doesn't work with Messenger as I suppose it doesn't support GIF. |
hello , sorry for my noob question but UnityNativeShare/Plugins/NativeShare/iOS/NativeShare.mm |
@Rajat-Parihar why no to use search?) PS. This question relates to my asset GIF Replay. |
NativeShare.mm is located at Assets/Plugins/NativeShare/iOS/NativeShare.mm, if you import NativeShare.unitypackage to your project. |
Thanks for your support guys, |
Hi! Can you explain more about the issue of gif share only as static images? Is this due to the format that NativeGallery writes it in? |
While trying to share an animated gif file, as far as I remember, sharing on Facebook and/or Twitter didn't work for me. But using a UIImage to share the gif as a static image did work for those social platforms. So I used UIImage for maximum compatibility in NativeShare. |
Hi Yasirkula, |
@magnitocorp Please see #5 |
Hi, I will be waiting for your response. |
Is the image shared successfully after removing the text(URL)? |
yes we can share image. with text and URL. there is no problem with image sharing. problem with the text and URL sharing. |
Since images aren't as important as the text, does removing all AddFile calls not work? |
Yes with out picture I can share text and URLs. its woring fine. with picture is can not send. |
Please create a new Issue if it isn't related to this issue (Sharing GIF on iOS9) the next time. Does logging out of Skype and then logging back in help? For testing purposes, does omitting url or text help? How about appending url to text? |
Hi! As you said me in email, "I was able to share gifs with only half of the apps in the share sheet". That's why you decided to share static images on iOS.
Maybe you could add a parameter or a overriding call to unlock the feature for sharing GIFs on iOS?
Having such feature would be very useful for me even if I could share it with not all apps from a list. Thanks!
The text was updated successfully, but these errors were encountered: