react-native-unified-player 1.0.8 → 1.0.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,9 +1,6 @@
1
1
  require "json"
2
2
 
3
3
  package = JSON.parse(File.read(File.join(__dir__, "package.json")))
4
- folly_compiler_flags = '-DFOLLY_NO_CONFIG -DFOLLY_MOBILE=1 -DFOLLY_USE_LIBCPP=1 -Wno-comma -Wno-shorten-64-to-32'
5
-
6
- fabric_enabled = ENV['RCT_NEW_ARCH_ENABLED'] == '1'
7
4
 
8
5
  Pod::Spec.new do |s|
9
6
  s.name = "UnifiedPlayer"
@@ -16,10 +13,7 @@ Pod::Spec.new do |s|
16
13
  s.platforms = { :ios => min_ios_version_supported }
17
14
  s.source = { :git => "https://github.com/blueromans/react-native-unified-player.git", :tag => "#{s.version}" }
18
15
 
19
- # Always depend on React core headers so the bridging header can import React
20
16
  s.dependency "React-Core"
21
- # Ensure jsinspector vendored framework is present (required when use_frameworks is enabled)
22
- s.dependency "React-jsinspector"
23
17
 
24
18
  s.source_files = [
25
19
  "ios/*.{h,m,mm,swift}",
@@ -28,28 +22,11 @@ Pod::Spec.new do |s|
28
22
  "ios/view/**/*.{h,m,mm,swift}"
29
23
  ]
30
24
 
31
- # Fabric and paper architecture-specific files have been removed
32
- # They would need codegen setup to work
33
-
34
- # Cxx to Swift bridging helpers
35
- s.public_header_files = ["ios/Video-Bridging-Header.h"]
36
-
37
25
  s.pod_target_xcconfig = {
38
- "GCC_PREPROCESSOR_DEFINITIONS" => "$(inherited) FOLLY_NO_CONFIG FOLLY_CFG_NO_COROUTINES FOLLY_MOBILE"
26
+ "GCC_PREPROCESSOR_DEFINITIONS" => "$(inherited) FOLLY_NO_CONFIG FOLLY_CFG_NO_COROUTINES FOLLY_MOBILE",
27
+ "CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES" => "YES"
39
28
  }
40
29
 
41
- # Try to manually add the dependencies
42
- # because they are not automatically added by expo
43
- # when USE_FRAMEWORKS is true
44
- if ENV["USE_FRAMEWORKS"]
45
- s.dependency "React-Core"
46
-
47
- puts "[UnifiedPlayer] Detected USE_FRAMEWORKS, adding required dependencies..."
48
-
49
- add_dependency(s, "React-jsinspector", :framework_name => "jsinspector_modern")
50
- add_dependency(s, "React-rendererconsistency", :framework_name => "React_rendererconsistency")
51
- end
52
-
53
30
  # Add all files generated by Nitrogen
54
31
  load File.join(__dir__, 'nitrogen/generated/ios/UnifiedPlayer+autolinking.rb')
55
32
  add_nitrogen_files(s)
@@ -1 +1,2 @@
1
- #import <React/RCTViewManager.h>
1
+ // Video-Bridging-Header.h
2
+ // This file is intentionally empty - all React imports are handled in .mm files
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-unified-player",
3
- "version": "1.0.8",
3
+ "version": "1.0.10",
4
4
  "description": "Unified Player",
5
5
  "source": "./src/index.tsx",
6
6
  "main": "./lib/module/index.js",