Skip to content

Commit

Permalink
some more upgrading instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
serggl committed Oct 29, 2021
1 parent 7c2f3bc commit 91ebb32
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions UPGRADING.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ This library was upgraded accordingly (thanks to @Equin and @showdpro), but this
- TransactionDetails (orderId) -> PurchaseInfo (purchaseInfo.purchaseData.orderId)
- TransactionDetails (purchaseToken) -> PurchaseInfo (purchaseInfo.purchaseData.purchaseToken)
- TransactionDetails (purchaseTime) -> PurchaseInfo (purchaseInfo.purchaseData.purchaseTime)
1. `handleActivityResult` method was removed, you don't need to override your app's `onActivityResult` anymore
1. Some billing flow related constants were removed from `Constants` class (`BILLING_RESPONSE_*` constants). if your app relies on those - use `BillingClient.BillingResponseCode.*` constants instead

### Upgrading to >= 1.0.44

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ public class Constants
public static final String RESPONSE_PURCHASE_TIME = "purchaseTime";
public static final String RESPONSE_PURCHASE_STATE = "purchaseState";
public static final String RESPONSE_PURCHASE_TOKEN = "purchaseToken";
public static final String RESPONSE_DEVELOPER_PAYLOAD = "developerPayload";
public static final String RESPONSE_TYPE = "type";
public static final String RESPONSE_TITLE = "title";
public static final String RESPONSE_DESCRIPTION = "description";
Expand All @@ -44,10 +43,11 @@ public class Constants
public static final int BILLING_ERROR_FAILED_LOAD_PURCHASES = 100;
public static final int BILLING_ERROR_FAILED_TO_INITIALIZE_PURCHASE = 101;
public static final int BILLING_ERROR_INVALID_SIGNATURE = 102;
public static final int BILLING_ERROR_LOST_CONTEXT = 103;
public static final int BILLING_ERROR_INVALID_MERCHANT_ID = 104;
public static final int BILLING_ERROR_FAILED_TO_ACKNOWLEDGE_PURCHASE = 115;

@Deprecated
public static final int BILLING_ERROR_LOST_CONTEXT = 103;
public static final int BILLING_ERROR_INVALID_DEVELOPER_PAYLOAD = 105;
public static final int BILLING_ERROR_PRODUCT_ID_NOT_SPECIFIED = 106;
public static final int BILLING_ERROR_OTHER_ERROR = 110;
Expand Down

0 comments on commit 91ebb32

Please sign in to comment.