0
0

More than 1 year has passed since last update.

Flutter の in_app_purchaseでGoogle Play Consoleで課金アイテムを作ったのに「The store is unavailable」

Posted at

経緯

FlutterでAndroidのリリースビルドのために準備を済ませて、
flutter build appbundle

で.aabファイル(App Bundle)を作成し、Google Play Consoleにアップロードして、アプリを作成したのち、課金アイテムを作成しました。

そしてFlutterのin_app_purchaseというパッケージの使用例
https://github.com/flutter/plugins/tree/main/packages/in_app_purchase/in_app_purchase)
を使用したところ、
FlutterのUIで
「The store is unavailable」
との表示が出ました。

解決策

Android Studioで
Create Device > Google Play Storeのアイコンマークがついているデバイス > 作成

Google Play Consoleで
課金機能を実装したいアプリ > テスト > 内部テスト > テスター作成 > リンクを取得

こちらでAndroid Studioの方で作成した Google Play Store対応のデバイスのブラウザに、Google Play Consoleで取得したテスター用のリンクを貼り付けます。

すると、テスター用のアプリがデバイス内にインストールできます。

起動すると、
「The store is available」
の表記が出ています。

余談 iOSの場合

iOSバージョンの場合は、リリースビルドを行う段階でApp Store Connectとの連携ができているのか、
「The store is available」
になっていました。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0