Let the user opt in to get notified about weather alerts for Saved Locations.
Acceptance Criteria:
From the Saved Locations screen, we can add a new BELL icon that the user can click on the manage alerts.
Any saved locations that have active alerts should have a solid icon ( like the STAR when setting a primary location ). Locations without alerts should just have an outline icon. Check openweathermap.org for which alerts the user can subscribe to.
IMPORTANT: While this is a nice feature I would like to add, it does mean we would be adding custom API calls for each user that cannot be shared by others. So this will increase the number of API calls quite a bit per user & location alerts are activated on. Since the API calls are done every 5 minutes, that's 288 more API calls per person per location in a day. Weather Bar has an API cap for our Open Source Plan, so the more API calls we start to make, the quicker we are going to break that cap, and will likely need to start charing for the app just to pay the bills for the API calls.
Overview:
Let the user opt in to get notified about weather alerts for Saved Locations.
Acceptance Criteria:
From the Saved Locations screen, we can add a new BELL icon that the user can click on the manage alerts.
Any saved locations that have active alerts should have a solid icon ( like the STAR when setting a primary location ). Locations without alerts should just have an outline icon. Check openweathermap.org for which alerts the user can subscribe to.
IMPORTANT: While this is a nice feature I would like to add, it does mean we would be adding custom API calls for each user that cannot be shared by others. So this will increase the number of API calls quite a bit per user & location alerts are activated on. Since the API calls are done every 5 minutes, that's 288 more API calls per person per location in a day. Weather Bar has an API cap for our Open Source Plan, so the more API calls we start to make, the quicker we are going to break that cap, and will likely need to start charing for the app just to pay the bills for the API calls.