Ask Your Question
4

Why is the managed Expo React Native app not displaying the custom location permission message on iOS?

asked 2021-06-07 11:00:00 +0000

huitzilopochtli gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2021-11-30 10:00:00 +0000

ladyg gravatar image

There could be a few reasons why the custom location permission message is not displaying on iOS in a managed Expo React Native app:

  1. The NSLocationWhenInUseUsageDescription key is missing from the app's Info.plist file. This key is required to display the custom location permission message on iOS.

  2. The Info.plist file has been modified or edited after the initial build. If this is the case, the changes may not have been properly linked to the app's binary during the subsequent builds.

  3. The app may not have requested location permissions at all. Developers should ensure that the Permissions.LOCATION module is properly imported and used to request location permissions from the user.

  4. The app may not have been granted location permissions by the user. In this case, the custom location permission message will not be displayed. Developers should ensure that the app checks for and handles cases where the user denies location permissions.

  5. There may be a bug or error in the app's code that is preventing the custom location permission message from displaying correctly. Developers should review their code to ensure that they are correctly implementing location permissions and checking for errors.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss

Add Answer


Question Tools

Stats

Asked: 2021-06-07 11:00:00 +0000

Seen: 11 times

Last updated: Nov 30 '21