Add flag ANNOUNCEMENTS_ENABLED

Description

  1.  

    1.  

      1. Description

[LEARNER-](https://openedx.atlassian.net/browse/LEARNER-)

This PR shows or hide the announcements tab in ```CourseDashboardViewController.swift``` depending on the flag ```ANNOUNCEMENTS_ENABLED``` added in ```ios.yml```.

  1.  

    1.  

      1. Notes
        This flag is app and not course specific.

  1.  

    1.  

      1. How to test this PR

Add the flag to ```ios.yml``` and change the values of ```ANNOUNCEMENTS_ENABLED```

```
API_HOST_URL: ''
OAUTH_CLIENT_ID: ''
ENVIRONMENT_DISPLAY_NAME: ''
PLATFORM_NAME: ''
PLATFORM_DESTINATION_NAME: ''
FEEDBACK_EMAIL_ADDRESS: ''
DEBUG: false
ORGANIZATION_CODE: ''
PUSH_NOTIFICATIONS: false
MY_VIDEOS_ENABLED: true
ANNOUNCEMENTS_ENABLED: false
COURSE_ENROLLMENT:
ENABLED: true
TYPE: 'native'
COURSE_SHARING_ENABLED: false
DISCUSSIONS_ENABLED: true
CERTIFICATES_ENABLED: true
USER_PROFILES_ENABLED: true
BADGES_ENABLED: true
REGISTRATION_ENABLED: true
SEGMENT_IO:
SEGMENT_IO_WRITE_KEY: ''
ENABLED: false
```

  1.  

    1.  

      1. Reviewers

  • [ ] Code review: @saeedbashir

  • [ ] Code review: @salman2013

cc @marcotuts @gsong

Activity

Show:
Marco Morales
July 17, 2017, 1:40 PM

this can skip product review. Thumbs up from me to add that app level flag on android and iOS.

Done

Assignee

Salman Nawaz

Reporter

Open Source Pull Request Bot

Contributor Name

José Antonio González Rodriguez

Repo

edx/edx-app-ios

Customer

None

Epic Link

None

OSCM Assignee

None

Platform Map Area (Levels 1 & 2)

None

Platform Map Area (Levels 3 & 4)

None

Blended Hour Utilization Percentage

None

edX Theme

None

edX Squad

None

Github Lines Added

None

Github Lines Deleted

None

Story Points

1

Priority

Unset