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.

Not showing action sheet or alert on showLocation.

See original GitHub issue

Hi, I’m facing the problem I mentioned in the title. When I use showLocation it immediately jump to the default map without asking which app I want to use. Which isn’t the correct behavior mentioned in README.md.

Using the showLocation function will shown an action sheet on iOS and an alert on Android

I’ve followed the post-install step of expo, which is in this document. And already rebuild the app. Is there any extra dependancies I need to install? My environment:

expo: 43.0.0
react-native: 0.64.3

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
tschoffelencommented, Feb 7, 2022

The library automatically opens the app if there’s only one app in the list.

This can be because of a couple of things:

  • You only have one supported maps app installed
  • You haven’t properly executed the post-install steps, or haven’t re-built the native part of the app
  • Or you’re using the Expo app to debug whilst testing, which doesn’t have any external apps whitelisted to open. Once you compile the app yourself, it should work
0reactions
qaws5503commented, Feb 23, 2022

Solved here #212

Read more comments on GitHub >

github_iconTop Results From Across the Web

Getting the user's attention with alerts and action sheets
To display an alert or action sheet, create a UIAlertController object, configure it, and call its present(_:animated:completion:) method, as shown in the ...
Read more >
UIActionSheet not showing in iOS 8 - Stack Overflow
I started using PSTAlertController to manage my alerts and action sheets. It supports UIAlertView, UIActionSheet, and UIAlertController.
Read more >
How to show an action sheet - a free SwiftUI by Example tutorial
To create your action sheet using confirmationDialog() , provide some title text, a binding to determine when the sheet should be shown, ...
Read more >
includable/react-native-map-link: Open the map app ... - GitHub
Using the showLocation function will shown an action sheet on iOS and an alert on Android, without any custom styling: import {showLocation} from ......
Read more >
Support - Life360
By turning off Data Breach Alerts, we will no longer notify you if your email address or passwords are exposed on the dark...
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