'With React Native 0.63.4, do you need to add any Pods to Podfile manually?

I'm adding react-native-permissons to my React Native 0.63.4 project, and in the docs it says Update your Podfile by choosing the ones you want to check or request, then run pod install:

target 'YourAwesomeProject' do

  # …

  permissions_path = '../node_modules/react-native-permissions/ios'

  pod 'Permission-AppTrackingTransparency', :path => "#{permissions_path}/AppTrackingTransparency"
  pod 'Permission-BluetoothPeripheral', :path => "#
  ...

end

My Podfile currently looks like this:

require_relative '../node_modules/react-native/scripts/react_native_pods'
require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'

platform :ios, '10.0'

target <my target> do
  config = use_native_modules!

  use_react_native!(:path => config["reactNativePath"])

  post_install do |installer|
    # flipper_post_install(installer)
    installer.pods_project.targets.each do |target|
      target.build_configurations.each do |config|
        config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '9.0'
      end
    end
  end
end

Specifically, it doesn't have any lines that specify a particular pod, like the pod 'Permission-BluetoothPeripheral', :path => "# above.

What I Want To Know: Even though my current Podfile doesn't reference any specific pods, do I need to add the lines like it says in the docs for react-native-permissions?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source