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
  • Configure SaaS module

Configure SaaS module · Changes

Page history
Update Configure SaaS module authored Oct 28, 2019 by Ifta Noor Mahmood's avatar Ifta Noor Mahmood
Hide whitespace changes
Inline Side-by-side
Showing with 0 additions and 0 deletions
+0 -0
  • Configure-SaaS-module.md Configure-SaaS-module.md +0 -0
  • No files found.
Configure-SaaS-module.md 0 → 100644
View page @ c011c260
Create an application class and extend `ReveSaaSApplication`.
Declare the application class as name in your android manifest at application tag.
```
<application
...
android:name=".BaseApplication"
...>
...
....
</application>
```
*Override * `onCreate()` method and prepare your app configuration with following data
1. Operator code - Given by REVE
2. User name - the phone number with country code in flat format.
You must call pin creating api with that User name.
**Flat format example :**
Regular format = +8801767-692072
Flat format = 8801767692072
Regular format = 01767-692072
Flat format = 8801767692072
3. Password : password for the user name
4. Default country iso : The country where majority users are in. For example "bd" for Bangladesh.
Finally call
`ReveSaaS.configure(yourConfiguration);`
**Sample code :**
```
public class BaseApplication extends ReveSaaSApplication {
@Override
public void onCreate() {
super.onCreate();
ReveAppConfig config = ReveAppConfig.newBuilder()
.withOpCode(getOperatorCode())
.withUserName(getUserName())
.withPassword(getPassword())
.withDefaultCountry(getDefaultCountry())
.build();
ReveSaaS.configure(config);
}
@Override
public void onTerminate() {
super.onTerminate();
}
}
```
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