Migration to 2.x.x
#
Changes#
App build.gradleMake sure the app's build.gradle file contains the following code snippet within android section
#
SDK InitializationLegacy code:
New code:
#
Retrieve MeetingLawyersClient instanceLegacy 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.
#
AuthenticateLegacy code:
New code:
#
SDK Callbacks interfacesNow, all the listeners in the SDK are one of these two: