AdaptySDK-Flutter icon indicating copy to clipboard operation
AdaptySDK-Flutter copied to clipboard

didUpdateProfileStream does not emit on purchase

Open tyypgzl opened this issue 3 months ago • 2 comments

didUpdateProfileStream never emits. I tested with both a successful purchase and an explicit Adapty().updateProfile(...) call, but no events are received.

Flutter Doctor Result
[✓] Flutter (Channel stable, 3.35.3, on macOS 15.3.1 24D70 darwin-arm64, locale en-TR) [332ms]
    • Flutter version 3.35.3 on channel stable at /Users/tyypgzl/fvm/versions/3.35.3
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision a402d9a437 (4 weeks ago), 2025-09-03 14:54:31 -0700
    • Engine revision ddf47dd3ff
    • Dart version 3.9.2
    • DevTools version 2.48.0
    • Feature flags: enable-web, enable-linux-desktop, enable-macos-desktop, enable-windows-desktop, enable-android, enable-ios, cli-animations, enable-lldb-debugging

[✓] Android toolchain - develop for Android devices (Android SDK version 36.0.0) [989ms]
    • Android SDK at /Users/tyypgzl/Library/Android/sdk
    • Emulator version 35.3.11.0 (build_id 12836668) (CL:N/A)
    • Platform android-36, build-tools 36.0.0
    • ANDROID_HOME = /Users/tyypgzl/Library/Android/sdk
    • Java binary at: /Library/Java/JavaVirtualMachines/zulu-17.jdk/Contents/Home/bin/java
      This JDK is specified in your Flutter configuration.
      To change the current JDK, run: `flutter config --jdk-dir="path/to/jdk"`.
    • Java version OpenJDK Runtime Environment Zulu17.56+15-CA (build 17.0.14+7-LTS)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 16.2) [561ms]
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 16C5032a
    • CocoaPods version 1.16.2

[✓] Chrome - develop for the web [6ms]
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2024.2) [6ms]
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 21.0.5+-12932927-b750.29)

[✓] VS Code (version 1.103.2) [5ms]
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.118.0

tyypgzl avatar Oct 03 '25 19:10 tyypgzl

Hi @tyypgzl! Thank you for the issue, we will check it and come back to you soon.

x401om avatar Oct 07 '25 10:10 x401om

@tyypgzl unfortunately, I wasn’t able to reproduce the issue using our Example app. Could you please check it on your side? If the Example app works correctly but the issue persists in your application, it’s most likely caused by incorrect initialization logic. In that case, please provide a minimal example so we can reproduce the issue on our end.

x401om avatar Oct 21 '25 12:10 x401om

We consider the issue as resolved, feel free to reopen if it still persists.

x401om avatar Nov 11 '25 11:11 x401om