React Native application doesn't show up on settings in iOS

Viewed 485

My config:

react-native: 0.66.3
xcode: 13.2.1

When deploying an application to the simulator, or to real device, I cannot access the settings page of the app in iOS.

I have a button that asks for user location, and I should at least see it on the settings page.

I tried to deploy the application on release variant, but same thing. I checked some solution on the web, and I found a solution with many upvote but it still did not do the trick.

Maybe there is a way to generate a Settings.bundle with cocoa based to the permission that we have ?

1 Answers

In my case, I came across this and I followed these instructions :

Adding the Settings Bundle Open your workspace inner ios folder with xcode To add a Settings bundle to your Xcode project: Choose File > New > New File. Under iOS, choose Resource, and then select the Settings Bundle template. Name the file Settings.bundle.

My application was available on the Settings application on iOS, and I just updated the file with my permissions.

From now, the purpose of this file is to manually add some permission, or information (like the version code).

But the automatic permissions like geolocation will be added automatically.

Related