Skip to content

Updating Status Defaults

Zachary Orr edited this page Dec 10, 2019 · 2 revisions

The Blue Alliance API offers a /status endpoint, which returns a Status object with various bits of data we use for configuration inside of the app, such as max_season and current_season. Internally, this is represented as a Status object, which is updated on app-launch, and periodically afterwards.

Upon initial launch of the app, the Status object is loaded from locally-shipped StatusDefaults.plist file to allow users who do a first launch of the app offline to use the application. This plist should be updated every year with new values to reflect the year changing. To modify this file, open the StatusDefaults.plist in Xcode and modify the max_season and current_season values to reflect the new year.

Clone this wiki locally