Skip to content

Releases: RevenueCat/react-native-purchases

2.2.0

21 May 22:05
Compare
Choose a tag to compare
  • Updates iOS SDK to 2.3.0. Check out the changelog for a full list of changes https://github.com/RevenueCat/purchases-ios/releases/tag/2.3.0
  • Updates Android SDK to 2.2.2. Check out the changelog for a full list of changes https://github.com/RevenueCat/purchases-android/releases/tag/2.2.2
  • ** BREAKING CHANGE ** makePurchase parameter oldSKUs is not an array anymore, it only accepts a string now. This is due to changes in the BillingClient.
  • AddAttributionData can be called before the SDK has been setup. A network user identifier can be send to the addAttribution function, replacing the previous rc_appsflyer_id parameter.
  • Adds an optional configuration boolean observerMode. This will set the value of finishTransactions at configuration time.

Android only:

  • addAttribution will automatically add the rc_gps_adid parameter.
  • ** ANDROID BREAKING CHANGE ** Call syncTransactions to send purchases information to RevenueCat after any restore or purchase if you are using the SDK in observerMode. See our guide on Migrating Subscriptions for more information on syncTransactions: https://docs.revenuecat.com/docs/migrating-existing-subscriptions

iOS only

  • addAttribution will automatically add the rc_idfa and rc_idfv parameters if the AdSupport and UIKit frameworks are included, respectively.
  • Apple Search Ad attribution can be automatically collected by setting the automaticAttributionCollection boolean to true before the SDK is configured.

2.1.2

16 Apr 00:44
Compare
Choose a tag to compare

Updates iOS SDK to 2.1.1

2.0.1

16 Apr 00:23
Compare
Choose a tag to compare

This version fixes 2.0.0 for Expokit projects and adds finishTransactions

2.1.1

11 Apr 01:08
Compare
Choose a tag to compare
  • If using an app ejected from Expo to ExpoKit, the Android project wouldn't build since it couldn't find the react-native dependency. This release should fix it.

2.1.0

10 Apr 23:38
75d8232
Compare
Choose a tag to compare
  • Updates SDK versions to 2.1.0 to include new error handling
  • BREAKING CHANGE errors now contain a userInfo object with the message, an underlying error and a readable error code. The error codes have completely changed too and updated to the SDK 2.1.0.
  • Updates RN and React versions.
  • Fixes Windows installation
  • Adds setFinishTransactions for iOS

2.0.0

28 Feb 22:48
Compare
Choose a tag to compare
  • Updates native SDKs to versions iOS 2.0.0 and Android 2.0.1
  • Checks that the user ID sent to setup, identify or create alias is actually a string #28
  • BREAKING CHANGE restoreTransactions returns a promise, the RestoreTransactionsListener has been removed
  • BREAKING CHANGE makePurchase returns a promise, the PurchaseListener has been removed
  • BREAKING CHANGE PurchaserInfoListener has been replaced with PurchaserInfoUpdateListener and it now only sends a purchaser info object. This listener is used to listen to changes in the purchaser info.
  • Added support for Tenjin
  • BREAKING CHANGE When failure making a purchase, the productIdentifier of the failed purchase is not sent to the rejected promise. Before, the PurchaseListener received both productIdentifier and error objects.
  • Added setDebugLogsEnabled to display debug logs.
  • Added getPurchaserInfo function to get the latest purchaser info known by the SDK

1.5.4

25 Feb 19:42
Compare
Choose a tag to compare
  • Removes unnecessary debugger statement #47
  • Runs Linter and prettifier
  • Adds missing setup call in the example

1.5.3

23 Jan 22:40
Compare
Choose a tag to compare
  • Fix android setup on a null appuserid
  • Adds listener removal methods

1.5.2

10 Dec 18:35
Compare
Choose a tag to compare
  • Change setIsUsingAnonymousID to setAllowSharingStoreAccount

1.5.1

07 Dec 18:33
Compare
Choose a tag to compare
  • Fixes compilation in iOS