Skip to content

Commit

Permalink
Merge pull request #94 from qonversion/release/4.0.0
Browse files Browse the repository at this point in the history
Release/4.0.0
  • Loading branch information
Maria-Bordunova authored Jul 9, 2021
2 parents 3016b01 + 31b71a8 commit 30c4960
Show file tree
Hide file tree
Showing 7 changed files with 20 additions and 14 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
## 4.0.0
* From now Qonversion supports Google Play Billing Library 4.0.0 version for Android.

## 3.3.0
* Add `purchaseProduct()`, `updatePurchaseWithProduct()`
* Deprecate `resetUser()`
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Qonversion is the data platform to power in-app subscription revenue growth.
</p>

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


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

## Integrations

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

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

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

* sending us feedback about something you thought was confusing or simply missing
* sending us a pull request via GitHub
* 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.
* 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.

## Contributing

Expand Down
4 changes: 2 additions & 2 deletions android/build.gradle
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
group 'com.qonversion.flutter.sdk.qonversion_flutter_sdk'
version '3.3.0'
version '4.0.0'

buildscript {
ext.kotlin_version = '1.3.50'
ext.qonversion_version = '2.9.1'
ext.qonversion_version = '3.0.0'
repositories {
google()
jcenter()
Expand Down
3 changes: 2 additions & 1 deletion lib/src/models/sk_product/subscription_period.dart
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ class SKProductSubscriptionPeriodWrapper {
return _$SKProductSubscriptionPeriodWrapperFromJson(map);
}

Map<String, dynamic> toJson() => _$SKProductSubscriptionPeriodWrapperToJson(this);
Map<String, dynamic> toJson() =>
_$SKProductSubscriptionPeriodWrapperToJson(this);

@override
bool operator ==(Object other) {
Expand Down
8 changes: 5 additions & 3 deletions lib/src/qonversion.dart
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import 'models/purchase_exception.dart';
import 'qa_provider.dart';

class Qonversion {
static const String _sdkVersion = "3.3.0";
static const String _sdkVersion = "4.0.0";

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

Expand Down Expand Up @@ -70,9 +70,11 @@ class Qonversion {

/// Call this function to reset user ID and generate new anonymous user ID.
/// Call this function before Qonversion.launch()
@Deprecated("This function was used in debug mode only. You can reinstall the app if you need to reset the user ID.")
@Deprecated(
"This function was used in debug mode only. You can reinstall the app if you need to reset the user ID.")
static Future<void> resetUser() async {
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.");
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.");
}

/// This method will send all purchases to the Qonversion backend. Call this every time when purchase is handled by you own implementation.
Expand Down
6 changes: 3 additions & 3 deletions pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ packages:
name: cli_util
url: "https://pub.dartlang.org"
source: hosted
version: "0.3.0"
version: "0.3.2"
clock:
dependency: transitive
description:
Expand Down Expand Up @@ -147,7 +147,7 @@ packages:
name: convert
url: "https://pub.dartlang.org"
source: hosted
version: "3.0.0"
version: "3.0.1"
crypto:
dependency: transitive
description:
Expand Down Expand Up @@ -227,7 +227,7 @@ packages:
name: io
url: "https://pub.dartlang.org"
source: hosted
version: "1.0.0"
version: "1.0.2"
js:
dependency: transitive
description:
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: qonversion_flutter
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.
version: 3.3.0
version: 4.0.0
homepage: 'https://qonversion.io'
repository: 'https://github.com/qonversion/flutter-sdk'

Expand Down

0 comments on commit 30c4960

Please sign in to comment.