Hi,
I've installed GoogleMaps and GooglePlaces via Swift Package Manager but I can't import them in Kotlin (iosMain). Is there a way to fix this?
Thanks
p
Pablichjenkov
05/21/2024, 3:36 PM
In the case of Google Places you can define an interface in Kotlin, then implement that interface in Swift and then pass to kotlin the actual implementation.
In the case of Google Maps you can embed it in a Composable UiKitView or UiKitViewController
👍 1
c
Chris Athanas
05/24/2024, 2:37 AM
@Maicol Are you targeting iOS or Android?
m
Maicol
05/24/2024, 7:23 AM
Both (Maps and Places are added in androidMain for Android and in SPM for iOS)