IAP 용 Google Play 결제 라이브러리를 사용하고 있습니다. 그것은 가격 쿼리를 제외하고 잘 작동합니다.IAPv3에서 통화 기호를 읽을 수 없습니다. JSON을 반환합니다.
Got sku details:
SkuDetails:{
"title":"Remove ads",
"price":"1,10┬áÔé¼",
"type":"inapp",
"description":"No more ads",
"price_amount_micros":890000,
"price_currency_code":"EUR",
"productId":"remove_ads"
}
을 내가 지역화 된 가격을 검색 getPrice()
를 사용하는 경우, 그것은 다음과 같습니다 : 1,10┬á?
I
이
은 JSON이 (로그 캣에서 검색 로그) 재고에 대한 quering 때 보이는 반환 것입니다onIabSetupFinished
I에서
iap_helper = new IabHelper(this, app_key);
iap_helper.enableDebugLogging(true);
iap_helper.startSetup(this);
다음 onCreate()
이 같은 IAP 도우미를 초기화 아래 링크
iap_helper.queryInventoryAsync(this);
내 아래 답변을 확인하십시오. – Maulik