Skip to content

Commit 242b7b1

Browse files
authored
Merge pull request #361 from qonversion/release/9.1.4
Release 9.1.4
2 parents d9df2e2 + b5fc2d6 commit 242b7b1

File tree

10 files changed

+22
-35
lines changed

10 files changed

+22
-35
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 9.1.4
2+
* Added Tenjin AIID property for Tenjin integration
3+
* The setNotificationToken, handleNotification, and `getNotificationCustomPayload` methods were marked as deprecated.
4+
15
## 9.1.3
26
* Updated restore logic to process huge sandbox receipts faster.
37
* Fixed [products issue](https://github.com/qonversion/qonversion-ios-sdk/issues/507).

android/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,6 @@ android {
5151

5252
dependencies {
5353
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
54-
implementation "io.qonversion.sandwich:sandwich:5.1.5"
54+
implementation "io.qonversion.sandwich:sandwich:5.1.6"
5555
implementation 'com.google.code.gson:gson:2.9.0'
5656
}

example/ios/Runner.xcodeproj/project.pbxproj

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -267,34 +267,14 @@
267267
);
268268
inputPaths = (
269269
"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks.sh",
270-
"${BUILT_PRODUCTS_DIR}/FirebaseCore/FirebaseCore.framework",
271-
"${BUILT_PRODUCTS_DIR}/FirebaseCoreDiagnostics/FirebaseCoreDiagnostics.framework",
272-
"${BUILT_PRODUCTS_DIR}/FirebaseCoreInternal/FirebaseCoreInternal.framework",
273-
"${BUILT_PRODUCTS_DIR}/FirebaseInstallations/FirebaseInstallations.framework",
274-
"${BUILT_PRODUCTS_DIR}/FirebaseMessaging/FirebaseMessaging.framework",
275-
"${BUILT_PRODUCTS_DIR}/GoogleDataTransport/GoogleDataTransport.framework",
276-
"${BUILT_PRODUCTS_DIR}/GoogleUtilities/GoogleUtilities.framework",
277-
"${BUILT_PRODUCTS_DIR}/PromisesObjC/FBLPromises.framework",
278270
"${BUILT_PRODUCTS_DIR}/Qonversion/Qonversion.framework",
279271
"${BUILT_PRODUCTS_DIR}/QonversionSandwich/QonversionSandwich.framework",
280-
"${BUILT_PRODUCTS_DIR}/flutter_local_notifications/flutter_local_notifications.framework",
281-
"${BUILT_PRODUCTS_DIR}/nanopb/nanopb.framework",
282272
"${BUILT_PRODUCTS_DIR}/qonversion_flutter/qonversion_flutter.framework",
283273
);
284274
name = "[CP] Embed Pods Frameworks";
285275
outputPaths = (
286-
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/FirebaseCore.framework",
287-
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/FirebaseCoreDiagnostics.framework",
288-
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/FirebaseCoreInternal.framework",
289-
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/FirebaseInstallations.framework",
290-
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/FirebaseMessaging.framework",
291-
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/GoogleDataTransport.framework",
292-
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/GoogleUtilities.framework",
293-
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/FBLPromises.framework",
294276
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Qonversion.framework",
295277
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/QonversionSandwich.framework",
296-
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/flutter_local_notifications.framework",
297-
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/nanopb.framework",
298278
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/qonversion_flutter.framework",
299279
);
300280
runOnlyForDeploymentPostprocessing = 0;

ios/Classes/SwiftQonversionPlugin.swift

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -319,20 +319,20 @@ public class SwiftQonversionPlugin: NSObject, FlutterPlugin {
319319
}
320320

321321
private func attachUserToRemoteConfiguration(_ args: [String: Any], _ result: @escaping FlutterResult) {
322-
guard let remoteConfigurationId = args["remoteConfigurationId"] as? String else {
323-
return result(FlutterError.noNecessaryData)
324-
}
325-
326-
qonversionSandwich?.attachUserToRemoteConfiguration(with: remoteConfigurationId, completion: getJsonCompletion(result))
322+
guard let remoteConfigurationId = args["remoteConfigurationId"] as? String else {
323+
return result(FlutterError.noNecessaryData)
327324
}
328325

329-
private func detachUserFromRemoteConfiguration(_ args: [String: Any], _ result: @escaping FlutterResult) {
330-
guard let remoteConfigurationId = args["remoteConfigurationId"] as? String else {
331-
return result(FlutterError.noNecessaryData)
332-
}
326+
qonversionSandwich?.attachUserToRemoteConfiguration(with: remoteConfigurationId, completion: getJsonCompletion(result))
327+
}
333328

334-
qonversionSandwich?.detachUserFromRemoteConfiguration(with: remoteConfigurationId, completion: getJsonCompletion(result))
329+
private func detachUserFromRemoteConfiguration(_ args: [String: Any], _ result: @escaping FlutterResult) {
330+
guard let remoteConfigurationId = args["remoteConfigurationId"] as? String else {
331+
return result(FlutterError.noNecessaryData)
335332
}
333+
334+
qonversionSandwich?.detachUserFromRemoteConfiguration(with: remoteConfigurationId, completion: getJsonCompletion(result))
335+
}
336336

337337
private func storeSdkInfo(_ args: [String: Any], _ result: @escaping FlutterResult) {
338338
guard let version = args["version"] as? String,

ios/qonversion_flutter.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Pod::Spec.new do |s|
1616
s.source_files = 'Classes/**/*'
1717
s.dependency 'Flutter'
1818
s.platform = :ios, '9.0'
19-
s.dependency "QonversionSandwich", "5.1.5"
19+
s.dependency "QonversionSandwich", "5.1.6"
2020

2121
# Flutter.framework does not contain a i386 slice. Only x86_64 simulators are supported.
2222
s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES', 'VALID_ARCHS[sdk=iphonesimulator*]' => 'x86_64' }

lib/src/dto/user_property_key.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,6 @@ enum QUserPropertyKey {
1313
appMetricaUserProfileId,
1414
pushWooshHwId,
1515
pushWooshUserId,
16+
tenjinAnalyticsInstallationId,
1617
custom,
1718
}

lib/src/internal/mapper.dart

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,8 @@ class QMapper {
119119
return QUserPropertyKey.pushWooshHwId;
120120
case "_q_pushwoosh_user_id":
121121
return QUserPropertyKey.pushWooshUserId;
122+
case "_q_tenjin_aiid":
123+
return QUserPropertyKey.tenjinAnalyticsInstallationId;
122124
}
123125

124126
return QUserPropertyKey.custom;

lib/src/internal/qonversion_internal.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import 'package:qonversion_flutter/src/internal/utils/string.dart';
1111
import 'constants.dart';
1212

1313
class QonversionInternal implements Qonversion {
14-
static const String _sdkVersion = "9.1.3";
14+
static const String _sdkVersion = "9.1.4";
1515

1616
final MethodChannel _channel = MethodChannel('qonversion_plugin');
1717

macos/qonversion_flutter.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Pod::Spec.new do |s|
1616
s.source_files = 'Classes/**/*'
1717
s.dependency 'FlutterMacOS'
1818
s.platform = :osx, '10.12'
19-
s.dependency "QonversionSandwich", "5.1.5"
19+
s.dependency "QonversionSandwich", "5.1.6"
2020

2121
s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES' }
2222
s.swift_version = '5.0'

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: 9.1.3
3+
version: 9.1.4
44
homepage: 'https://qonversion.io'
55
repository: 'https://github.com/qonversion/flutter-sdk'
66

0 commit comments

Comments
 (0)