Skip to content

Latest commit

 

History

History
350 lines (244 loc) · 16.9 KB

CHANGELOG.md

File metadata and controls

350 lines (244 loc) · 16.9 KB

4.3.1

4.3.0

Identity V3:

In this version, we’ve redesigned the way that user identification works. Detailed docs about the new system are available here.

New methods

  • Introduces logIn, a new way of identifying users, which also returns whether a new user has been registered in the system. logIn uses a new backend endpoint.
  • Introduces logOut, a replacement for reset.

Deprecations

  • deprecates createAlias in favor of logIn.
  • deprecates identify in favor of logIn.
  • deprecates reset in favor of logOut.
  • deprecates setAllowSharingStoreAccount in favor of dashboard-side configuration. RevenueCat#229

Other

4.2.0

4.1.4

4.1.3

4.1.2

4.1.1

4.1.0

4.0.1

4.0.0

  • removes deprecated makePurchase, replaced by purchaseProduct
  • iOS:
    • added new method, syncPurchases, that enables syncing the purchases in the local receipt with the backend without risking a password prompt. The method was already available on Android.
    • added a new method, presentCodeRedemptionSheet, for offer codes redemption.
    • Updated React dependency to React-Core and set DEFINES_MODULE to fix issues when building in Xcode 12
  • Bumped purchases-hybrid-common to 1.5.0 Changelog here
  • Bumped purchases-ios to 3.9.2 Changelog here
  • Bumped purchases-android to 4.0.1 Changelog here

3.4.3

3.4.2

3.4.1

3.4.0

  • Removes usage of BuildConfig #171
  • Bumped common files to 1.4.2 Changelog here
  • Bumped iOS to 3.7.1 Changelog here
  • Bumped Android to 3.5.0 Changelog here
  • Added a new property nonSubscriptionTransactions in PurchaserInfo to better manage non-subscriptions
  • Attribution V2:
  • Deprecated addAttribution in favor of setAdjustId, setAppsflyerId, setFbAnonymousId, setMparticleId.
  • Added support for OneSignal via setOnesignalId
  • Added setMediaSource, setCampaign, setAdGroup, setAd, setKeyword, setCreative, and collectDeviceIdentifiers

3.3.3

3.3.2

  • Fixes purchaseDiscountedPackage and purchaseDiscountedProduct #167

3.3.1

  • Renames setProxyURLString with setProxyURL #148
  • Adds instructions to include the PurchasesHybridCommon framework #150

3.3.0

  • Bumped iOS to 3.4.0 Changelog here
  • Bumped Android to 3.2.0 Changelog here
  • Added managementURL to PurchaserInfo
  • Added setProxyURLString
  • Added originalPurchaseDate to PurchaserInfo
  • Update invalidatePurchaserInfoCache docs #137
  • Changes the way the common dependency is managed #144 #145
  • Adds new headers for platformFlavor and platformFlavorVersion
  • Adds userDefaultsSuiteName as an option when setting up the SDK

3.2.0

3.1.0

  • Properly scope Android package #114
    • ⚠️IMPORTANT⚠️: You might need to relink the plugin since the Android package name has changed. All references to com.reactlibrary.RNPurchasesPackage in the code should be replace with com.revenuecat.purchases.react.RNPurchasesPackage.
  • Apply correct array notation: [type] to type[] #117
  • Adds subscription offers support for iOS https://docs.revenuecat.com/docs/ios-subscription-offers
  • Introductory Price is now an object inside the PurchasesProduct object

3.0.6

  • Exports enums

3.0.5

  • Exports interfaces and types

3.0.4

  • Renames introEligibilityStatus to status in IntroEligibility

3.0.3

  • Adds Purchases.checkTrialOrIntroductoryPriceEligibility. Note that Android always returns INTRO_ELIGIBILITY_STATUS_UNKNOWN.
  • Updates iOS to 3.0.1 and Android to 3.0.4

3.0.2

  • Adds Purchases.addShouldPurchasePromoProduct to be able to handle purchases started from the Apple App Store.

3.0.1

  • Updates Android SDK to 3.0.3 which should fix issues with restores and syncs.

3.0.0

  • Support for new Offerings system.
  • Deprecates makePurchase methods. Replaces with purchasePackage
  • Deprecates getEntitlements method. Replaces with getOfferings
  • See our migration guide for more info: https://docs.revenuecat.com/v3.0/docs/offerings-migration
  • Updates to BillingClient 2.0.3. If finishTransactions is set to false (or observerMode is true when configuring the SDK), this SDK won't acknowledge any purchase and you have to do it yourself.
  • Adds proration mode support on upgrades/downgrades
  • Adds more PurchaserInfo missing properties. activeEntitlements, expirationsForActiveEntitlements and purchaseDatesForActiveEntitlements have been removed from PurchaserInfo
  • intro_price, intro_price_period_number_of_units and intro_price_cycles are a number now or null instead of empty strings, intro_price_period_unit can also be null.
  • Added Typescript types (#72)
  • New identity changes:
    • The .createAlias() method is no longer required, use .identify() instead
    • .identify() will create an alias if being called from an anonymous ID generated by RevenueCat
    • Added an isAnonymous property to Purchases.sharedInstance
    • Improved offline use

2.4.1

  • Fixes expirationDate in the EntitlementInfo object in iOS

2.4.0

  • Deprecates activeEntitlements in PurchaserInfo and adds entitlements object to RCPurchaserInfo. For more info check out https://docs.revenuecat.com/docs/purchaserinfo
  • Fixes trial info being lost in Android. Access intro_price in the product information to get information around the trial period.
  • Fixes exception when trying to purchase a product that doesn't exist.

2.3.4

  • Fixes permissions of install scripts

2.3.3

2.3.2

2.3.1

2.3.0

2.2.2

  • Removes wrong import referring to support library instead of androidx.

2.2.1

  • Removes console.log statement

2.2.0

  • 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

  • Updates iOS SDK to 2.1.1

2.1.1

  • If using an app ejected from Expo, the Android project wouldn't build since it couldn't find the react-native dependency. This release should fix it.

2.1.0

  • 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

2.0.0

  • 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

  • Removes unnecessary debugger statement RevenueCat#47
  • Runs Linter and prettifier
  • Adds missing setup call in the example

1.5.3

  • Fix android setup on a null appuserid
  • Adds listener removal methods

1.5.2

  • Changes setIsUsingAnonymousID to allowSharingStoreAccount

1.5.1

  • Fixes compilation in iOS

1.5.0

  • Adds create alias, identify and reset

1.4.4

  • Fixes download script issue

1.4.3

  • Fixes build issue on the Android bridge

1.4.2

  • Adds requestDate to the purchaser info to avoid edge cases