[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
[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
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