question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Doesn't open location in Apple Maps

See original GitHub issue

When I click on the link and select Apple Maps from the popup on iOS, it switches to Apple Maps and displays my current location but NOT the lat/long location I passed to showLocation like such:

      <Button
        title="Open Maps"
        onPress={() =>
          showLocation({
            latitude: 37.3114919,
            longitude: -122.0657608,
            googlePlaceId: 'ChIJRQOCvWa0j4ARlxoULrHKCmg',
            alwaysIncludeGoogle: true,
            appsWhiteList: ['google-maps', 'apple-maps'],
          })
        }
      />

I am testing on an iPhone 13, iOS 15.2 simulator, 2.9.3 version of this library. It works flawlessly with Google Maps. Anyone know what is the issue?

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:3
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
fcandicommented, May 19, 2022

I had the same problem.

I do not have the time to dig deeper, but I found a simple preliminary fix: simply also set the title to “lat,lng”. Its not pretty, but it works for now 😃

0reactions
tschoffelencommented, Jun 15, 2022

Fixed in #224

Read more comments on GitHub >

github_iconTop Results From Across the Web

If Maps isn't working on your Apple device
Turn on Location Services and Location Access for Maps. In the Settings app, tap Privacy, then tap Location Services.
Read more >
8 Ways to Fix Apple Maps When It's Not Working
Here, make sure that Location Services is toggled on, then scroll down and tap Maps. Turn on Precise Location, and then select either...
Read more >
How to Fix It When Apple Maps Is Not Working - Lifewire
The Maps app shows an incorrect location, the GPS doesn't work correctly, or the Apple Maps app doesn't work at all.
Read more >
Easy Way On How To Fix Apple Maps Not Working on iOS 13
Go to Settings from the home screen · Tap on Privacy · Toggle OFF to turn off Location Services · Wait for a...
Read more >
6 Best to Fix iPhone Maps Not Working with Ease - iMobie
Method 1. Make Sure You Have A Good Signal · Method 2. Verify Cellular Data Is Enabled for Maps · Method 3. Refresh...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found