After following the steps, your app has all the required elements to connect to the server. We will write code to connect the client app to the server now. You will see the concise, well-written Kotlin code doing its magic.
AndroidManifest.xml must contain the following two permissions:
<uses-permission android:name="android.permission.INTERNET" /><uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
Your build.gradle app-level should contain the following dependencies. You might see some library versions not matching exactly. It depends on the SDK level that you have selected. It's advised to select the latest API level:
dependencies { // Mobile Client for initialising the SDK implementation( ...