|
Create an application class and extend `ReveSaaSApplication`.
|
|
|
|
|
|
|
|
Declare the application class as name in your android manifest at application tag.
|
|
In your `BaseApplication`, in the overrided `onCreate()` method after calling `super.onCreate()`, configuration your app with following data
|
|
|
|
|
|
```
|
|
|
|
<application
|
|
|
|
...
|
|
|
|
android:name=".BaseApplication"
|
|
|
|
...>
|
|
|
|
...
|
|
|
|
....
|
|
|
|
</application>
|
|
|
|
```
|
|
|
|
|
|
|
|
*Override * `onCreate()` method and prepare your app configuration with following data
|
|
|
|
1. Operator code - Given by REVE
|
|
1. Operator code - Given by REVE
|
|
2. User name - the phone number with country code in flat format.
|
|
2. User name - the phone number with country code in flat format.
|
|
|
|
|
... | | ... | |