アプリ内課金で「Google In App Billing Version 3」を使用したときのこと。
「Google play」の「Developer Console」で商品の情報を更新して、
getSkuDetails()で商品情報を取得したときの情報の更新が遅い。
しかし、実際の購入するときの情報は更新されていたりしている。
getSkuDetailsがピックアップする情報には約15〜20分かかるよ。 it takes about 15-20 mins for the getSkuDetails to pick up the changes of prices.
「Local Caching」というものによって、古い情報がキャッシュされているかららしい・・?
キャッシュを無理やり消すオプションもなく、消し方を探すと「存在しない」
なんというGoogleの怠惰?
URL: http://stackoverflow.com/questions/14354475/clear-the-android-billing-local-cache
しかし、↑先ほどのURLにアプリ内での削除を消す方法が記載されていた。
だが・・・実際に該当ファイルを消してもだめっぽい
公式URL: http://android-developers.blogspot.jp/2012/12/in-app-billing-version-3.html
This means that, for example, developers can update prices in Developer Console and then use this API call to show the updated prices in the application (such as for a special promotion or sale) with no need to update the application's code to change the prices displayed to the user.
うん・・Googleの仕様というか技術力が悪いのか?