2017-01-06 1 views
2

나는 이미 소비 된 구매 영수증을 갖고 싶습니다. 따라서 메소드 getPurchases를 사용하는 것은 소유하고 소비하지 않는 구매 정보 만 제공하기 때문에 제외됩니다. 나는 https://developer.android.com/google/play/billing/billing_reference.html#getPurchaseHistory문서화 된 경우에도 getPurchaseHistory 메서드가 IInAppBillingService.aidl에없는 이유는 무엇입니까?

모든 구매하는 모든 구매 내역을 줄 수 getPurchaseHistory의 문서를 볼 수 있지만 API는 IInAppBillingService.aidl 당신이 링크 된 페이지 별

https://github.com/googlesamples/android-play-billing/blob/551a178e52baf60cc6e1f9cb6f40767b8453655a/TrivialDrive/app/src/main/aidl/com/android/vending/billing/IInAppBillingService.aidl

답변

1

존재하지 :

[getPurchaseHistory]는 인앱 결제 API 버전 6 이상에서 사용할 수 있습니다.

그러나 SDK 관리자에서 볼 수있는 최신 인앱 결제 API 버전은 버전 5입니다. version notes에서도 볼 수 있습니다.

버전 6을 사용할 수있게되면 실제로는 getPurchaseHistory이 포함될 것으로 생각됩니다. 구매 내역을 얻을 https://github.com/googlesamples/android-play-billing/blob/master/TrivialDrive/app/src/main/aidl/com/android/vending/billing/IInAppBillingService.aidl

플러스 새로 출시 된 플레이 결제 라이브러리도 has a method :

0

당신은 여기에이 방법을 포함 AIDL 파일의 최신 버전을 찾을 수 있습니다.

관련 문제