github adaptyteam/AdaptySDK-React-Native v3.14.0

one day ago

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 AdaptyPaywallView as 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 (appAccountToken for iOS, obfuscatedAccountId for Android in ActivateParamsInput)
  • Purchase Transaction Data - access to jwsTransaction (iOS) and purchaseToken (Android) after purchase. Read more.
  • Product Information Enhancement - added accessLevelId and productType fields to products
  • Performance optimization for component AdaptyOnboardingView
  • Added Expo config plugin replaceAndroidBackupConfig to resolve Android Auto Backup manifest conflict

⚠️ Breaking changes

  • The minimum React Native version has been updated to 0.73.0;
  • Replaced registerEventHandlers with setEventHandlers (Paywall and Onboarding Builder). Read more
  • Added full-screen onboarding mode for iOS. Onboarding presentation now accepts iosPresentationStyle (default full_screen; previously page_sheet without a parameter).
  • Prop eventHandlers is deprecated in component AdaptyOnboardingView and 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). Use serverCluster instead; for dev overrides, rely on a proxy inspector;
  • Removed adapty.logShowOnboarding method.
  • adapty.reportTransaction return type changed from Promise<AdaptyProfile> to Promise<void>
  • Removed fields from AdaptyAndroidPurchaseParams:
    • obfuscatedAccountId → use activate() or identify() with android.obfuscatedAccountId parameter instead
    • obfuscatedProfileId → no longer supported

Fixes

  • Fixed native usage of local fallback file
  • Fixed onboarding actionId payload for events onPaywall, onCustom, onClose. Resolved #225
  • Set default event handlers on create without setEventHandlers call (onboarding, paywall)

Examples

  • Added new BasicExample RN@0.82 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.

Don't miss a new AdaptySDK-React-Native release

NewReleases is sending notifications on new releases.