CallKit 5.X Upgrade Guide
Upgrade to CallKit 5.4.0
In CallKit 5.4.0, the SDK has removed internal dependencies on IMLib.
If you're upgrading from an earlier version to CallKit 5.4.0, ensure all SDK versions (CallKit/CallLib/IMKit/IMLib) are aligned to 5.4.0 as per official requirements for seamless migration.
Note: If you upgrade project dependencies to SDK 5.4.0 but cannot simultaneously upgrade CallKit (typically due to extensive custom modifications of CallKit source code), the project may malfunction. Should issues arise, perform the following code replacements in your project:
- Replace
io.rong.imlib.RongIMClient.MediaTypewithio.rong.imlib.IRongCoreEnum.MediaType - Replace
io.rong.imlib.RongIMClient.ErrorCodewithio.rong.imlib.RongCoreClient.ErrorCode - Replace
io.rong.imlib.RongIMClient.ConnectionStatusListener.ConnectionStatuswithio.rong.imlib.IRongCoreListener.ConnectionStatusListener.ConnectionStatus
We recommend promptly updating your app project to maintain SDK version consistency per official guidelines, ensuring access to the latest fixes and features.