Optional
android?: AdaptyAndroidPurchaseParamsandroid
Optional
android?: AdaptyAndroidSubscriptionUpdateParametersUse the new parameter structure instead
// 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'
}
});
android
Generated using TypeDoc
Android purchase parameters