googlemaps/android-maps-compose

Add iOS target using Compose Multiplatform

Aperta

#312 aperta il 20 apr 2023

 (64 commenti) (203 reazioni) (1 assegnatario)Kotlin (180 fork)github user discovery
help wantedpriority: p3type: feature request

Metriche repository

Star
 (1309 stelle)
Metriche merge PR
 (Merge medio 8g 11h) (11 PR mergiate in 30 g)

Descrizione

Describe the solution you'd like Add platform-specific code for iOS, using JetBrains Compose Multiplatform.

JB Compose iOS support is now in Alpha compose-multiplatform/releases/tag/v1.4.0 and enables the use of UiKit views in Compose. Kotlin Multiplatform Mobile recently moved to Beta and cocoapods integration works: kotlinlang.org/docs/native-cocoapods.html

Since android-maps-compose library is a wrapper for an Android view, it may result easy to adapt the existing structure to wrap also iOS objective-c Maps sdk.

A quick implementation labeled as alpha could come handy for developers to start playing with it, while waiting JB Compose iOS support to exit Alpha state.

Guida contributor