Hi All,
Today I am sharing a production config of OpenEdXMobile\default_config/config.yaml (This is main config file in Edx) file which consist of all setting for Edx android mobile App. after that you can compile the mobile app and you will get your apk which will work perfectly fine.
API_HOST_URL: https://courses.edx.org
API_URL_VERSION:
BLOCKS: v2
REGISTRATION: v2
ENROLLMENTS: v2
ENVIRONMENT_DISPLAY_NAME:
PLATFORM_NAME: edX
PHONETIC_PLATFORM_NAME: E D X
PLATFORM_DESTINATION_NAME: edx.org
FEEDBACK_EMAIL_ADDRESS: mobile-support@edx.org
FAQ_URL: https://support.edx.org/hc/en-us/sections/4408224345879
DELETE_ACCOUNT_URL: https://account.edx.org/#delete-account
ECOMMERCE_URL: https://ecommerce.edx.org
DISCOVERY:
TYPE: webview
WEBVIEW:
BASE_URL: https://www.edx.org/webview/v2/search
COURSE_DETAIL_TEMPLATE: https://www.edx.org/webview/course/{path_id}
PROGRAM_DETAIL_TEMPLATE: https://www.edx.org/webview/{path_id}
PROGRAM:
ENABLED: true
PROGRAM_URL: https://courses.edx.org/dashboard/programs_fragment/?mobile_only=true
PROGRAM_DETAIL_URL_TEMPLATE: https://courses.edx.org/dashboard/{path_id}?mobile_only=true
YOUTUBE_PLAYER:
ENABLED: true
API_KEY:
AGREEMENT_URLS:
PRIVACY_POLICY_URL: https://www.edx.org/webview/edx-privacy-policy
COOKIE_POLICY_URL: https://www.edx.org/webview/edx-privacy-policy/cookies
DATA_SELL_CONSENT_URL: https://www.edx.org/webview/edx-privacy-policy/do-not-sell-my-personal-data
TOS_URL: https://www.edx.org/webview/edx-terms-service
EULA_URL: https://www.edx.org/webview/eula
SUPPORTED_LANGUAGES:
- en
ANNOUNCEMENTS_ENABLED: true
BADGES_ENABLED: true
CERTIFICATES_ENABLED: true
COURSE_DATES_ENABLED: true
COURSE_SHARING_ENABLED: true
COURSE_VIDEOS_ENABLED: true
DISCUSSIONS_ENABLED: true
DISCUSSIONS_ENABLE_PROFILE_PICTURE_PARAM: true
PUSH_NOTIFICATIONS: true
NEW_LOGISTRATION_ENABLED: true
REGISTRATION_ENABLED: true
TAB_LAYOUTS_ENABLED: true
USER_PROFILES_ENABLED: true
VIDEO_TRANSCRIPT_ENABLED: true
WHATS_NEW_ENABLED: false
IAP_ENABLED: false
BRANCH:
ENABLED: true
KEY:
SECRET:
TWITTER:
HASHTAG: "@edXOnline"
FACEBOOK:
ENABLED: true
FACEBOOK_APP_ID:
CLIENT_TOKEN:
SOCIAL_SHARING:
ENABLED: false
ZERO_RATING:
ENABLED: true
WHITE_LIST_OF_DOMAINS:
- courses.edx.org
- edx.org
- cdn.segment.io
- ssl.google-analytics.com
- api.segment.io
- e.crashyltics.com
- settings.crashlytics.com
- www.google-analytics.com
- android.clients.google.com
- play.googleapis.com
- cdn.optimizely.com
END_TO_END_TEST:
EMAIL_TEMPLATE: edx-app-test-{unique_id}@simulator.amazonses.com
SPEED_TEST_ENABLED: false
FIREBASE:
ENABLED: true
ANALYTICS_SOURCE: segment
CLOUD_MESSAGING_ENABLED: true
PROJECT_NUMBER:
PROJECT_ID:
OAUTH_CLIENT_ID:
CURRENT_KEY:
MOBILE_SDK_APP_ID:
SEGMENT_IO:
ENABLED: true
SEGMENT_IO_WRITE_KEY:
GOOGLE:
ENABLED: true
MICROSOFT:
ENABLED: true
CLIENT_ID:
SIGNATURE_HASH:
AUDIENCE_TYPE:
TENANT_ID: organizations
BRAZE:
ENABLED: true
PUSH_NOTIFICATIONS_ENABLED: true
TEST_ACCOUNT:
NAME: staff@example.com
PASSWORD: edx
OAUTH_CLIENT_ID:
APP_UPDATE_URIS:
- market://details?id={application_id}
- https://play.google.com/store/apps/details?id={application_id}
APP_REVIEWS_ENABLED: true
DOWNLOAD_TO_SD_CARD_ENABLED: true