chore: rename LiveLocationShares to RoomLiveLocationService#6446
chore: rename LiveLocationShares to RoomLiveLocationService#6446
Conversation
There was a problem hiding this comment.
Thanks for caring about the SDK cleanness.
A Service is rather a high-level API.
Since the type aims at providing subscription or initial value, I propose the name ObservableLiveLocation to match the other places of the SDK using a similar pattern.
Thoughts?
What about |
|
I'm good with |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #6446 +/- ##
==========================================
- Coverage 89.82% 89.81% -0.02%
==========================================
Files 378 378
Lines 104314 104314
Branches 104314 104314
==========================================
- Hits 93702 93686 -16
- Misses 7020 7025 +5
- Partials 3592 3603 +11 ☔ View full report in Codecov by Sentry. |
Imho this component has potential for growing, by moving the |
|
I let you decide then 😃. |
|
in the end we decided to rename it to LiveLocationsObserver |
name says it all. The previous name was just too confusing, and since this object acts as a service for the room to publish live location share updates, I think the
RoomLiveLocationServiceis a more appropriate name