Hello all
I have started building a compose multi platform app targeting both Android & iOS. I am building it as a single Activity approach. I am using the Koin DI framework in my project. So far with compose screens the journey is good.Now I need to access device location. Not sure how to achieve this with common code, has any one tried this? appreciate any insight on this.
t
Thomas Urbanitsch
02/04/2025, 2:40 PM
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 🙇)
🙌 1
🙇 1
n
Nandu
02/04/2025, 5:04 PM
@Thomas Urbanitsch thank you very much, will give it a go and share my experience here