Skip to content

Commit 30c4960

Browse files
Merge pull request #94 from qonversion/release/4.0.0
Release/4.0.0
2 parents 3016b01 + 31b71a8 commit 30c4960

File tree

7 files changed

+20
-14
lines changed

7 files changed

+20
-14
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
## 4.0.0
2+
* From now Qonversion supports Google Play Billing Library 4.0.0 version for Android.
3+
14
## 3.3.0
25
* Add `purchaseProduct()`, `updatePurchaseWithProduct()`
36
* Deprecate `resetUser()`

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Qonversion is the data platform to power in-app subscription revenue growth.
1818
</p>
1919

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

2323

2424
## How It Works: Product Center
@@ -44,10 +44,10 @@ Monitor your in-app revenue metrics. Understand your customers and make better d
4444

4545
## Integrations
4646

47-
Send subscription data to your favorite platforms Share your mobile and web subscription data using our powerful integrations.
47+
Send subscription data to your favorite platforms. Share your mobile and web subscription data using our powerful integrations.
4848

4949
<p align="center">
50-
<a href="https://documentation.qonversion.io/docs/integrations-overview"><img width="90%", src="https://qcdn3.sfo3.digitaloceanspaces.com/github/integrations.png">
50+
<a href="https://documentation.qonversion.io/docs/integrations-overview"><img width="90%" src="https://qcdn3.sfo3.digitaloceanspaces.com/github/integrations.png">
5151
</a>
5252
</p>
5353

@@ -101,7 +101,7 @@ Whether you’re a core user or trying it out for the first time, you can make a
101101

102102
* sending us feedback about something you thought was confusing or simply missing
103103
* sending us a pull request via GitHub
104-
* suggesting better wording or ways of explaining certain topics in the [Qonversion documentation](http://documentation.qonversion.io). Use `SUGGEST EDITS` button in the top right corner.
104+
* suggesting better wording or ways of explaining certain topics in the [Qonversion documentation](https://documentation.qonversion.io). Use `SUGGEST EDITS` button in the top right corner.
105105

106106
## Contributing
107107

android/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
group 'com.qonversion.flutter.sdk.qonversion_flutter_sdk'
2-
version '3.3.0'
2+
version '4.0.0'
33

44
buildscript {
55
ext.kotlin_version = '1.3.50'
6-
ext.qonversion_version = '2.9.1'
6+
ext.qonversion_version = '3.0.0'
77
repositories {
88
google()
99
jcenter()

lib/src/models/sk_product/subscription_period.dart

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,8 @@ class SKProductSubscriptionPeriodWrapper {
3636
return _$SKProductSubscriptionPeriodWrapperFromJson(map);
3737
}
3838

39-
Map<String, dynamic> toJson() => _$SKProductSubscriptionPeriodWrapperToJson(this);
39+
Map<String, dynamic> toJson() =>
40+
_$SKProductSubscriptionPeriodWrapperToJson(this);
4041

4142
@override
4243
bool operator ==(Object other) {

lib/src/qonversion.dart

Lines changed: 5 additions & 3 deletions
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.3.0";
19+
static const String _sdkVersion = "4.0.0";
2020

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

@@ -70,9 +70,11 @@ class Qonversion {
7070

7171
/// Call this function to reset user ID and generate new anonymous user ID.
7272
/// Call this function before Qonversion.launch()
73-
@Deprecated("This function was used in debug mode only. You can reinstall the app if you need to reset the user ID.")
73+
@Deprecated(
74+
"This function was used in debug mode only. You can reinstall the app if you need to reset the user ID.")
7475
static Future<void> resetUser() async {
75-
debugPrint("resetUser() function is deprecated now. It was used in debug mode only. You can reinstall the app if you need to reset the user ID.");
76+
debugPrint(
77+
"resetUser() function is deprecated now. It was used in debug mode only. You can reinstall the app if you need to reset the user ID.");
7678
}
7779

7880
/// This method will send all purchases to the Qonversion backend. Call this every time when purchase is handled by you own implementation.

pubspec.lock

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ packages:
119119
name: cli_util
120120
url: "https://pub.dartlang.org"
121121
source: hosted
122-
version: "0.3.0"
122+
version: "0.3.2"
123123
clock:
124124
dependency: transitive
125125
description:
@@ -147,7 +147,7 @@ packages:
147147
name: convert
148148
url: "https://pub.dartlang.org"
149149
source: hosted
150-
version: "3.0.0"
150+
version: "3.0.1"
151151
crypto:
152152
dependency: transitive
153153
description:
@@ -227,7 +227,7 @@ packages:
227227
name: io
228228
url: "https://pub.dartlang.org"
229229
source: hosted
230-
version: "1.0.0"
230+
version: "1.0.2"
231231
js:
232232
dependency: transitive
233233
description:

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: qonversion_flutter
22
description: Flutter plugin to implement in-app subscriptions and purchases. Validate user receipts and manage cross-platform access to paid content on your app. Android & iOS.
3-
version: 3.3.0
3+
version: 4.0.0
44
homepage: 'https://qonversion.io'
55
repository: 'https://github.com/qonversion/flutter-sdk'
66

0 commit comments

Comments
 (0)