Step 1 : You must use material theme in your project and must define the following colors
Add material branding files from the following repository http://git.iptelephony.revesoft.com/ifta/MaterialBrandingFiles
clone this repository to a empty folder. Copy all files to your values folder
Step 2 : Add the following packaging option in your build.gradle file under android.
android{
.....
packagingOptions {
exclude 'LICENSE'
exclude 'LICENSE.txt'
exclude 'license'
exclude 'license.txt'
exclude 'NOTICE'
exclude 'notice'
exclude 'METAINF/ASL2.0'
exclude 'METAINF/LICENSE'
exclude 'METAINF/license'
exclude 'METAINF/NOTICE'
exclude 'META-INF/MANIFEST.MF'
exclude 'META-INF/DEPENDENCIES'
exclude 'asmlicense.txt'
exclude 'META-INF/services/com.fasterxml.jackson.core.JsonFactory'
exclude 'META-INF/services/com.fasterxml.jackson.core.ObjectCodec'
}
}
If you already have packaging option you can add these to yours.
Step 3 : Enable data binding to your project. Add the following in your build.gradle file under android.
android{
.....
dataBinding {
enabled = true
}
}
Step 4 : Provide authority for file compression library in the SaaS.
Add the following provider in application tag of your manifest
<application>
....
<provider
android:name="com.iceteck.silicompressorr.provider.GenericFileProvider"
android:authorities="${applicationId}.silli.provider"
android:exported="false"
android:grantUriPermissions="true"
tools:replace="android:authorities">
<meta-data
android:name="android.support.FILE_PROVIDER_PATHS"
android:resource="@xml/silli_provider_paths"
tools:replace="android:resource" />
</provider>
</application>
Step 5 : Add other providers
Add the following 2 providers in manifest used by the sdk
<application>
....
<provider
android:name="com.revesoft.itelmobiledialer.data.BasicContentProvider"
android:authorities="com.revesoft.material"
android:enabled="true"
tools:replace="android:authorities"
android:exported="false" />
<provider
android:name="com.revesoft.itelmobiledialer.util.GenericFileProvider"
android:authorities="${applicationId}.provider"
android:exported="false"
android:grantUriPermissions="true">
<meta-data
android:name="android.support.FILE_PROVIDER_PATHS"
android:resource="@xml/provider_paths" />
</provider>
</application>