Closed ildfreelancer closed 7 months ago
In sentry, we got this issue: (encodingFailed): Failed to find encoder for property "customerUserId"
I believe this issue happens on Android from Adapty.
I think it comes from
adapty.updateProfile({ customerUserId: ... })
Based on what I see, it might be in latest version,
customerUserId is not supported to update via updateProfile method, so it throws the error above? https://docs.adapty.io/docs/setting-user-attributes
customerUserId
Can you take a look?
v2.7.0
Android
System: OS: macOS 14.2.1 CPU: (8) arm64 Apple M1 Pro Memory: 90.22 MB / 32.00 GB Shell: version: "5.9" path: /bin/zsh Binaries: Node: version: 20.10.0 path: ~/.nvm/versions/node/v20.10.0/bin/node Yarn: version: 1.22.19 path: ~/.yarn/bin/yarn npm: version: 10.2.3 path: ~/.nvm/versions/node/v20.10.0/bin/npm Watchman: version: 2023.12.04.00 path: /opt/homebrew/bin/watchman Managers: CocoaPods: version: 1.14.3 path: /.rvm/gems/ruby-2.7.6/bin/pod SDKs: iOS SDK: Platforms: - DriverKit 23.2 - iOS 17.2 - macOS 14.2 - tvOS 17.2 - watchOS 10.2 Android SDK: API Levels: - "23" - "28" - "29" - "30" - "31" - "32" - "33" - "34" Build Tools: - 29.0.2 - 30.0.2 - 30.0.3 - 31.0.0 - 32.0.0 - 33.0.0 - 34.0.0 System Images: - android-28 | Google ARM64-V8a Play ARM 64 v8a - android-30 | Google Play ARM 64 v8a - android-31 | Google Play ARM 64 v8a - android-32 | Google APIs ARM 64 v8a - android-33 | Google APIs ARM 64 v8a - android-33 | Google Play ARM 64 v8a Android NDK: 22.1.7171670 IDEs: Android Studio: 2023.1 AI-231.9392.1.2311.11076708 Xcode: version: 15.1/15C65 path: /usr/bin/xcodebuild Languages: Java: version: 18.0.2.1 path: /opt/homebrew/opt/openjdk/bin/javac Ruby: version: 2.7.6 path: /.rvm/rubies/ruby-2.7.6/bin/ruby npmPackages: "@react-native-community/cli": Not Found react: installed: 18.2.0 wanted: 18.2.0 react-native: installed: 0.72.7 wanted: ^0.72.7 react-native-macos: Not Found npmGlobalPackages: "*react-native*": Not Found Android: hermesEnabled: true newArchEnabled: false iOS: hermesEnabled: true newArchEnabled: false
Description
In sentry, we got this issue: (encodingFailed): Failed to find encoder for property "customerUserId"
I believe this issue happens on Android from Adapty.
I think it comes from
Based on what I see, it might be in latest version,
customerUserId
is not supported to update via updateProfile method, so it throws the error above? https://docs.adapty.io/docs/setting-user-attributesCan you take a look?
Version
v2.7.0
What platforms are you seeing the problem on?
Android
System info