From a12a8af510c50c75bee6b2aeda336b5e35ed241a Mon Sep 17 00:00:00 2001 From: andreykropotov Date: Fri, 13 Nov 2026 14:57:17 +0400 Subject: [PATCH 1/2] fix(android): the profile sends the advertising id as google_advertising_id; the API has no advertising_id and dropped it silently --- .../com/rees46/rees46_flutter_sdk/Rees46FlutterSdkPlugin.kt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/android/src/main/kotlin/com/rees46/rees46_flutter_sdk/Rees46FlutterSdkPlugin.kt b/android/src/main/kotlin/com/rees46/rees46_flutter_sdk/Rees46FlutterSdkPlugin.kt index fd2b716..7939cfe 100644 --- a/android/src/main/kotlin/com/rees46/rees46_flutter_sdk/Rees46FlutterSdkPlugin.kt +++ b/android/src/main/kotlin/com/rees46/rees46_flutter_sdk/Rees46FlutterSdkPlugin.kt @@ -641,7 +641,9 @@ class Rees46FlutterSdkPlugin : params.age?.let { builder.put("age", it.toInt()) } params.gender?.let { builder.put("gender", it) } params.location?.let { builder.put("location", it) } - params.advertisingId?.let { builder.put("advertising_id", it) } + // The API has no `advertising_id`: the server drops it silently. The native SDK sends the + // Google advertising id as `google_advertising_id` too. + params.advertisingId?.let { builder.put("google_advertising_id", it) } params.fbId?.let { builder.put("fb_id", it) } params.vkId?.let { builder.put("vk_id", it) } params.telegramId?.let { builder.put("telegram_id", it) } From d2b0b3c1217af62854296549b0e7479e2668434f Mon Sep 17 00:00:00 2001 From: andreykropotov Date: Fri, 13 Nov 2026 17:50:53 +0400 Subject: [PATCH 2/2] fix(sdk): native Android SDK 2.49.0 and iOS SDK 3.37.3 with the fixes checked against the live API: instant search merchants, push click attribution, profile dates, search filters, timeouts, APNs pushes and subscriptions --- README.md | 2 +- android/build.gradle.kts | 2 +- ios/rees46_sdk.podspec | 2 +- ios/rees46_sdk/Package.swift | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 0fab9e1..78a179a 100644 --- a/README.md +++ b/README.md @@ -66,7 +66,7 @@ repository. The tag is the version the plugin requires — the `REES46` dependen [`ios/rees46_sdk.podspec`](ios/rees46_sdk.podspec): ```ruby -pod 'REES46', :git => 'https://github.com/rees46/ios-sdk.git', :tag => 'v3.37.2' +pod 'REES46', :git => 'https://github.com/rees46/ios-sdk.git', :tag => 'v3.37.3' ``` `pod install` then runs as part of `flutter run`. Update the tag together with the diff --git a/android/build.gradle.kts b/android/build.gradle.kts index 2af68f3..8ff756c 100644 --- a/android/build.gradle.kts +++ b/android/build.gradle.kts @@ -87,7 +87,7 @@ android { dependencies { // REES46 Android SDK. - val rees46AndroidSdkVersion = "v2.48.0" + val rees46AndroidSdkVersion = "v2.49.0" add("rees46Implementation", "com.github.rees46:android-sdk:$rees46AndroidSdkVersion") // Used directly by the push presenter (NotificationCompat / ContextCompat). The native SDK diff --git a/ios/rees46_sdk.podspec b/ios/rees46_sdk.podspec index ff84a82..bc05313 100644 --- a/ios/rees46_sdk.podspec +++ b/ios/rees46_sdk.podspec @@ -20,7 +20,7 @@ Flutter plugin wrapper around REES46 native SDK. # Keep in step with the dependency in rees46_sdk/Package.swift. CocoaPods trunk is # read-only, so a version newer than the last one there resolves only through the # app's Podfile (see "iOS" in README.md). - s.dependency 'REES46', '3.37.2' + s.dependency 'REES46', '3.37.3' s.platform = :ios, '13.0' # Flutter.framework does not contain a i386 slice. diff --git a/ios/rees46_sdk/Package.swift b/ios/rees46_sdk/Package.swift index 0389e89..a4c0bcc 100644 --- a/ios/rees46_sdk/Package.swift +++ b/ios/rees46_sdk/Package.swift @@ -13,7 +13,7 @@ let package = Package( ], dependencies: [ // Keep in step with the dependency in ../rees46_sdk.podspec. - .package(url: "https://github.com/rees46/ios-sdk.git", exact: "3.37.2") + .package(url: "https://github.com/rees46/ios-sdk.git", exact: "3.37.3") ], targets: [ .target(