scripts/react_native_pods.rb
# Adds the Flipper pods from RN 0.62, which have been ported to work on tvOS.
# Recommended for projects that have both iOS and tvOS targets
Adds the Flipper pods from RN 0.62, which have been ported to work on tvOS.
Recommended for projects that have both iOS and tvOS targets
Adds the Flipper pods from RN 0 . 62 which have been ported to work on tvOS . Recommended for projects that have both iOS and tvOS targets
def use_flipper_tvos!(versions = {})
  flipperkit_version = '0.30.2'
  pod 'FlipperKit', '~>' + flipperkit_version, :configuration => 'Debug'
  pod 'FlipperKit/FlipperKitLayoutPlugin', '~>' + flipperkit_version, :configuration => 'Debug'
  pod 'FlipperKit/SKIOSNetworkPlugin', '~>' + flipperkit_version, :configuration => 'Debug'
  pod 'FlipperKit/FlipperKitUserDefaultsPlugin', '~>' + flipperkit_version, :configuration => 'Debug'
  pod 'FlipperKit/FlipperKitReactPlugin', '~>' + flipperkit_version, :configuration => 'Debug'
  if ENV['USE_FRAMEWORKS'] == '1'
    $static_framework = ['FlipperKit', 'Flipper', 'Flipper-Folly',
        'CocoaAsyncSocket', 'ComponentKit', 'Flipper-DoubleConversion',
        'Flipper-Glog', 'Flipper-PeerTalk', 'Flipper-RSocket',
        'CocoaLibEvent', 'OpenSSL-Universal', 'boost-for-react-native']
    pre_install do |installer|
      Pod::Installer::Xcode::TargetValidator.send(:define_method, :verify_no_static_framework_transitive_dependencies) {}
      installer.pod_targets.each do |pod|
          if $static_framework.include?(pod.name)
            def pod.build_type;
              Pod::Target::BuildType.static_library
            end
          end
        end
    end
  end
end
def use_flipper_tvos! ( versions = { } ) flipperkit_version = '0.30.2' pod 'FlipperKit' , '~>' + flipperkit_version , :configuration => 'Debug' pod 'FlipperKit/FlipperKitLayoutPlugin' , '~>' + flipperkit_version , :configuration => 'Debug' pod 'FlipperKit/SKIOSNetworkPlugin' , '~>' + flipperkit_version , :configuration => 'Debug' pod 'FlipperKit/FlipperKitUserDefaultsPlugin' , '~>' + flipperkit_version , :configuration => 'Debug' pod 'FlipperKit/FlipperKitReactPlugin' , '~>' + flipperkit_version , :configuration => 'Debug' if ENV [ 'USE_FRAMEWORKS' ] == '1' $static_framework = [ 'FlipperKit' , 'Flipper' , 'Flipper-Folly' , 'CocoaAsyncSocket' , 'ComponentKit' , 'Flipper-DoubleConversion' , 'Flipper-Glog' , 'Flipper-PeerTalk' , 'Flipper-RSocket' , 'CocoaLibEvent' , 'OpenSSL-Universal' , 'boost-for-react-native' ] pre_install do | installer | Pod :: Installer :: Xcode :: TargetValidator . send ( :define_method , :verify_no_static_framework_transitive_dependencies ) { } installer . pod_targets . each do | pod | if $static_framework . include? ( pod . name ) def pod . build_type ; Pod :: Target :: BuildType . static_library end end end end end end
Adds the Flipper pods from RN 0.62, which have been ported to work on tvOS.
Adds the Flipper pods from RN 0 . 62 which have been ported to work on tvOS .
versions