1*af2ec015STomasz Sapeta# Copyright (c) Meta Platforms, Inc. and affiliates. 2*af2ec015STomasz Sapeta# 3*af2ec015STomasz Sapeta# This source code is licensed under the MIT license found in the 4*af2ec015STomasz Sapeta# LICENSE file in the root directory of this source tree. 5*af2ec015STomasz Sapeta 6*af2ec015STomasz Sapetarequire "json" 7*af2ec015STomasz Sapeta 8*af2ec015STomasz Sapetapackage = JSON.parse(File.read(File.join(__dir__, "package.json"))) 9*af2ec015STomasz Sapetaversion = package['version'] 10*af2ec015STomasz Sapeta 11*af2ec015STomasz Sapetasource = { :git => 'https://github.com/facebook/ABI49_0_0react-native.git' } 12*af2ec015STomasz Sapetaif version == '1000.0.0' 13*af2ec015STomasz Sapeta # This is an unpublished version, use the latest commit hash of the ABI49_0_0react-native repo, which we’re presumably in. 14*af2ec015STomasz Sapeta source[:commit] = `git rev-parse HEAD`.strip if system("git rev-parse --git-dir > /dev/null 2>&1") 15*af2ec015STomasz Sapetaelse 16*af2ec015STomasz Sapeta source[:tag] = "v#{version}" 17*af2ec015STomasz Sapetaend 18*af2ec015STomasz Sapeta 19*af2ec015STomasz SapetaPod::Spec.new do |s| 20*af2ec015STomasz Sapeta s.name = "ABI49_0_0React" 21*af2ec015STomasz Sapeta s.version = version 22*af2ec015STomasz Sapeta s.summary = package["description"] 23*af2ec015STomasz Sapeta s.description = <<-DESC 24*af2ec015STomasz Sapeta React Native apps are built using the React JS 25*af2ec015STomasz Sapeta framework, and render directly to native UIKit 26*af2ec015STomasz Sapeta elements using a fully asynchronous architecture. 27*af2ec015STomasz Sapeta There is no browser and no HTML. We have picked what 28*af2ec015STomasz Sapeta we think is the best set of features from these and 29*af2ec015STomasz Sapeta other technologies to build what we hope to become 30*af2ec015STomasz Sapeta the best product development framework available, 31*af2ec015STomasz Sapeta with an emphasis on iteration speed, developer 32*af2ec015STomasz Sapeta delight, continuity of technology, and absolutely 33*af2ec015STomasz Sapeta beautiful and fast products with no compromises in 34*af2ec015STomasz Sapeta quality or capability. 35*af2ec015STomasz Sapeta DESC 36*af2ec015STomasz Sapeta s.homepage = "https://reactnative.dev/" 37*af2ec015STomasz Sapeta s.license = package["license"] 38*af2ec015STomasz Sapeta s.author = "Meta Platforms, Inc. and its affiliates" 39*af2ec015STomasz Sapeta s.platforms = { :ios => "12.4" } 40*af2ec015STomasz Sapeta s.source = { :path => "." } 41*af2ec015STomasz Sapeta s.preserve_paths = "package.json", "LICENSE", "LICENSE-docs" 42*af2ec015STomasz Sapeta s.cocoapods_version = ">= 1.10.1" 43*af2ec015STomasz Sapeta 44*af2ec015STomasz Sapeta s.dependency "ABI49_0_0React-Core", version 45*af2ec015STomasz Sapeta s.dependency "ABI49_0_0React-Core/DevSupport", version 46*af2ec015STomasz Sapeta s.dependency "ABI49_0_0React-Core/RCTWebSocket", version 47*af2ec015STomasz Sapeta s.dependency "ABI49_0_0React-RCTActionSheet", version 48*af2ec015STomasz Sapeta s.dependency "ABI49_0_0React-RCTAnimation", version 49*af2ec015STomasz Sapeta s.dependency "ABI49_0_0React-RCTBlob", version 50*af2ec015STomasz Sapeta s.dependency "ABI49_0_0React-RCTImage", version 51*af2ec015STomasz Sapeta s.dependency "ABI49_0_0React-RCTLinking", version 52*af2ec015STomasz Sapeta s.dependency "ABI49_0_0React-RCTNetwork", version 53*af2ec015STomasz Sapeta s.dependency "ABI49_0_0React-RCTSettings", version 54*af2ec015STomasz Sapeta s.dependency "ABI49_0_0React-RCTText", version 55*af2ec015STomasz Sapeta s.dependency "ABI49_0_0React-RCTVibration", version 56*af2ec015STomasz Sapetaend 57