ilabs-flir 2.1.34 → 2.1.35

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.
Files changed (2) hide show
  1. package/Flir.podspec +12 -0
  2. package/package.json +1 -1
package/Flir.podspec CHANGED
@@ -33,6 +33,18 @@ Pod::Spec.new do |s|
33
33
 
34
34
  # React Native dependency
35
35
  s.dependency 'React-Core'
36
+
37
+ # Ensure React headers are available to this Pod across various RN/CocoaPods layouts
38
+ # (helps when headers are in different public/private/ReactCore locations or when using use_frameworks)
39
+ s.pod_target_xcconfig ||= {}
40
+ existing_hdrs = s.pod_target_xcconfig['HEADER_SEARCH_PATHS'] || '$(inherited)'
41
+ hdrs = [existing_hdrs,
42
+ '"${PODS_ROOT}/Headers/Public/React"',
43
+ '"${PODS_ROOT}/Headers/Public/React-Core"',
44
+ '"${PODS_ROOT}/Headers/Public/ReactCommon"',
45
+ '"${PODS_ROOT}/Headers/Public/React-CoreModules"']
46
+ s.pod_target_xcconfig['HEADER_SEARCH_PATHS'] = hdrs.join(' ')
47
+
36
48
 
37
49
  # ==========================================================================
38
50
  # FLIR SDK CONFIGURATION
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ilabs-flir",
3
- "version": "2.1.34",
3
+ "version": "2.1.35",
4
4
  "description": "FLIR Thermal SDK for React Native - iOS & Android (bundled at compile time via postinstall)",
5
5
  "main": "src/index.js",
6
6
  "types": "src/index.d.ts",