Skip to content

showUserLocation is not working despite putting in the run time location permission #4720

Answered by stjasink
elkee2003 asked this question in Q&A
Discussion options

You must be logged in to vote

Try adding in a call to actually request the permission from the user before rendering the map, e.g.:

  request(PERMISSIONS.ANDROID.ACCESS_FINE_LOCATION).then(result => {
     console.log('Got permission: ' + result);
  });

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@elkee2003
Comment options

Answer selected by elkee2003
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
bug Something isn't working
2 participants
Converted from issue

This discussion was converted from issue #4717 on April 28, 2023 19:02.