title: Console.error: no permission handler detected.(React Native)
body: <p>I am coding a simple react native app and am getting a console error when I run the app. It says that there is no permission handler detected and tells me to go through some steps. But I do not know how to do these steps, and if they don't work, I don't know how to solve the problem.</p>
  
  <p>Here is the error:</p>
  
  <p><a href="https://i.stack.imgur.com/H2Sib.png" rel="noreferrer"><img src="https://i.stack.imgur.com/H2Sib.png" alt="enter image description here"></a></p>
  
  <p>Here is the podfile:</p>
  
  <pre><code>platform :ios, '9.0'
  require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'
  
  def add_flipper_pods!(versions = {})
    versions['Flipper'] ||= '~&gt; 0.33.1'
    versions['DoubleConversion'] ||= '1.1.7'
    versions['Flipper-Folly'] ||= '~&gt; 2.1'
    versions['Flipper-Glog'] ||= '0.3.6'
    versions['Flipper-PeerTalk'] ||= '~&gt; 0.0.4'
    versions['Flipper-RSocket'] ||= '~&gt; 1.0'
  
    pod 'FlipperKit', versions['Flipper'], :configuration =&gt; 'Debug'
    pod 'FlipperKit/FlipperKitLayoutPlugin', versions['Flipper'], :configuration =&gt; 'Debug'
    pod 'FlipperKit/SKIOSNetworkPlugin', versions['Flipper'], :configuration =&gt; 'Debug'
    pod 'FlipperKit/FlipperKitUserDefaultsPlugin', versions['Flipper'], :configuration =&gt; 'Debug'
    pod 'FlipperKit/FlipperKitReactPlugin', versions['Flipper'], :configuration =&gt; 'Debug'
  
    # List all transitive dependencies for FlipperKit pods
    # to avoid them being linked in Release builds
    pod 'Flipper', versions['Flipper'], :configuration =&gt; 'Debug'
    pod 'Flipper-DoubleConversion', versions['DoubleConversion'], :configuration =&gt; 'Debug'
    pod 'Flipper-Folly', versions['Flipper-Folly'], :configuration =&gt; 'Debug'
    pod 'Flipper-Glog', versions['Flipper-Glog'], :configuration =&gt; 'Debug'
    pod 'Flipper-PeerTalk', versions['Flipper-PeerTalk'], :configuration =&gt; 'Debug'
    pod 'Flipper-RSocket', versions['Flipper-RSocket'], :configuration =&gt; 'Debug'
    pod 'FlipperKit/Core', versions['Flipper'], :configuration =&gt; 'Debug'
    pod 'FlipperKit/CppBridge', versions['Flipper'], :configuration =&gt; 'Debug'
    pod 'FlipperKit/FBCxxFollyDynamicConvert', versions['Flipper'], :configuration =&gt; 'Debug'
    pod 'FlipperKit/FBDefines', versions['Flipper'], :configuration =&gt; 'Debug'
    pod 'FlipperKit/FKPortForwarding', versions['Flipper'], :configuration =&gt; 'Debug'
    pod 'FlipperKit/FlipperKitHighlightOverlay', versions['Flipper'], :configuration =&gt; 'Debug'
    pod 'FlipperKit/FlipperKitLayoutTextSearchable', versions['Flipper'], :configuration =&gt; 'Debug'
    pod 'FlipperKit/FlipperKitNetworkPlugin', versions['Flipper'], :configuration =&gt; 'Debug'
  end
  
  # Post Install processing for Flipper
  def flipper_post_install(installer)
    installer.pods_project.targets.each do |target|
      if target.name == 'YogaKit'
        target.build_configurations.each do |config|
          config.build_settings['SWIFT_VERSION'] = '4.1'
        end
      end
    end
  end
  
  target 'LocalMainStreet' do
    # Pods for LocalMainStreet
    pod 'FBLazyVector', :path =&gt; "../node_modules/react-native/Libraries/FBLazyVector"
    pod 'FBReactNativeSpec', :path =&gt; "../node_modules/react-native/Libraries/FBReactNativeSpec"
    pod 'RCTRequired', :path =&gt; "../node_modules/react-native/Libraries/RCTRequired"
    pod 'RCTTypeSafety', :path =&gt; "../node_modules/react-native/Libraries/TypeSafety"
    pod 'React', :path =&gt; '../node_modules/react-native/'
    pod 'React-Core', :path =&gt; '../node_modules/react-native/'
    pod 'React-CoreModules', :path =&gt; '../node_modules/react-native/React/CoreModules'
    pod 'React-Core/DevSupport', :path =&gt; '../node_modules/react-native/'
    pod 'React-RCTActionSheet', :path =&gt; '../node_modules/react-native/Libraries/ActionSheetIOS'
    pod 'React-RCTAnimation', :path =&gt; '../node_modules/react-native/Libraries/NativeAnimation'
    pod 'React-RCTBlob', :path =&gt; '../node_modules/react-native/Libraries/Blob'
    pod 'React-RCTImage', :path =&gt; '../node_modules/react-native/Libraries/Image'
    pod 'React-RCTLinking', :path =&gt; '../node_modules/react-native/Libraries/LinkingIOS'
    pod 'React-RCTNetwork', :path =&gt; '../node_modules/react-native/Libraries/Network'
    pod 'React-RCTSettings', :path =&gt; '../node_modules/react-native/Libraries/Settings'
    pod 'React-RCTText', :path =&gt; '../node_modules/react-native/Libraries/Text'
    pod 'React-RCTVibration', :path =&gt; '../node_modules/react-native/Libraries/Vibration'
    pod 'React-Core/RCTWebSocket', :path =&gt; '../node_modules/react-native/'
  
    pod 'React-cxxreact', :path =&gt; '../node_modules/react-native/ReactCommon/cxxreact'
    pod 'React-jsi', :path =&gt; '../node_modules/react-native/ReactCommon/jsi'
    pod 'React-jsiexecutor', :path =&gt; '../node_modules/react-native/ReactCommon/jsiexecutor'
    pod 'React-jsinspector', :path =&gt; '../node_modules/react-native/ReactCommon/jsinspector'
    pod 'ReactCommon/callinvoker', :path =&gt; "../node_modules/react-native/ReactCommon"
    pod 'ReactCommon/turbomodule/core', :path =&gt; "../node_modules/react-native/ReactCommon"
    pod 'Yoga', :path =&gt; '../node_modules/react-native/ReactCommon/yoga', :modular_headers =&gt; true
  
    pod 'DoubleConversion', :podspec =&gt; '../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec'
    pod 'glog', :podspec =&gt; '../node_modules/react-native/third-party-podspecs/glog.podspec'
    pod 'Folly', :podspec =&gt; '../node_modules/react-native/third-party-podspecs/Folly.podspec'
  
    pod 'RNGestureHandler', :path =&gt; '../node_modules/react-native-gesture-handler'
  
    target 'LocalMainStreetTests' do
      inherit! :complete
      # Pods for testing
    end
  
    use_native_modules!
  
    # Enables Flipper.
    #
    # Note that if you have use_frameworks! enabled, Flipper will not work and
    # you should disable these next few lines.
    add_flipper_pods!
    post_install do |installer|
      flipper_post_install(installer)
    end
  end
  
  target 'LocalMainStreet-tvOS' do
    # Pods for LocalMainStreet-tvOS
  
    target 'LocalMainStreet-tvOSTests' do
      inherit! :search_paths
      # Pods for testing
    end
  end
  </code></pre>
  
  <p>Please help. Thanks.</p>