You can either use an existing KMP library (like
KLocation) or implement both sides based on your needs (like KLocation does for example for
Android and
iOS)
(disclaimer: i haven’t used this lib or checked if there are better alternatives, its just an example 🙇)