Mobile app for sunbird software. Provides the mobile interfaces for all functionality of Sunbird.
- Install Android Studio and configure it.
- Clone GitHub
sunbird-androidrepo into it. - Rename
gradle.properties.exampletogradle.properties - Add you keystore detail
keystore,keystore_password,key_aliasandkey_passwordingradle.properties - Replace
release_fabric_api_keyingradle.propertieswith your fabric ApiKey. You can create your account in fabric.io and register your app. After registering your app you will get the ApiKey which you need to add in manifest. - Replace PRODUCER_ID, CHANNEL_ID, MOBILE_APP_KEY and MOBILE_APP_SECRET in
gradle.propertiesfor your dev, release and production build variants. - You need to generate key and secret for
mobile_appuser using JWT token ofmobile_adminuser. Please find the steps here https://github.com/project-sunbird/sunbird-devops/blob/master/Installation.md#step-6-generate-key-and-secrets-for-mobile-app - If You want to
change the app namego to sunbird-android/app/src/main/res/values/strings.xml and give the required app name. - For app logo changing goto sunbird-android/app/src/main/res folder, here in all mipmap folders and drawable folder replace
ic_launcher.pngimage with your logo. Logo name should beic_launcher.png - If you would like to show contents only for the given channelId than change the value of
FILTER_CONTENT_BY_CHANNEL_IDto true, by default it's false inbuild.gradle - Give your external path value in
Constants.class EXTERNAL_PATH
We have an open and active issue tracker. Please report any issues or you find.