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 initSdk method in OpenIMClient does not call registerActivityLifecycleCallbacks, which causes the logic related to OfflineMessage to fail when the app is in the background. Additionally, OpenIMClient.setAppBackgroundStatus is not exposed externally, and this needs to be fixed #57

Open
xiaoyvyv opened this issue Jun 20, 2024 · 1 comment

Comments

@xiaoyvyv
Copy link

xiaoyvyv commented Jun 20, 2024

OpenIM Server Version

3.5.1

Operating System and CPU Architecture

Linux (AMD)

Deployment Method

Source Code Deployment

Bug Description and Steps to Reproduce

[BUG] In OpenIMClient, the initSdk method fails to call registerActivityLifecycleCallbacks, resulting in the malfunction of logic related to OfflineMessage when the application is in the background. Furthermore, OpenIMClient.setAppBackgroundStatus is not exposed externally, which needs to be addressed

Screenshots Link

No response

@skiffer-git skiffer-git changed the title [BUG] OpenIMClient initSdk,方法没有调用 registerActivityLifecycleCallbacks,导致后台本应为 OfflineMessage 相关逻辑失效,并且OpenIMClient.setAppBackgroundStatus也未向外暴露,需要修复。 [BUG] The initSdk method in OpenIMClient does not call registerActivityLifecycleCallbacks, which causes the logic related to OfflineMessage to fail when the app is in the background. Additionally, OpenIMClient.setAppBackgroundStatus is not exposed externally, and this needs to be fixed Aug 9, 2024
@JauneQ
Copy link
Collaborator

JauneQ commented Nov 8, 2024

try to update the latest version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants