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

Last edited by Ifta Nov 13, 2019
Page history

Configure SaaS module

In your BaseApplication, in the overrided onCreate() method after calling super.onCreate(), configuration your app 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

  1. Password : password for the user name

  2. 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