Skip to content

working maps link#93

Open
pjaudiomv wants to merge 1 commit intoversion_5from
pj/maps-link-working
Open

working maps link#93
pjaudiomv wants to merge 1 commit intoversion_5from
pj/maps-link-working

Conversation

@pjaudiomv
Copy link
Member

@pjaudiomv pjaudiomv commented Feb 7, 2026

The maps link for iOS still isn't working properly, it's opening in the browser at maps.apple.com instead of launching the Apple Maps app.

Root cause: Browser.open() is Capacitor's in-app browser and can't dispatch native URL schemes like maps:// to the OS. We need to use window.open() instead, which Capacitor routes to the OS handler on native platforms.

The fix: Use window.open() with native URL schemes (maps:// for iOS, geo: for Android) to hand off directly to the OS, which opens the native Maps app. On web, we still use Browser.open() with the Google Maps HTTPS link.

Tested: Verified on Xcode iOS Simulator, Android Studio Android Emulator, and web build, all platforms now open maps correctly.

@pjaudiomv pjaudiomv requested a review from paulnagle February 7, 2026 17:42
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.

1 participant