Skip to content

feat: Add interactive KMP maps demos to iOS app & upgrade Google Maps SDK to 10.14.0#927

Draft
kikoso wants to merge 4 commits into
mainfrom
feat/experimental-kmp-module
Draft

feat: Add interactive KMP maps demos to iOS app & upgrade Google Maps SDK to 10.14.0#927
kikoso wants to merge 4 commits into
mainfrom
feat/experimental-kmp-module

Conversation

@kikoso
Copy link
Copy Markdown
Collaborator

@kikoso kikoso commented Jun 5, 2026

Description

This PR implements rich, interactive map samples in the iOS demo app (iosApp) similar to the Android app, while extending the multiplatform :maps-compose-multiplatform library API to support a broad set of configurations and upgrading the Google Maps SDK for iOS dependency to version 10.14.0.0.

Key Changes

  1. Interactive Demos List on iOS:
    • Organizes iOS samples into a structured, native UITableView with sections:
      • Map Types: Normal Map (San Francisco), Satellite Map (Grand Canyon), Hybrid Map (New York City), Terrain Map (Mount Everest).
      • Markers & Pins: Single Marker (Golden Gate Bridge), Multiple Markers (London Demos), Custom Snippet Marker (Tokyo Center).
      • Map Gestures & Controls: Gestures Enabled, Gestures Disabled (Rome - static map), and Show My Location Button.
  2. KMP Library Upgrades:
    • Extended the shared GoogleMap composable and GoogleMapViewController to support MapType, MapMarker lists (multiple pins), location tracking, and gesture settings.
    • Bypassed strict plist checks inside the compose UI controller.
  3. Google Maps SDK Upgrade to 10.14.0.0:
    • Upgraded the dependency version and bumped the iOS deployment target to 16.0 across the KMP module, Podfile, and project settings (as required by Google Maps v10+).
  4. Secure Secrets Management:
    • Added a dynamic Populate Secrets build phase in the Xcode project to load the API key from local git-ignored secrets.properties into DeveloperSecrets.swift. Both files are excluded from Git to prevent security leaks.

@kikoso kikoso force-pushed the feat/experimental-kmp-module branch from 1eff5db to 8852240 Compare June 5, 2026 15:42
@kikoso kikoso marked this pull request as draft June 5, 2026 15:42
@googlemaps-bot
Copy link
Copy Markdown
Contributor

googlemaps-bot commented Jun 5, 2026

Code Coverage

Overall Project 24.73% -0.36%
Files changed 0%

File Coverage
KmpMapActivity.kt 0%
Demo.kt 0% -0.89%

@kikoso kikoso force-pushed the feat/experimental-kmp-module branch from 5ce4fd9 to f2b769f Compare June 5, 2026 16:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants