{"action":"created","issue":{"url":"https://api.github.com/repos/EddyVerbruggen/SocialSharing-PhoneGap-Plugin/issues/562","repository_url":"https://api.github.com/repos/EddyVerbruggen/SocialSharing-PhoneGap-Plugin","labels_url":"https://api.github.com/repos/EddyVerbruggen/SocialSharing-PhoneGap-Plugin/issues/562/labels{/name}","comments_url":"https://api.github.com/repos/EddyVerbruggen/SocialSharing-PhoneGap-Plugin/issues/562/comments","events_url":"https://api.github.com/repos/EddyVerbruggen/SocialSharing-PhoneGap-Plugin/issues/562/events","html_url":"https://github.com/EddyVerbruggen/SocialSharing-PhoneGap-Plugin/issues/562","id":145816854,"number":562,"title":"Animated gif becomes static image","user":{"login":"liamFerris","id":14314378,"avatar_url":"https://avatars.githubusercontent.com/u/14314378?v=3","gravatar_id":"","url":"https://api.github.com/users/liamFerris","html_url":"https://github.com/liamFerris","followers_url":"https://api.github.com/users/liamFerris/followers","following_url":"https://api.github.com/users/liamFerris/following{/other_user}","gists_url":"https://api.github.com/users/liamFerris/gists{/gist_id}","starred_url":"https://api.github.com/users/liamFerris/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/liamFerris/subscriptions","organizations_url":"https://api.github.com/users/liamFerris/orgs","repos_url":"https://api.github.com/users/liamFerris/repos","events_url":"https://api.github.com/users/liamFerris/events{/privacy}","received_events_url":"https://api.github.com/users/liamFerris/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-04-04T21:59:53Z","updated_at":"2016-04-04T23:13:00Z","closed_at":null,"body":"I am unable to save an animated gif from its base64string, it's being saved as a jpeg.\r\n\r\nUsing:\r\n`window.plugins.socialsharing.share(null, null, base64data, null); `\r\n\r\nIs it possible to save the animated gif?\r\n\r\nThanks,\r\nLiam\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/EddyVerbruggen/SocialSharing-PhoneGap-Plugin/issues/comments/205536671","html_url":"https://github.com/EddyVerbruggen/SocialSharing-PhoneGap-Plugin/issues/562#issuecomment-205536671","issue_url":"https://api.github.com/repos/EddyVerbruggen/SocialSharing-PhoneGap-Plugin/issues/562","id":205536671,"user":{"login":"liamFerris","id":14314378,"avatar_url":"https://avatars.githubusercontent.com/u/14314378?v=3","gravatar_id":"","url":"https://api.github.com/users/liamFerris","html_url":"https://github.com/liamFerris","followers_url":"https://api.github.com/users/liamFerris/followers","following_url":"https://api.github.com/users/liamFerris/following{/other_user}","gists_url":"https://api.github.com/users/liamFerris/gists{/gist_id}","starred_url":"https://api.github.com/users/liamFerris/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/liamFerris/subscriptions","organizations_url":"https://api.github.com/users/liamFerris/orgs","repos_url":"https://api.github.com/users/liamFerris/repos","events_url":"https://api.github.com/users/liamFerris/events{/privacy}","received_events_url":"https://api.github.com/users/liamFerris/received_events","type":"User","site_admin":false},"created_at":"2016-04-04T23:13:00Z","updated_at":"2016-04-04T23:13:00Z","body":"Found a workaround:\r\n\r\nChange line line 73 of `SocialSharing.m`\r\nto `NSObject *file;// = [self getImage:filename];`\r\n\r\nAs far as I can tell this forces the base64string to be treated as a file rather than an image, which seems to fix the issue.\r\n\r\nThis leaves you with the limitation that nothing can be treated as an image, which in my case is fine, but not desirable."}}