Skip to content

Commit

Permalink
update url scheme for arc on ios (#417)
Browse files Browse the repository at this point in the history
  • Loading branch information
joshreisner authored Sep 28, 2024
1 parent 5bf4d0a commit 83208b8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions public/app.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/helpers/format-directions-url.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export function formatDirectionsUrl({
latitude && longitude
? { daddr: [latitude, longitude].join(), q: formatted_address }
: { daddr: formatted_address };
return `maps://?${new URLSearchParams(params)}`;
return `http://maps.apple.com/?${new URLSearchParams(params)}`;
}

// other platforms use Google - https://developers.google.com/maps/documentation/urls/get-started#directions-action
Expand Down

0 comments on commit 83208b8

Please sign in to comment.