Configuring App Redirection
The SDK handles user login, and after successful login, the SDK will redirect to your app to display its home screen. To handle this redirection properly, include the following strings in the strings.xml file of your app.
<string name="redir_url">YOUR CALLBACKURL://</string> <string name="url_scheme">YOUR APP's URL schemeName</string>
Setting the Required Permissions
For seamless functioning, the SDK requires the following app permissions.
INTERNET - To make API calls to Zoho CRM.
ACCESS_NETWORK_STATE - To handle network failures.
Declared them in your AndroidManifest.xml file, as follows.
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/> <uses-permission android:name="android.permission.INTERNET"/>
After updating all the configurations, build your project. Upon successful Gradle building, your project can access the SDK.