Skip to content

Commit 96e22f4

Browse files
Merge pull request #83 from qonversion/release/3.2.1
Release/3.2.1
2 parents 4748197 + 5b0a8b4 commit 96e22f4

File tree

11 files changed

+41
-28
lines changed

11 files changed

+41
-28
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
## 3.2.1
2+
* Fix enum dependencies
3+
14
## 3.2.0
25
* Add support for Android v2 embedding
36

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Implement in-app subscriptions, validate user receipts, check subscription statu
2020
Check the [documentation](https://documentation.qonversion.io/docs) to learn details on implementing and using Qonversion SDKs.
2121

2222
[![Pub](https://img.shields.io/pub/v/qonversion_flutter.svg)](https://pub.dev/packages/qonversion_flutter)
23-
[![MIT License](http://img.shields.io/cocoapods/l/Qonversion.svg?style=flat)](http://qonversion.io)
23+
[![MIT License](https://img.shields.io/cocoapods/l/Qonversion.svg?style=flat)](https://qonversion.io)
2424

2525

2626
## Product Center

android/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
group 'com.qonversion.flutter.sdk.qonversion_flutter_sdk'
2-
version '3.2.0'
2+
version '3.2.1'
33

44
buildscript {
55
ext.kotlin_version = '1.3.50'

ios/qonversion_flutter.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#
55
Pod::Spec.new do |s|
66
s.name = 'qonversion_flutter'
7-
s.version = '3.1.0'
7+
s.version = '3.1.1'
88
s.summary = 'Flutter Qonversion SDK'
99
s.description = <<-DESC
1010
Powerful yet simple subscription analytics

lib/qonversion_flutter.dart

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,10 @@ export 'src/models/proration_mode.dart';
77
export 'src/models/purchase_exception.dart';
88
export 'src/models/user_property.dart';
99
export 'src/qa_provider.dart';
10-
export 'src/qonversion.dart';
10+
export 'src/models/sk_product/discount_payment_mode.dart';
11+
export 'src/models/sk_product/subscription_period_unit.dart';
12+
export 'src/models/product_duration.dart';
13+
export 'src/models/product_renew_state.dart';
14+
export 'src/models/product_type.dart';
15+
export 'src/models/proration_mode.dart';
16+
export 'src/qonversion.dart';

lib/src/models/offerings.dart

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@ class QOfferings {
2121

2222
const QOfferings(this.main, this.availableOfferings);
2323

24-
QOffering? offeringForIdentifier(String id) => availableOfferings.firstWhereOrNull(
24+
QOffering? offeringForIdentifier(String id) =>
25+
availableOfferings.firstWhereOrNull(
2526
(element) => element.id == id,
2627
);
2728

lib/src/models/sk_product/sk_product_wrapper.dart

Lines changed: 14 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,8 @@ class SKProductWrapper {
7878
if (other.runtimeType != runtimeType) {
7979
return false;
8080
}
81-
return other is SKProductWrapper && other.productIdentifier == productIdentifier &&
81+
return other is SKProductWrapper &&
82+
other.productIdentifier == productIdentifier &&
8283
other.localizedTitle == localizedTitle &&
8384
other.localizedDescription == localizedDescription &&
8485
other.priceLocale == priceLocale &&
@@ -89,15 +90,16 @@ class SKProductWrapper {
8990
}
9091

9192
@override
92-
int get hashCode => hashValues(
93-
this.productIdentifier,
94-
this.localizedTitle,
95-
this.localizedDescription,
96-
this.priceLocale,
97-
this.subscriptionGroupIdentifier,
98-
this.price,
99-
this.subscriptionPeriod,
100-
this.introductoryPrice);
93+
int get hashCode =>
94+
hashValues(
95+
this.productIdentifier,
96+
this.localizedTitle,
97+
this.localizedDescription,
98+
this.priceLocale,
99+
this.subscriptionGroupIdentifier,
100+
this.price,
101+
this.subscriptionPeriod,
102+
this.introductoryPrice);
101103
}
102104

103105
/// Object that indicates the locale of the price
@@ -128,7 +130,8 @@ class SKPriceLocaleWrapper {
128130
if (other.runtimeType != runtimeType) {
129131
return false;
130132
}
131-
return other is SKPriceLocaleWrapper && other.currencySymbol == currencySymbol &&
133+
return other is SKPriceLocaleWrapper &&
134+
other.currencySymbol == currencySymbol &&
132135
other.currencyCode == currencyCode;
133136
}
134137

lib/src/qonversion.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import 'models/purchase_exception.dart';
1616
import 'qa_provider.dart';
1717

1818
class Qonversion {
19-
static const String _sdkVersion = "3.2.0";
19+
static const String _sdkVersion = "3.2.1";
2020

2121
static const MethodChannel _channel = MethodChannel('qonversion_flutter_sdk');
2222

macos/qonversion_flutter.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#
55
Pod::Spec.new do |s|
66
s.name = 'qonversion_flutter'
7-
s.version = '2.1.0'
7+
s.version = '2.1.1'
88
s.summary = 'Flutter Qonversion SDK'
99
s.description = <<-DESC
1010
Powerful yet simple subscription analytics

pubspec.lock

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,21 +7,21 @@ packages:
77
name: _fe_analyzer_shared
88
url: "https://pub.dartlang.org"
99
source: hosted
10-
version: "21.0.0"
10+
version: "22.0.0"
1111
analyzer:
1212
dependency: transitive
1313
description:
1414
name: analyzer
1515
url: "https://pub.dartlang.org"
1616
source: hosted
17-
version: "1.5.0"
17+
version: "1.7.1"
1818
args:
1919
dependency: transitive
2020
description:
2121
name: args
2222
url: "https://pub.dartlang.org"
2323
source: hosted
24-
version: "2.1.0"
24+
version: "2.1.1"
2525
async:
2626
dependency: transitive
2727
description:
@@ -42,7 +42,7 @@ packages:
4242
name: build
4343
url: "https://pub.dartlang.org"
4444
source: hosted
45-
version: "2.0.1"
45+
version: "2.0.2"
4646
build_config:
4747
dependency: transitive
4848
description:
@@ -63,7 +63,7 @@ packages:
6363
name: build_resolvers
6464
url: "https://pub.dartlang.org"
6565
source: hosted
66-
version: "2.0.0"
66+
version: "2.0.3"
6767
build_runner:
6868
dependency: "direct dev"
6969
description:
@@ -175,7 +175,7 @@ packages:
175175
name: file
176176
url: "https://pub.dartlang.org"
177177
source: hosted
178-
version: "6.1.0"
178+
version: "6.1.1"
179179
fixnum:
180180
dependency: transitive
181181
description:
@@ -248,7 +248,7 @@ packages:
248248
name: json_serializable
249249
url: "https://pub.dartlang.org"
250250
source: hosted
251-
version: "4.1.1"
251+
version: "4.1.3"
252252
logging:
253253
dependency: transitive
254254
description:
@@ -344,7 +344,7 @@ packages:
344344
name: source_gen
345345
url: "https://pub.dartlang.org"
346346
source: hosted
347-
version: "1.0.0"
347+
version: "1.0.1"
348348
source_span:
349349
dependency: transitive
350350
description:

0 commit comments

Comments
 (0)