title: How to open iOS gallery app from React Native app
body: <p>I'm having trouble opening iOS gallery app from React Native app.
  I have the file url and asset url. I got the asset url from CameraRoll. Now I want to open the gallery itself to see the image.</p>
  
  <p>This is the code that I use</p>
  
  <pre><code>openGallery = () =&gt; {
  // this code is working on android using asset url
  // sample url on iOS
  // file url : file:///var/mobile/Containers/Data/Application/A41FFC2E-06D4-445D-9B94-D21E885930C7/Documents/video/popcam-1527202811.mov
  // asset url : assets-library://asset/asset.mov?id=D4C62335-EDB1-4A75-B94D-61C3D48CADEA&amp;ext=mov
  const { galleryUrl, source } = this.props
  const url = Platform.OS === 'ios' ? source : galleryUrl
  Linking.canOpenURL(url).then(canOpen =&gt; {
    if (canOpen) {
      Linking.openURL(url)
    } else {
      Alert.alert('Info', 'Under Development')
    }
  })
  </code></pre>
  
  <p>Thanks</p>