Releases: adaptyteam/AdaptySDK-React-Native
Releases · adaptyteam/AdaptySDK-React-Native
v3.14.0
Meet the Adapty React Native SDK 3.14.0!
Please, read our Migration Guide to ensure a smooth update.
✨ New Features
- Added React Native component
AdaptyPaywallViewas an alternative to modal presentation. Read more. - Support for Local Access Levels, allowing the SDK to verify purchases directly with the store even when Adapty servers are unreachable. Enabled by default for iOS, should be enabled for Android (
ActivateParamsInput android.localAccessLevelAllowed). Read more. - Support for StoreKit Testing in Xcode. Read more.
- Customer Identity Parameters - Added an option to pass appAccountToken (
appAccountTokenfor iOS,obfuscatedAccountIdfor Android inActivateParamsInput) - Purchase Transaction Data - access to
jwsTransaction(iOS) andpurchaseToken(Android) after purchase. Read more. - Product Information Enhancement - added
accessLevelIdandproductTypefields to products - Performance optimization for component
AdaptyOnboardingView - Added Expo config plugin
replaceAndroidBackupConfigto resolve Android Auto Backup manifest conflict - Added compatibility support for Android Google Play Billing Library v8 (compatibility only, not migration)
⚠️ Breaking changes
- The minimum React Native version has been updated to 0.73.0;
- Replaced
registerEventHandlerswithsetEventHandlers(Paywall and Onboarding Builder). Read more - Added full-screen onboarding mode for iOS. Onboarding presentation now accepts
iosPresentationStyle(defaultfull_screen; previouslypage_sheetwithout a parameter). - Prop
eventHandlersis deprecated in componentAdaptyOnboardingViewand will be removed in the future. Use new props for each handler. Read more - Removed custom backend URL fields from
ActivateParamsInput(backendBaseUrl,backendFallbackBaseUrl,backendConfigsBaseUrl,backendUABaseUrl). UseserverClusterinstead; for dev overrides, rely on a proxy inspector; - Removed
adapty.logShowOnboardingmethod. adapty.reportTransactionreturn type changed fromPromise<AdaptyProfile>toPromise<void>- Removed fields from
AdaptyAndroidPurchaseParams:obfuscatedAccountId→ useactivate()oridentify()withandroid.obfuscatedAccountIdparameter insteadobfuscatedProfileId→ no longer supported
Fixes
- Fixed native usage of local fallback file
- Fixed onboarding
actionIdpayload for events onPaywall, onCustom, onClose. Resolved #225 - Set default event handlers on create without setEventHandlers call (onboarding, paywall)
Examples
- Added new
BasicExample[email protected] app - Bumped Expo to 54 in
FocusJournalExpo
❗️ Don't forget to update your local fallback file. Keep it fresh to cover offline/Adapty-backend-unavailable cases — see details here.
v3.11.4
- Fixed
dismiss()method inAdaptyOnboardingViewController(Android) - Added NPM package provenance signing to ensure package authenticity and protect against supply chain attacks
v3.11.3
- Fixed compatibility with react-native init for RN 0.82 (react-native-community/template). Add missing tslib
v3.11.2
Android-specific improvements:
- Fixed compatibility with Expo 54 (blank paywall screen on Android)
v3.11.1
- Fixed compatibility with RN 0.81
- Fixed TS errors for
adapty.addEventListener
v3.11.0
- Onboarding Builder now supports localizations. Read More.
v3.10.0
- Added support for the User Acquisition feature. Read more.
- Minimum required Xcode version is now 16.0.
- AdaptyUI: added support for purchase button animations.
- AdaptyUI: added support for
productPurchaseParamsin.createPaywallViewmethod.
Deprecations:
- In
AdaptyPaywallmodel instead ofproductsuseproductIdentifiers.
v3.8.2
- Migrated to PBL v7
- Added support for
obfuscatedProfileIdandobfuscatedAccountIdon Android - Fixed support for Xcode 26
⚠️ Breaking Changes
- Deprecated previous
MakePurchaseParamsInputstructure:
// 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'
}
});
v3.8.1
Meet the Adapty React Native SDK 3.8!
- 🎉 With this version we're introducing support for the Onboarding Builder that allows your non-technical teams to create attractive and customizable onboarding flows without coding. Read More.
New
- Added
placementproperty toAdaptyPaywall. - Added
__ignoreActivationOnFastRefreshtoActivateParamsInput - AdaptyUI: added support for Onboarding Builder.
- AdaptyUI: added
customAssetsparameter toCreatePaywallViewParamsInput.
⚠️ Breaking Changes
GetPaywallParamsInputrenamed toGetPlacementParamsInput.FallbackPaywallsLocationrenamed toFileLocation.setFallbackPaywalls(paywallsLocation: Input.FallbackPaywallsLocation)changed tosetFallback(fileLocation: Input.FileLocation).- public properties
abTestName,audienceName,revision,placementId(renamed toid) moved fromAdaptyPaywalltoAdaptyPlacement.
v3.8.0
Meet the Adapty React Native SDK 3.8!
- 🎉 With this version we're introducing support for the Onboarding Builder that allows your non-technical teams to create attractive and customizable onboarding flows without coding. Read More.
New
- Added
placementproperty toAdaptyPaywall. - Added
__ignoreActivationOnFastRefreshtoActivateParamsInput - AdaptyUI: added support for Onboarding Builder.
- AdaptyUI: added
customAssetsparameter toCreatePaywallViewParamsInput.
⚠️ Breaking Changes
GetPaywallParamsInputrenamed toGetPlacementParamsInput.FallbackPaywallsLocationrenamed toFileLocation.setFallbackPaywalls(paywallsLocation: Input.FallbackPaywallsLocation)changed tosetFallback(fileLocation: Input.FileLocation).- public properties
abTestName,audienceName,revision,placementId(renamed toid) moved fromAdaptyPaywalltoAdaptyPlacement.