Skip to content

On exit or entry of geofence only update database & notify if the presence status has changed #23

@gianlazz

Description

@gianlazz

Description
As is, the backend enteredHubGeofence & exitedHubGeofence resolver methods update the database & notify the user irrespective of if the present state is actually changing. This can result in duplicate notifications that the user has arrived when they were already present, along with un-needed load on the server/DB.

Done When
enteredHubGeofence & exitedHubGeofence resolver method only update DB & notify if presence state is changed

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions