Skip to content

v3.8.2

Choose a tag to compare

@vladd-g vladd-g released this 18 Jul 11:05
· 480 commits to master since this release
  • Migrated to PBL v7
  • Added support for obfuscatedProfileId and obfuscatedAccountId on Android
  • Fixed support for Xcode 26

⚠️ Breaking Changes

  • Deprecated previous MakePurchaseParamsInput structure:
// OLD (deprecated):
makePurchase(product, {
    android: {
        oldSubVendorProductId: 'old_product_id',
        prorationMode: 'charge_prorated_price',
        isOfferPersonalized: true
    }
});
// NEW:
makePurchase(product, {
    android: {
        subscriptionUpdateParams: {
            oldSubVendorProductId: 'old_product_id',
            prorationMode: 'charge_prorated_price'
        },
        isOfferPersonalized: true,  // Note: moved to upper level
        obfuscatedAccountId: 'account_123',
        obfuscatedProfileId: 'profile_456'
    }
});