Skip to content

Commit

Permalink
BREAKING CHANGE: changed getPurchaseHistoryAsync method
Browse files Browse the repository at this point in the history
  • Loading branch information
Luke Farrell committed Aug 14, 2024
1 parent dd61754 commit a90e6a5
Show file tree
Hide file tree
Showing 4 changed files with 3,290 additions and 15,601 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,8 @@ public void getProductsAsync(List<String> itemList, final Promise promise) {
// Suppressing "unused" warning because this method is exposed to React Native
@SuppressWarnings("unused")
@ExpoMethod
public void getPurchaseHistoryAsync(final ReadableArguments options, final Promise promise) {
String USE_GOOGLE_PLAY_CACHE_KEY = "useGooglePlayCache";
if (options.getBoolean(USE_GOOGLE_PLAY_CACHE_KEY, true)) {
mBillingManager.queryPurchases(promise);
}
public void getPurchaseHistoryAsync(final Promise promise) {
mBillingManager.queryPurchases(promise);
}

// Suppressing "unused" warning because this method is exposed to React Native
Expand Down
Loading

0 comments on commit a90e6a5

Please sign in to comment.