From 7cb40de79d04d76b7233b85e75ce9f48d240e439 Mon Sep 17 00:00:00 2001 From: Cesar de la Vega Date: Thu, 28 Feb 2019 14:38:56 -0800 Subject: [PATCH] Preparing for version 2.0.0 --- CHANGELOG.md | 11 +++++++++++ android/build.gradle | 2 +- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3a015471..f1d88857 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,14 @@ +## 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 https://github.com/RevenueCat/react-native-purchases/issues/47 - Runs Linter and prettifier diff --git a/android/build.gradle b/android/build.gradle index 611b3777..edbccd4b 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -61,5 +61,5 @@ repositories { dependencies { //noinspection GradleDynamicVersion api 'com.facebook.react:react-native:+' - api 'com.revenuecat.purchases:purchases:2.0.0' + api 'com.revenuecat.purchases:purchases:2.0.1' }