I'm having trouble with permissions in my React Native iOS app during development. I've configured the required permissions following the instructions in react-native-permissions, but I'm still facing issues when launching the app in development mode.
I've already tried cleaning and rebuilding the project, but the problem persists.
No permission handler detected
.
Check that you are correctly calling setup_permissions in your Podfile.
Uninstall this app, reinstall your Pods, delete your Xcode DerivedData folder and rebuild it.
[RNPermissions.mm:155] RCTPermissions: gatherConstantsAndSignal()
[RCTModuleData.m:171] RCTModuleData: exportedConstants facebook::react::RCTNativeModule::getConstants(): react::RCTNativeModule::getConfig facebook::react::JSStringModule::create facebook::react::basic_string_char::std::_1:: facebook::react::JSNativeModules::getModule(facebook::react::JSRuntime*, std::) facebook::react::JSRuntime::getModule(facebook::react::JSExecutor*, facebook::JS) facebook::react::JSExecutor::nativeModule(facebook::react::JSRuntime*, facebook::JS) facebook::react::JSRuntime::getDecoratedHostObject(facebook::react::JSRuntime*, facebook::JS) facebook::react::JSRuntime::getProxy(facebook::react::JSRuntime*, facebook::JS) facebook::react::JSRuntime::getHermesRuntime() facebook::react::JSRuntime::getHermesVM() facebook::react::JSRuntime::getHermesSymbolImpl() facebook::react::JSRuntime::getHermesSymbol() Dismiss Reload Copy Extra info (ESC) (⌘R) (⌘C) (⌘I)
If you are sure that configured everything as per latest react-native-permissions, (Check the available permissions). Then it can be fixed by uninstalling nodemodules and reinstall it, because the above error is stored in nodemoudles during your first run.