<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="/rss.xsl.xml"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
    <title>Changes in EXSaveToLibraryDelegate.m</title>
    <description></description>
    <language>en</language>
    <copyright>Copyright 2015</copyright>
    <generator>Java</generator><item>
        <title>8bda3995 - [expo-media-library] Allow saving animated gifs (#21549)</title>
        <link>http://172.16.0.5:8080/history/expo/packages/expo-media-library/ios/EXMediaLibrary/EXSaveToLibraryDelegate.m#8bda3995</link>
        <description>[expo-media-library] Allow saving animated gifs (#21549)# WhyWhen saving animated GIFs on iOS with expo-media-library, the resulting images in the photo library are static. This PR fixes this issue # HowUse `PHAssetChangeRequest` instead of `UIImage.imageWithData`# Test Plan```typescriptimport { StatusBar } from &apos;expo-status-bar&apos;;import { Button, View, Image } from &apos;react-native&apos;;import * as MediaLibrary from &apos;expo-media-library&apos;;const gif = &quot;https://upload.wikimedia.org/wikipedia/commons/2/2c/Rotating_earth_%28large%29.gif&quot;;export default function App() {  const handleSave = () =&gt; {    MediaLibrary.saveToLibraryAsync(gif).then(() =&gt; alert(&quot;Saved&quot;)).catch(console.error);  }  return (    &lt;View style={{ flex: 1, alignItems: &quot;center&quot;, justifyContent: &apos;center&apos; }}&gt;      &lt;StatusBar style=&quot;auto&quot; /&gt;      &lt;Image source={{ uri: gif }} style={{ width: 256, height: 256 }} /&gt;      &lt;Button onPress={handleSave} title=&quot;Save&quot; /&gt;    &lt;/View&gt;  );}```

            List of files:
            /expo/packages/expo-media-library/ios/EXMediaLibrary/EXSaveToLibraryDelegate.m</description>
        <pubDate>Mon, 06 Mar 2023 15:17:05 +0000</pubDate>
        <dc:creator>Desislav &lt;20824840+desi-ivanov@users.noreply.github.com&gt;</dc:creator>
    </item>
<item>
        <title>54db654d - [media-library] Add saveToAssetsAsync method which doesn&apos;t need camera roll permissions (#5678)</title>
        <link>http://172.16.0.5:8080/history/expo/packages/expo-media-library/ios/EXMediaLibrary/EXSaveToLibraryDelegate.m#54db654d</link>
        <description>[media-library] Add saveToAssetsAsync method which doesn&apos;t need camera roll permissions (#5678)# WhyResolve #5089.# HowAdding a new method, which needs `write only` access to users&apos;s gallery.# Test Plan- https://snack.expo.io/@lukaszkosmaty/80162f

            List of files:
            /expo/packages/expo-media-library/ios/EXMediaLibrary/EXSaveToLibraryDelegate.m</description>
        <pubDate>Fri, 27 Sep 2019 16:21:30 +0000</pubDate>
        <dc:creator>&#321;ukasz Kosmaty &lt;lukasz.kosmaty@swmansion.com&gt;</dc:creator>
    </item>
</channel>
</rss>
