PHP 7.4.33
Preview: React.podspec Size: 2.57 KB
/var/www/uibuilder.cmshelp.dk/httpdocs/node_modules/react-native/React.podspec
# Copyright (c) Meta Platforms, Inc. and affiliates.
#
# This source code is licensed under the MIT license found in the
# LICENSE file in the root directory of this source tree.

require "json"

package = JSON.parse(File.read(File.join(__dir__, "package.json")))
version = package['version']

source = { :git => 'https://github.com/facebook/react-native.git' }
if version == '1000.0.0'
  # This is an unpublished version, use the latest commit hash of the react-native repo, which we’re presumably in.
  source[:commit] = `git rev-parse HEAD`.strip if system("git rev-parse --git-dir > /dev/null 2>&1")
else
  source[:tag] = "v#{version}"
end

Pod::Spec.new do |s|
  s.name                   = "React"
  s.version                = version
  s.summary                = package["description"]
  s.description            = <<-DESC
                               React Native apps are built using the React JS
                               framework, and render directly to native UIKit
                               elements using a fully asynchronous architecture.
                               There is no browser and no HTML. We have picked what
                               we think is the best set of features from these and
                               other technologies to build what we hope to become
                               the best product development framework available,
                               with an emphasis on iteration speed, developer
                               delight, continuity of technology, and absolutely
                               beautiful and fast products with no compromises in
                               quality or capability.
                             DESC
  s.homepage               = "https://reactnative.dev/"
  s.license                = package["license"]
  s.author                 = "Meta Platforms, Inc. and its affiliates"
  s.platforms              = min_supported_versions
  s.source                 = source
  s.preserve_paths         = "package.json", "LICENSE", "LICENSE-docs"
  s.cocoapods_version      = ">= 1.10.1"

  s.dependency "React-Core", version
  s.dependency "React-Core/DevSupport", version
  s.dependency "React-Core/RCTWebSocket", version
  s.dependency "React-RCTActionSheet", version
  s.dependency "React-RCTAnimation", version
  s.dependency "React-RCTBlob", version
  s.dependency "React-RCTImage", version
  s.dependency "React-RCTLinking", version
  s.dependency "React-RCTNetwork", version
  s.dependency "React-RCTSettings", version
  s.dependency "React-RCTText", version
  s.dependency "React-RCTVibration", version
end

Directory Contents

Dirs: 15 × Files: 14
Name Size Perms Modified Actions
android DIR
- drwxr-xr-x 2025-03-28 11:04:43
Edit Download
flow DIR
- drwxr-xr-x 2025-03-28 11:04:42
Edit Download
gradle DIR
- drwxr-xr-x 2025-03-28 11:04:43
Edit Download
jest DIR
- drwxr-xr-x 2025-03-28 11:04:42
Edit Download
Libraries DIR
- drwxr-xr-x 2025-03-28 11:04:42
Edit Download
- drwxr-xr-x 2025-03-28 11:04:46
Edit Download
React DIR
- drwxr-xr-x 2025-03-28 11:04:43
Edit Download
- drwxr-xr-x 2025-03-28 11:04:43
Edit Download
- drwxr-xr-x 2025-03-28 11:04:43
Edit Download
- drwxr-xr-x 2025-03-28 11:04:43
Edit Download
scripts DIR
- drwxr-xr-x 2025-03-28 11:04:43
Edit Download
sdks DIR
- drwxr-xr-x 2025-03-28 11:04:42
Edit Download
src DIR
- drwxr-xr-x 2025-03-28 11:04:41
Edit Download
- drwxr-xr-x 2025-03-28 11:04:43
Edit Download
types DIR
- drwxr-xr-x 2025-03-28 11:04:43
Edit Download
801 B lrw-r--r-- 2025-03-28 11:04:43
Edit Download
7.21 KB lrwxr-xr-x 2025-03-28 11:04:42
Edit Download
24 B lrw-r--r-- 2025-03-28 11:04:43
Edit Download
31.30 KB lrw-r--r-- 2025-03-28 11:04:42
Edit Download
792 B lrw-r--r-- 2025-03-28 11:04:42
Edit Download
737 B lrw-r--r-- 2025-03-28 11:04:42
Edit Download
1.06 KB lrw-r--r-- 2025-03-28 11:04:38
Edit Download
4.29 KB lrw-r--r-- 2025-03-28 11:04:42
Edit Download
5.68 KB lrw-r--r-- 2025-03-28 11:04:43
Edit Download
2.62 KB lrw-r--r-- 2025-03-28 11:04:42
Edit Download
2.57 KB lrw-r--r-- 2025-03-28 11:04:43
Edit Download
6.67 KB lrw-r--r-- 2025-03-28 11:04:43
Edit Download
299 B lrw-r--r-- 2025-03-28 11:04:42
Edit Download
954 B lrw-r--r-- 2025-03-28 11:04:43
Edit Download
If ZipArchive is unavailable, a .tar will be created (no compression).