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