Migration to 2.x.x
Changes#
App build.gradle#
Make sure the app's build.gradle file contains the following code snippet within android section
SDK Initialization#
Legacy code:
New code:
Retrieve MeetingLawyersClient instance#
Legacy code:
New code:
Note: You can retrieve the client instance using the getClientInstance() method but we recommend to obtain a client instance using the build() method of MeetingLawyersSDK and after obtaining the instance, you should add it to your Dependency Injection(DI) container or setup. This ensures that the instance is properly managed throughout the application's lifecycle, promoting easier code maintenance, testing, and scalability.
Authenticate#
Legacy code:
New code:
SDK Callbacks interfaces#
Now, all the listeners in the SDK are one of these two: