Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] The following PlatformException was thrown: I/flutter (11736): PlatformException(10303, 10303 unread count has zero, null, null) I/flutter (11736): I/flutter (11736): When the exception was thrown, this was the stack: I/flutter (11736): #0 StandardMethodCodec.decodeEnvelope (package:flutter/src/services/message_codecs.dart:648:7) I/flutter (11736): #1 MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:334:18) #823

Closed
chenkaiji opened this issue Dec 18, 2024 · 1 comment
Labels
bug Categorizes issue or PR as related to a bug.
Milestone

Comments

@chenkaiji
Copy link

OpenIM SDK Version

3.5.1

OpenIM Server Version

3.5.1

SDK Platform

Flutter SDK

Device Model

一加 Ace 3 PJE110

Operating System Version

Android 14

Bug Description and Steps to Reproduce

当会话未读数本身为0时,再调用markConversationMessageAsRead,会抛出异常,正常不应该抛出异常才对

Screenshots Link

image

@chenkaiji chenkaiji added the bug Categorizes issue or PR as related to a bug. label Dec 18, 2024
@FGadvancer
Copy link
Member

The SDK will log this as a warning, but the UI layer must also ensure that this interface is not called when the unread count is 0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Categorizes issue or PR as related to a bug.
Projects
None yet
Development

No branches or pull requests

2 participants