roam-ai/roam-ios

Allow meta-data support for updating location ie. updateCurrentLocation method

Closed this issue · 0 comments

Discussed in #16

Originally posted by jothipriyadharshanr July 22, 2021
When
being a developer, during updateCurrentLocation() method
I want to
send custom meta-data (ie. key value pairs) along with that specific location update
So that
we can tag the meta-data only to single location update and not for all the location update, when we add the same using publishSave() method.

Things to notice

  • If the publishSave() method already has meta-data added, this will be overwritten by the meta-data passed in updateCurrentLocation() method and applied only for that specific location update and rest will continue to use the previous configurations passed in publishSave() method.