|
|
**Step 0 :** Add Reve SaaS module to your project
|
|
|
**Step 1 :** Add Reve SaaS module to your project
|
|
|
|
|
|
Collect ```artifactory_username``` and ```artifactory_password``` from Dhiman da and add them to your project level gradle file.
|
|
|
|
|
|
```
|
|
|
buildscript {
|
|
|
ext.artifactory_username = 'USER_NAME'
|
|
|
ext.artifactory_password = 'PASSWORD'
|
|
|
repositories {
|
|
|
google()
|
|
|
jcenter()
|
|
|
|
|
|
}
|
|
|
dependencies {
|
|
|
classpath 'com.android.tools.build:gradle:3.5.1'
|
|
|
}
|
|
|
}
|
|
|
```
|
|
|
|
|
|
Add the following repositories to your project level gradle file
|
|
|
```
|
|
|
allprojects {
|
|
|
repositories {
|
|
|
google()
|
|
|
jcenter()
|
|
|
maven {
|
|
|
url "http://maven.alalamin19.com:8081/artifactory/libs-release-local"
|
|
|
credentials {
|
|
|
username = "$artifactory_username"
|
|
|
password = "$artifactory_password"
|
|
|
}
|
|
|
}
|
|
|
maven { url 'https://maven.google.com/' }
|
|
|
maven { url "https://oss.sonatype.org/content/repositories/snapshots/" }
|
|
|
maven { url "http://sdk.revechat.com:8081/artifactory/revechatsdk" }
|
|
|
mavenCentral()
|
|
|
maven {
|
|
|
url 'http://www.idescout.com/maven/repo/'
|
|
|
name 'IDEScout, Inc.'
|
|
|
}
|
|
|
maven { url 'https://jitpack.io' }
|
|
|
maven{ url 'https://s3.amazonaws.com/repo.commonsware.com' }
|
|
|
}
|
|
|
}
|
|
|
```
|
|
|
|
|
|
Now add the following dependancy in you app module gradle file
|
|
|
|
|
|
|
|
|
```implementation 'com.revesoft.sdk:dialer:1.1.0'```
|
|
|
|
|
|
Add ```tools:replace="android:allowBackup,android:theme,android:roundIcon"``` in ```<application/>``` tag of your manifest
|
|
|
|
|
|
**Now sync**
|
|
|
|
|
|
Module ta kivabe dibo sure na. May be gradle dependency hisebe deya hobe
|
|
|
|
|
|
**Step 1 :** You must use material theme in your project and must define the following colors
|
|
|
|
... | ... | |