Skip to content

Commit d0d5492

Browse files
committed
deprecate PurchaseInfo.parseResponseData
1 parent d101b90 commit d0d5492

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

library/build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ apply plugin: 'maven'
33
apply plugin: 'signing'
44

55
group 'com.anjlab.android.iab.v3'
6-
version '1.0.35'
6+
version '1.0.36'
77

88
android {
99
compileSdkVersion 23

library/src/main/java/com/anjlab/android/iab/v3/PurchaseInfo.java

+5-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,11 @@ public PurchaseInfo(String responseData, String signature) {
4545
this.purchaseData = parseResponseData();
4646
}
4747

48-
private PurchaseData parseResponseData() {
48+
/**
49+
* @deprecated dont call it directly, use {@see purchaseData}} instead.
50+
*/
51+
@Deprecated
52+
public PurchaseData parseResponseData() {
4953
try {
5054
JSONObject json = new JSONObject(responseData);
5155
PurchaseData data = new PurchaseData();

sample/libs/anjlab-iabv3-current.jar

48 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)