react-native 0.73.0-rc.3 → 0.73.0-rc.5
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/Libraries/Animated/nodes/AnimatedStyle.js +1 -1
- package/Libraries/AppDelegate/React-RCTAppDelegate.podspec +13 -27
- package/Libraries/Blob/React-RCTBlob.podspec +8 -14
- package/Libraries/Core/ReactNativeVersion.js +1 -1
- package/Libraries/Image/React-RCTImage.podspec +9 -13
- package/Libraries/LinkingIOS/React-RCTLinking.podspec +4 -12
- package/Libraries/NativeAnimation/React-RCTAnimation.podspec +7 -13
- package/Libraries/Network/React-RCTNetwork.podspec +7 -17
- package/Libraries/PushNotificationIOS/React-RCTPushNotification.podspec +7 -13
- package/Libraries/Settings/React-RCTSettings.podspec +7 -16
- package/Libraries/Vibration/React-RCTVibration.podspec +6 -14
- package/React/Base/RCTVersion.m +1 -1
- package/React/CoreModules/React-CoreModules.podspec +4 -8
- package/React/Modules/RCTUIManager.m +4 -1
- package/React/React-RCTFabric.podspec +27 -31
- package/React-Core.podspec +1 -9
- package/ReactAndroid/gradle.properties +1 -1
- package/ReactAndroid/src/main/java/com/facebook/react/config/ReactFeatureFlags.java +1 -1
- package/ReactAndroid/src/main/java/com/facebook/react/devsupport/BridgeDevSupportManager.java +0 -11
- package/ReactAndroid/src/main/java/com/facebook/react/devsupport/DevSupportManagerBase.java +5 -1
- package/ReactAndroid/src/main/java/com/facebook/react/modules/devloading/DevLoadingModule.java +3 -9
- package/ReactAndroid/src/main/java/com/facebook/react/modules/systeminfo/ReactNativeVersion.java +1 -1
- package/ReactAndroid/src/main/java/com/facebook/react/runtime/JSTimerExecutor.java +4 -1
- package/ReactAndroid/src/main/java/com/facebook/react/runtime/ReactHostImpl.java +5 -0
- package/ReactAndroid/src/main/java/com/facebook/react/runtime/ReactInstance.java +41 -4
- package/ReactAndroid/src/main/java/com/facebook/react/views/text/TextAttributeProps.java +4 -1
- package/ReactAndroid/src/main/java/com/facebook/react/views/textinput/ReactEditText.java +4 -29
- package/ReactCommon/React-Fabric.podspec +12 -13
- package/ReactCommon/React-FabricImage.podspec +14 -14
- package/ReactCommon/React-Mapbuffer.podspec +2 -2
- package/ReactCommon/React-rncore.podspec +2 -3
- package/ReactCommon/cxxreact/ReactNativeVersion.h +1 -1
- package/ReactCommon/jserrorhandler/React-jserrorhandler.podspec +7 -4
- package/ReactCommon/jsi/React-jsi.podspec +8 -2
- package/ReactCommon/react/nativemodule/core/platform/ios/React-NativeModulesApple.podspec +3 -1
- package/ReactCommon/react/nativemodule/samples/ReactCommon-Samples.podspec +18 -6
- package/ReactCommon/react/renderer/attributedstring/conversions.h +6 -0
- package/ReactCommon/react/renderer/components/legacyviewmanagerinterop/LegacyViewManagerInteropComponentDescriptor.mm +23 -3
- package/ReactCommon/react/renderer/components/legacyviewmanagerinterop/RCTLegacyViewManagerInteropCoordinator.mm +4 -0
- package/ReactCommon/react/renderer/debug/React-rendererdebug.podspec +2 -3
- package/ReactCommon/react/renderer/imagemanager/platform/ios/React-ImageManager.podspec +11 -16
- package/ReactCommon/react/renderer/runtimescheduler/React-runtimescheduler.podspec +6 -4
- package/ReactCommon/react/runtime/React-RuntimeHermes.podspec +2 -1
- package/ReactCommon/react/utils/React-utils.podspec +2 -5
- package/gradle/libs.versions.toml +1 -1
- package/package.json +10 -10
- package/scripts/cocoapods/codegen_utils.rb +16 -17
- package/scripts/cocoapods/new_architecture.rb +15 -12
- package/scripts/cocoapods/utils.rb +75 -25
- package/scripts/react_native_pods.rb +36 -1
- package/sdks/.hermesversion +1 -1
- package/sdks/hermes-engine/hermes-engine.podspec +1 -1
- package/sdks/hermesc/osx-bin/hermes +0 -0
- package/sdks/hermesc/osx-bin/hermesc +0 -0
- package/sdks/hermesc/win64-bin/hermesc.exe +0 -0
- package/template/package.json +2 -2
- package/ReactCommon/jsinspector/.clang-tidy +0 -6
- package/ReactCommon/jsinspector/InspectorInterfaces.cpp +0 -106
- package/ReactCommon/jsinspector/InspectorInterfaces.h +0 -92
|
@@ -1,92 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
3
|
-
*
|
|
4
|
-
* This source code is licensed under the MIT license found in the
|
|
5
|
-
* LICENSE file in the root directory of this source tree.
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
|
-
#pragma once
|
|
9
|
-
|
|
10
|
-
#include <functional>
|
|
11
|
-
#include <memory>
|
|
12
|
-
#include <string>
|
|
13
|
-
#include <vector>
|
|
14
|
-
|
|
15
|
-
#ifndef JSINSPECTOR_EXPORT
|
|
16
|
-
#ifdef _MSC_VER
|
|
17
|
-
#ifdef CREATE_SHARED_LIBRARY
|
|
18
|
-
#define JSINSPECTOR_EXPORT __declspec(dllexport)
|
|
19
|
-
#else
|
|
20
|
-
#define JSINSPECTOR_EXPORT
|
|
21
|
-
#endif // CREATE_SHARED_LIBRARY
|
|
22
|
-
#else // _MSC_VER
|
|
23
|
-
#define JSINSPECTOR_EXPORT __attribute__((visibility("default")))
|
|
24
|
-
#endif // _MSC_VER
|
|
25
|
-
#endif // !defined(JSINSPECTOR_EXPORT)
|
|
26
|
-
|
|
27
|
-
namespace facebook::react {
|
|
28
|
-
|
|
29
|
-
class IDestructible {
|
|
30
|
-
public:
|
|
31
|
-
virtual ~IDestructible() = 0;
|
|
32
|
-
};
|
|
33
|
-
|
|
34
|
-
struct InspectorPage {
|
|
35
|
-
const int id;
|
|
36
|
-
const std::string title;
|
|
37
|
-
const std::string vm;
|
|
38
|
-
};
|
|
39
|
-
|
|
40
|
-
/// IRemoteConnection allows the VM to send debugger messages to the client.
|
|
41
|
-
class JSINSPECTOR_EXPORT IRemoteConnection : public IDestructible {
|
|
42
|
-
public:
|
|
43
|
-
virtual ~IRemoteConnection() = 0;
|
|
44
|
-
virtual void onMessage(std::string message) = 0;
|
|
45
|
-
virtual void onDisconnect() = 0;
|
|
46
|
-
};
|
|
47
|
-
|
|
48
|
-
/// ILocalConnection allows the client to send debugger messages to the VM.
|
|
49
|
-
class JSINSPECTOR_EXPORT ILocalConnection : public IDestructible {
|
|
50
|
-
public:
|
|
51
|
-
virtual ~ILocalConnection() = 0;
|
|
52
|
-
virtual void sendMessage(std::string message) = 0;
|
|
53
|
-
virtual void disconnect() = 0;
|
|
54
|
-
};
|
|
55
|
-
|
|
56
|
-
/// IInspector tracks debuggable JavaScript targets (pages).
|
|
57
|
-
class JSINSPECTOR_EXPORT IInspector : public IDestructible {
|
|
58
|
-
public:
|
|
59
|
-
using ConnectFunc = std::function<std::unique_ptr<ILocalConnection>(
|
|
60
|
-
std::unique_ptr<IRemoteConnection>)>;
|
|
61
|
-
|
|
62
|
-
virtual ~IInspector() = 0;
|
|
63
|
-
|
|
64
|
-
/// addPage is called by the VM to add a page to the list of debuggable pages.
|
|
65
|
-
virtual int addPage(
|
|
66
|
-
const std::string& title,
|
|
67
|
-
const std::string& vm,
|
|
68
|
-
ConnectFunc connectFunc) = 0;
|
|
69
|
-
|
|
70
|
-
/// removePage is called by the VM to remove a page from the list of
|
|
71
|
-
/// debuggable pages.
|
|
72
|
-
virtual void removePage(int pageId) = 0;
|
|
73
|
-
|
|
74
|
-
/// getPages is called by the client to list all debuggable pages.
|
|
75
|
-
virtual std::vector<InspectorPage> getPages() const = 0;
|
|
76
|
-
|
|
77
|
-
/// connect is called by the client to initiate a debugging session on the
|
|
78
|
-
/// given page.
|
|
79
|
-
virtual std::unique_ptr<ILocalConnection> connect(
|
|
80
|
-
int pageId,
|
|
81
|
-
std::unique_ptr<IRemoteConnection> remote) = 0;
|
|
82
|
-
};
|
|
83
|
-
|
|
84
|
-
/// getInspectorInstance retrieves the singleton inspector that tracks all
|
|
85
|
-
/// debuggable pages in this process.
|
|
86
|
-
extern IInspector& getInspectorInstance();
|
|
87
|
-
|
|
88
|
-
/// makeTestInspectorInstance creates an independent inspector instance that
|
|
89
|
-
/// should only be used in tests.
|
|
90
|
-
extern std::unique_ptr<IInspector> makeTestInspectorInstance();
|
|
91
|
-
|
|
92
|
-
} // namespace facebook::react
|