openimsdk / open-im-sdk-android

IM Android
https://openim.io
MIT License
225 stars 160 forks source link

Feature: new feature #54

Closed 565204031 closed 1 year ago

565204031 commented 1 year ago

Checklist

Is this feature request related to a problem?

None

Problem Description

Hello, our app has a requirement: users outside of China need to initialize with a foreign URL, while users inside China need a domestic URL. The current SDK can only initialize once and can't switch URLs. Could you consider adding an uninit interface, similar to what's available in the 3.2 iOS SDK version?

Solution Description

新增一个uninit的接口。

Benefits

可以动态切换url

Potential Drawbacks

No response

Additional Information

No response

Oliver-WJ commented 1 year ago

added Please include io.openim:android-sdk:3.3.0+1@aar

565204031 commented 11 months ago

added Please include io.openim:android-sdk:3.3.0+1@aar

升级了SDK后,登录成功后,一直回调onUserTokenExpired 这个接口,根本用不了。

565204031 commented 11 months ago

附加的 请包括……开放:仙女:3.3.0+1@aar

implementation 'io.openim:android-sdk:3.3.0+1@aar'
implementation 'io.openim:core-sdk:3.3.0@aar'
565204031 commented 11 months ago

调用uninit 再次调用initSDK 并且设置了新的URL还是无法生效。麻烦看一下哈。