Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • R reveSaaSDocumentation
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Ifta
  • reveSaaSDocumentation
  • Wiki
  • Prepare your project

Prepare your project · Changes

Page history
Update Prepare your project authored Oct 27, 2019 by Ifta Noor Mahmood's avatar Ifta Noor Mahmood
Show whitespace changes
Inline Side-by-side
Showing with 0 additions and 2 deletions
+0 -2
  • Prepare-your-project.md Prepare-your-project.md +0 -2
  • No files found.
Prepare-your-project.md 0 → 100644
View page @ 5ab38086
**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 'META­INF/ASL2.0'
exclude 'META­INF/LICENSE'
exclude 'META­INF/license'
exclude 'META­INF/NOTICE'
exclude 'META-INF/MANIFEST.MF'
exclude 'META-INF/DEPENDENCIES'
exclude 'asm­license.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>
```
Clone repository
  • Configure SaaS module
  • Firebase Messaging Service (Push Messaging)
  • Get chat backup restore to work
  • Get maps service to work
  • Opening Chat
  • Opening the SaaS dashboard
  • Prepare your project
  • Starting a Call
  • Starting the SaaS service
  • Home