You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 29, 2022. It is now read-only.
I'd like to have an entry point into the updateLocationInfo method.
Our use case:
All of our data is structured in a real-time database. Geohashes and data are not separated and hence data can get changed without a location change.
Example: We have point of interests that have a certain coordinate. Within those pois, we have data associated and that data can get changed. With the current implementation, we'll never see a change event for this in our listener since the location stayed the same.
Our solution: We extended the changedLocation check to also check for a versionCode that gets incremented by every data change.
Proposal: Some generic api that can handle this and other use cases. Possibly there's a method that takes the old and current snapshot and can then return an enum whether things have been added, changed, removed or nothing (null).
I'd like to have an entry point into the
updateLocationInfomethod.Our use case:
All of our data is structured in a real-time database. Geohashes and data are not separated and hence data can get changed without a location change.
Example: We have point of interests that have a certain coordinate. Within those pois, we have data associated and that data can get changed. With the current implementation, we'll never see a change event for this in our listener since the location stayed the same.
Our solution: We extended the
changedLocationcheck to also check for a versionCode that gets incremented by every data change.Proposal: Some generic api that can handle this and other use cases. Possibly there's a method that takes the old and current snapshot and can then return an enum whether things have been added, changed, removed or nothing (null).