From 983a2b8472af8fd86884076f1d17eb4b879e38e6 Mon Sep 17 00:00:00 2001 From: Kamo Spertsyan Date: Thu, 15 Sep 2022 12:19:25 +0300 Subject: [PATCH 1/3] AppSetId property added for Android. (#167) --- android/build.gradle | 2 +- ios/qonversion_flutter.podspec | 2 +- lib/src/models/user_property.dart | 1 + macos/qonversion_flutter.podspec | 2 +- 4 files changed, 4 insertions(+), 3 deletions(-) diff --git a/android/build.gradle b/android/build.gradle index fb9bdcf..5efb728 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -41,6 +41,6 @@ android { dependencies { implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version" - implementation 'io.qonversion.sandwich:sandwich:0.1.1' + implementation 'io.qonversion.sandwich:sandwich:0.1.2' implementation 'com.google.code.gson:gson:2.8.6' } diff --git a/ios/qonversion_flutter.podspec b/ios/qonversion_flutter.podspec index 9b41d4d..966bdc9 100644 --- a/ios/qonversion_flutter.podspec +++ b/ios/qonversion_flutter.podspec @@ -16,7 +16,7 @@ Pod::Spec.new do |s| s.source_files = 'Classes/**/*' s.dependency 'Flutter' s.platform = :ios, '9.0' - s.dependency 'QonversionSandwich', '0.1.1' + s.dependency 'QonversionSandwich', '0.1.2' # Flutter.framework does not contain a i386 slice. Only x86_64 simulators are supported. s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES', 'VALID_ARCHS[sdk=iphonesimulator*]' => 'x86_64' } diff --git a/lib/src/models/user_property.dart b/lib/src/models/user_property.dart index 68ef05e..7ced3db 100644 --- a/lib/src/models/user_property.dart +++ b/lib/src/models/user_property.dart @@ -6,4 +6,5 @@ enum QUserProperty { kochavaDeviceId, customUserId, firebaseAppInstanceId, + appSetId, // Android only } diff --git a/macos/qonversion_flutter.podspec b/macos/qonversion_flutter.podspec index e7a12c7..bb93068 100644 --- a/macos/qonversion_flutter.podspec +++ b/macos/qonversion_flutter.podspec @@ -16,7 +16,7 @@ Pod::Spec.new do |s| s.source_files = 'Classes/**/*' s.dependency 'FlutterMacOS' s.platform = :osx, '10.12' - s.dependency 'QonversionSandwich', '0.1.1' + s.dependency 'QonversionSandwich', '0.1.2' s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES' } s.swift_version = '5.0' s.static_framework = true From 5b0fd0f8e1405426009aa9d1ea65d8ed52991e28 Mon Sep 17 00:00:00 2001 From: SpertsyanKM Date: Thu, 15 Sep 2022 09:22:53 +0000 Subject: [PATCH 2/3] [create-pull-request] automated change --- CHANGELOG.md | 3 +++ lib/src/qonversion.dart | 2 +- pubspec.yaml | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0206793..2bcb82c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,6 @@ +## 4.5.2 +* // Update changelog here + ## 4.5.1 * Fixed `Could not find offeringId value` error for `purchaseProduct` call on iOS. diff --git a/lib/src/qonversion.dart b/lib/src/qonversion.dart index 5b15469..ae2b905 100644 --- a/lib/src/qonversion.dart +++ b/lib/src/qonversion.dart @@ -17,7 +17,7 @@ import 'models/purchase_exception.dart'; import 'qa_provider.dart'; class Qonversion { - static const String _sdkVersion = "4.5.1"; + static const String _sdkVersion = "4.5.2"; static const MethodChannel _channel = MethodChannel('qonversion_flutter_sdk'); diff --git a/pubspec.yaml b/pubspec.yaml index 2b06d8d..78eabd7 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -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: 4.5.1 +version: 4.5.2 homepage: 'https://qonversion.io' repository: 'https://github.com/qonversion/flutter-sdk' From f8ed91cf6fad6e1501ec63ddd802196bca716012 Mon Sep 17 00:00:00 2001 From: kamospertsyan Date: Thu, 15 Sep 2022 12:25:22 +0300 Subject: [PATCH 3/3] Changelog update. --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2bcb82c..0726669 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,5 @@ ## 4.5.2 -* // Update changelog here +* Added a new user property `AppSetId` - a unique user identifier for all the developer's applications. May be used for some integrations. ## 4.5.1 * Fixed `Could not find offeringId value` error for `purchaseProduct` call on iOS.