From 55af5e718b8cef4ce1c0a147004ed1ce16702e7c Mon Sep 17 00:00:00 2001 From: Cesar de la Vega Date: Tue, 3 Sep 2019 14:21:46 -0700 Subject: [PATCH] Preparing for version 0.3.2 --- CHANGELOG.md | 8 ++++++-- RELEASING.md | 2 +- VERSIONS.md | 1 + ios/Classes/.common_version | 2 +- ios/Classes/Common/RCEntitlementInfo+HybridAdditions.m | 2 +- ios/purchases_flutter.podspec | 2 +- pubspec.yaml | 2 +- 7 files changed, 12 insertions(+), 7 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index bef4db654..67858b956 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,10 @@ +## 0.3.2 + +- Fixes `expirationDate` in EntitlementInfo for iOS. + ## 0.3.1 -- Fixes crash when there's a trial period and not an introductory price on Android. +- Fixes crash when there's a trial period and not an introductory price on Android. ## 0.3.0 @@ -17,7 +21,7 @@ ## 0.2.1 - Makes some changes to the introductory pricing due to some inconsistencies introduced in 0.2.0. -Introductory pricing is now an object part of the product. + Introductory pricing is now an object part of the product. ## 0.2.0 diff --git a/RELEASING.md b/RELEASING.md index d287d552d..f0334300b 100644 --- a/RELEASING.md +++ b/RELEASING.md @@ -1,5 +1,5 @@ 1. Update to the latest SDK versions in purchases_flutter.podspec and build.gradle. -1. Run `./scripts/download-purchases-common.sh 0.1.3` +1. Run `./scripts/download-purchases-common.sh 0.1.4` 1. Run `flutter format` 1. Update versions in VERSIONS.md. 1. Update version in pubspec.yaml, purchases_flutter.podspec. diff --git a/VERSIONS.md b/VERSIONS.md index 7d023d628..9568e08d6 100644 --- a/VERSIONS.md +++ b/VERSIONS.md @@ -1,5 +1,6 @@ | Version | iOS version | Android version | Common files version | |---------|-------------|-----------------|----------------------| +| 0.3.2 | 2.6.0 | 2.4.0 | 0.1.4 | | 0.3.1 | 2.6.0 | 2.4.0 | 0.1.3 | | 0.3.0 | 2.6.0 | 2.4.0 | 0.1.3 | | 0.2.2 | 2.5.0 | 2.3.1 | 0.1.2 | diff --git a/ios/Classes/.common_version b/ios/Classes/.common_version index b1e80bb24..845639eef 100644 --- a/ios/Classes/.common_version +++ b/ios/Classes/.common_version @@ -1 +1 @@ -0.1.3 +0.1.4 diff --git a/ios/Classes/Common/RCEntitlementInfo+HybridAdditions.m b/ios/Classes/Common/RCEntitlementInfo+HybridAdditions.m index 7b5139448..dc17b8303 100644 --- a/ios/Classes/Common/RCEntitlementInfo+HybridAdditions.m +++ b/ios/Classes/Common/RCEntitlementInfo+HybridAdditions.m @@ -46,7 +46,7 @@ - (NSDictionary *)dictionary jsonDict[@"latestPurchaseDate"] = stringFromDate(self.latestPurchaseDate); jsonDict[@"originalPurchaseDate"] = stringFromDate(self.originalPurchaseDate); - jsonDict[@"expirationDate"] = stringFromDate(self.originalPurchaseDate) ?: [NSNull null]; + jsonDict[@"expirationDate"] = stringFromDate(self.expirationDate) ?: [NSNull null]; switch (self.store) { case RCAppStore: diff --git a/ios/purchases_flutter.podspec b/ios/purchases_flutter.podspec index 5473ab459..cd60104f2 100644 --- a/ios/purchases_flutter.podspec +++ b/ios/purchases_flutter.podspec @@ -3,7 +3,7 @@ # Pod::Spec.new do |s| s.name = 'purchases_flutter' - s.version = '0.3.1' + s.version = '0.3.2' s.summary = 'Cross-platform subscriptions framework for Flutter.' s.description = <<-DESC Client for the RevenueCat subscription and purchase tracking system, making implementing in-app subscriptions in Flutter easy - receipt validation and status tracking included! diff --git a/pubspec.yaml b/pubspec.yaml index a9698493b..b878394ca 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: purchases_flutter description: Client for the RevenueCat subscription and purchase tracking system, making implementing in-app subscriptions in Flutter easy - receipt validation and status tracking included! -version: 0.3.1 +version: 0.3.2 authors: - RevenueCat homepage: https://www.revenuecat.com/