googlemaps/android-maps-compose

Add iOS target using Compose Multiplatform

Open

#312 opened on Apr 20, 2023

 (64 comments) (203 reactions) (1 assignee)Kotlin (181 forks)github user discovery
help wantedpriority: p3type: feature request

Repository metrics

Stars
 (1,309 stars)
PR merge metrics
 (Avg merge 8d 11h) (11 merged PRs in 30d)

Description

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.

Contributor guide