<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>excite-mthiroshi</author_name>
  <author_url>https://blog.hatena.ne.jp/excite-mthiroshi/</author_url>
  <blog_title>エキサイト TechBlog.</blog_title>
  <blog_url>https://tech.excite.co.jp/</blog_url>
  <categories>
    <anon>Flutter</anon>
  </categories>
  <description>エキサイト株式会社の@mthiroshiです。 Flutterのアプリ内課金の実装には、 in_app_purchase パッケージを使います。 Androidで実装する際に、少し躓いた問題があったのでご紹介します。 動作環境は、下記のpubspec.ymlの内容です。 dependencies: in_app_purchase: ^3.1.10 in_app_purchase_android: ^0.3.0+13 購入商品の問い合わせに失敗するケース アプリ起動時に課金状態を確認するため、購入商品の問い合わせ処理を実装していました。 下記にサンプルコードを示します。 /// アプリケーション…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftech.excite.co.jp%2Fentry%2F2023%2F11%2F01%2F163000&quot; title=&quot;【Flutter】Androidの課金APIを操作する前に利用可能判定を行う【in_app_purchase】 - エキサイト TechBlog.&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>https://cdn-ak.f.st-hatena.com/images/fotolife/e/excite-mthiroshi/20231101/20231101162525.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2023-11-01 16:30:00</published>
  <title>【Flutter】Androidの課金APIを操作する前に利用可能判定を行う【in_app_purchase】</title>
  <type>rich</type>
  <url>https://tech.excite.co.jp/entry/2023/11/01/163000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
