WSDOT / wsdot-ios-app

Source code for the WSDOT iOS application
GNU General Public License v3.0
10 stars 4 forks source link

Assign unique themeId for Emergency Alerts #261

Closed englehorn closed 2 years ago

englehorn commented 2 years ago

If an app user is running an old version of the app (5.22.0 or lower) the emergency alert themeId 2 presents the alert theme with blue styling. This is caused by the most recent update (version 5.23.0) reassigning themeId 2 in the theme manager to emergency alerts.

After looking into analytics this could potentially effect about 3-5% of users on iOS running older versions of the app.

A solution is to assign a unique themeId for emergency alerts e.g themeId 4

This will:

  1. Present the emergency alerts with the correct styling for users running the updated version of the app.
  2. In the case of older versions of the app, the alerts will not display at all because themeId 4 is not included in the older code base.

Related to: