Releases: apphud/ApphudSDK-React-Native
4.0.2
4.0.1
What's new in v4.0.1:
- Fixed android build on the last RN versions, for Expo.
v4.0.0
What's new in v4.0.0:
-
Introduced
PaywallScreenPresenterto present Figma paywalls -
Provides a dedicated API for presenting a paywall screen
-
Enables subscribing to paywall lifecycle, purchase, and UI events
-
Ensures event isolation between multiple paywall instances
-
Supports proper cleanup via explicit disposal
-
Added
PaywallScreenViewReact component- Wraps the native paywall view into a reusable React component
- Handles loading and error states internally
- Supports customizable loading and error UI
- Exposes native purchase and screen lifecycle callbacks
-
Added new native module methods:
preloadPaywallScreensunloadPaywallScreen
⚠️ Breaking Changes
- Updated the root iOS SDK dependency to version 4.0.0
- Updated the root Android SDK dependency to version 3.0.3
🧹 Notes
- No other breaking API changes in this release
v3.0.1
Fixed billing period and sub standard price if more than one subscription offers
v3.0.0
What's New in v3.0.0:
- Added Placements support with a new method:
ApphudSdk.placements(): Promise<ApphudPlacement[]>. - Introduced a new
ApphudSdkEventEmitterinstance specifically for subscription events. ApphudSdkandApphudSdkEventEmitterare now available via named exports.ApphudSdk.startmethod now returnsApphudUserobject.- Migrated
addAttribution(options: Record<string, any>): voidtosetAttribution(options: AttributionProperties): Promise<boolean>. - Added
ApphudSdk.idfv()method for iOS (returnsnullon Android). - Refactored
setAdvertisingIdentifiertoApphudSdk.setAdvertisingIdentifiers(options: Partial<Identifiers>): void. - Added optional
placementIdparameter toApphudSdk.purchasemethod. - Added optional
placementIdparameter toApphudSdk.paywallShownandApphudSdk.paywallClosedmethods. - Updated dependencies to the latest SDK versions: iOS 3.6.2 and Android 2.9.1.
v2.2.0
What's new in v2.2.0:
- Updated dependencies to the lastest SDKs: iOS 3.5.9 and Android 2.8.4
- Updated Google Billing Dependency to 7.1.1
- Added new method
attributeFromWeb(options: Partial<{apphud_user_id: string; email: string; apphud_user_email: string;}>): Promise<ApphudWebRestoreResult>; - Added Promises to the following methods:
start(options: StartProperties),startManually(options: StartProperties),logout(). - Android:
purchase(props: ApphudPurchaseProps)method's offerToken parameter inside ApphudPurchaseProps is no longer required, as it falls back to the first available offer token, if not set.
v2.1.0
v2.0.0
What's new in Apphud SDK for React Native 2.0.0:
-
[Breaking]: SDK has been completely rebuilt, and is not compatible with previous versions.
-
Added documentation for each method and property in ApphudSdkType and ApphudSdkListenerEventsType. See files for SDK reference.
-
Redesigned every interface model, including ApphudSubscription, ApphudPurchaseResult, etc.
-
Refactored and renamed almost every SDK method, including
purchase(props: ApphudPurchaseProps): Promise<ApphudPurchaseResult>;, etc. -
What is supported:
- SDK Initialization
- Attribution
- Paywalls
- Listener methods
- Viewing your subscriptions and non-renewing purchases
- Making purchases, including consumable purchases for Android
- Screens and Rules listener methods
- Submit push notifications token and push payload
- Other helpful methods
-
Updated to the latest dependencies of Apphud iOS SDK (3.1.4) and Apphud Android SDK (2.1.0)
-
Android SDK works on Google Billing 5.2.0
-
Added new interfaces for Android, including ApphudSubscriptionOffer and ApphudPricingPhase
-
iOS requires minimum deployment target 13.0
-
Apphud SDK was tested on React Native v0.71
-
See ApphudSdkType and ApphudSdkListenerEventsType for documentation
v1.1.0
Merge pull request #58 from apphud/feature/paywalls feat: implemented paywals
v1.0.9
feat: updated version