Skip to content

Commit 1040174

Browse files
Ron RadtkeRon Radtke
authored andcommitted
fixing podspec
fixes #275
1 parent 3047bdb commit 1040174

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-native-blob-util",
3-
"version": "0.18.4",
3+
"version": "0.18.5",
44
"description": "A module provides upload, download, and files access API. Supports file stream read/write for process large files.",
55
"main": "index",
66
"scripts": {

react-native-blob-util.podspec

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
require "json"
22

3+
fabric_enabled = ENV['RCT_NEW_ARCH_ENABLED'] == '1'
34
package = JSON.parse(File.read(File.join(__dir__, "package.json")))
45

56
Pod::Spec.new do |s|
@@ -15,6 +16,8 @@ Pod::Spec.new do |s|
1516
s.platforms = { :ios => "11.0" }
1617
s.framework = 'AssetsLibrary'
1718

18-
install_modules_dependencies(s)
19+
if fabric_enabled
20+
install_modules_dependencies(s)
21+
end
1922

2023
end

0 commit comments

Comments
 (0)