Skip to content

Commit

Permalink
Adjust PLATFORM_NAME setting for Android app compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
Abdul-Muqadim-Arbisoft committed Nov 6, 2024
1 parent 32e21c5 commit b1bb55e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tutorandroid/templates/android/build/config/tutor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,10 @@ BRANCH:
ALTERNATE_HOST: ''

#Platform names
PLATFORM_NAME: "{{ PLATFORM_NAME }}"
PLATFORM_NAME: "OpenEdX"
# TODO: Temporarily set PLATFORM_NAME based on OPENEDX_COMMON_VERSION to 'OpenEdx' for compatibility with the Android app theme directory
# (https://github.com/openedx/openedx-app-android expects 'OpenEdx'). This is addressed in PR https://github.com/openedx/openedx-app-android/pull/335,
# which is merged into sumac.master and develop. Revert to "PLATFORM_NAME: '{{ PLATFORM_NAME }}'" once the pr changes are merged in master.
PLATFORM_NAME: "{% if OPENEDX_COMMON_VERSION == 'master' %}OpenEdx{% else %}{{ PLATFORM_NAME }}{% endif %}"
PLATFORM_FULL_NAME: "{{ PLATFORM_NAME }}"
#App sourceSets dir
THEME_DIRECTORY: "openedx"
Expand Down

0 comments on commit b1bb55e

Please sign in to comment.