<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>watasihasitujidesu</author_name>
  <author_url>https://blog.hatena.ne.jp/watasihasitujidesu/</author_url>
  <blog_title>production.log</blog_title>
  <blog_url>https://blog.naoshihoshi.com/</blog_url>
  <categories>
    <anon>技術</anon>
    <anon>メモ</anon>
    <anon>Snapmart</anon>
  </categories>
  <description>タイトルの通り、ReactNative 0.59.8において、`CameraRoll.getPhotos({first:1234})`がエラーになってしまいます。また、これはiOSのみで発生します。エラー文を見た感じ、optionとしてassetTypeに何かしら指定すれば良さそうです。ただ、ドキュメントを見る限り、&quot;Photos&quot;がdefaultなので普通に不具合っぽいですね。先述の通り`assetType: &quot;Photos&quot;`を指定すれば良いかと思いきや、`groupTypes`も指定しなければうまく取得できませんでした。最終的には下記のようにコードを書き換えるとうまく動作します。</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.naoshihoshi.com%2Fentry%2F2019%2F07%2F20%2F190000&quot; title=&quot;ReactNative 0.59.8のCameraRoll.getPhotosでInvalid filter option: &amp;#39;(null)&amp;#39;. Expected one of &amp;#39;photos&amp;#39;,&amp;#39;videos&amp;#39; or &amp;#39;all&amp;#39;.が発生した場合の回避方法 - production.log&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2019-07-20 19:00:00</published>
  <title>ReactNative 0.59.8のCameraRoll.getPhotosでInvalid filter option: '(null)'. Expected one of 'photos','videos' or 'all'.が発生した場合の回避方法</title>
  <type>rich</type>
  <url>https://blog.naoshihoshi.com/entry/2019/07/20/190000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
