github adaptyteam/AdaptySDK-React-Native v3.15.0

6 hours ago

✨ New Features

  • createOnboardingView(): added new optional externalUrlsPresentation property of type WebPresentation to control how external URLs are opened from onboarding. Defaults to WebPresentation.BrowserInApp

    const view = await createOnboardingView(onboarding, {
      externalUrlsPresentation: WebPresentation.BrowserOutApp
    });

    Possible values:

    • WebPresentation.BrowserOutApp - open in browser outside the app
    • WebPresentation.BrowserInApp - open in browser inside the app
  • React component AdaptyOnboardingView: added new optional externalUrlsPresentation prop of type WebPresentation.

  • adapty.openWebPaywall(): added new optional openIn parameter of type WebPresentation to control how web paywalls are opened. Defaults to WebPresentation.BrowserOutApp

Fixes

  • Fixed event handlers unsubscription when multiple views were created simultaneously
  • mock mode: onLatestProfileLoad event payloads now correctly match TypeScript types
  • Onboarding events rework:
    • ⚠️ breaking: onAnalytics and onStateUpdated event payloads now match TypeScript types with fields in camelCase. Fixed #224
    • ⚠️ deprecated: event.element_id in onAnalytics. Use event.elementId instead

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

NewReleases is sending notifications on new releases.