The device should alert when a new incident is received. Alerts should only be triggered when the incident is within the BBOX if the applications current view. It is assumed that the user will only wish to receive alerts for the region in which they are viewing / in. There should be a configuration option to receive all alerts, not just the ones within the current BBOX.
How do we keep track of the current BBOX? On any map move event (zoom or reposition) we fire an event from the webview that contains the current BBOX. This is handled in app.js which stores the current BBOX persistently and any time the report poll methods finds a new event it will check it against the current BBOX
There is a problem in that even though we will be able to vibrate the device (or whatever alert method we use) there is still no visual clue as to what the new events are. We could pulse the icon until clicked, we could display the icon initially in a different color until clicked. Additionally we could have the reports listing have the report row in a different color if it has been read already, and they could be sorted by date. If this is our solution we should probably also have an acknowledge all incidents button.
The device should alert when a new incident is received. Alerts should only be triggered when the incident is within the BBOX if the applications current view. It is assumed that the user will only wish to receive alerts for the region in which they are viewing / in. There should be a configuration option to receive all alerts, not just the ones within the current BBOX.