@rnx-kit/react-native-host 0.2.4 → 0.2.6

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.
package/README.md CHANGED
@@ -1,12 +1,8 @@
1
- <!--remove-block start-->
2
-
3
1
  # @rnx-kit/react-native-host
4
2
 
5
3
  [![Build](https://github.com/microsoft/rnx-kit/actions/workflows/build.yml/badge.svg)](https://github.com/microsoft/rnx-kit/actions/workflows/build.yml)
6
4
  [![npm version](https://img.shields.io/npm/v/@rnx-kit/react-native-host)](https://www.npmjs.com/package/@rnx-kit/react-native-host)
7
5
 
8
- <!--remove-block end-->
9
-
10
6
  `@rnx-kit/react-native-host` simplifies React Native initialization.
11
7
 
12
8
  The aim of this package is to provide a backwards (and forwards) compatible way
@@ -31,9 +31,13 @@ Pod::Spec.new do |s|
31
31
  s.dependency 'React-Core'
32
32
  s.dependency 'React-cxxreact'
33
33
 
34
+ # Normally, we wouldn't need this unless New Arch was enabled. However,
35
+ # Reanimated requires a header from here.
36
+ s.dependency 'ReactCommon/turbomodule/core'
37
+
34
38
  if new_arch_enabled
39
+ s.dependency 'React-RCTAppDelegate'
35
40
  s.dependency 'React-RCTFabric'
36
- s.dependency 'ReactCommon/turbomodule/core'
37
41
  end
38
42
 
39
43
  s.pod_target_xcconfig = {
@@ -14,8 +14,7 @@
14
14
  #import <React/RCTAppSetupUtils.h>
15
15
  #define USE_RUNTIME_SCHEDULER 0
16
16
  #else
17
- #import <RCTAppSetupUtils.h>
18
-
17
+ #import <React-RCTAppDelegate/RCTAppSetupUtils.h>
19
18
  #import <React/RCTSurfacePresenterBridgeAdapter.h>
20
19
  #import <react/renderer/runtimescheduler/RuntimeScheduler.h>
21
20
  #import <react/renderer/runtimescheduler/RuntimeSchedulerCallInvoker.h>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rnx-kit/react-native-host",
3
- "version": "0.2.4",
3
+ "version": "0.2.6",
4
4
  "description": "Simplify React Native initialization",
5
5
  "homepage": "https://github.com/microsoft/rnx-kit/tree/main/packages/react-native-host#readme",
6
6
  "license": "MIT",