Configurations to setup mobile app

1. sunbird.properties

sunbird.properties file contains all the necessary configurations to set up Sunbird mobile app. The following are the configurations inside the sunbird.properties file.

Note

The properties can be environment-specific so the naming convention is <env_name>__<property__name>. For example, suppose base_url is the property so its dev environment-specific property name is dev_base_url, and the staging environment-specific property name is staging_base_url.

2. google-service.json

Create apps in the firebase console based on the number of variants available for your instance. In the firebase console add the package name equivalent to your variant app_id. For example, suppose you have a staging variant of your instance and the property is following

staging_app_id = org.sunbird.app.staging

In the firebase console create an app whose package name should be "org.sunbird.staging.app".

For more reference follow this google support page.

Last updated