From edd8a0ede600482c13008f08c1b8ecd01fc5824e Mon Sep 17 00:00:00 2001 From: Curtis Liu Date: Mon, 7 Oct 2024 22:13:46 -0400 Subject: [PATCH] chore: add ios session replay to react-native example app --- examples/react-native/example/ios/.xcode.env | 12 +- .../example/ios/ConsoleLogger.swift | 56 + examples/react-native/example/ios/Podfile | 2 + .../react-native/example/ios/Podfile.lock | 1424 +++++++++++++++++ ...essionReplayPluginModule-Bridging-Header.h | 13 + .../ios/SessionReplayPluginModule.swift | 58 + .../ios/SessionReplayPluginModuleBridge.m | 25 + .../ios/example.xcodeproj/project.pbxproj | 96 +- .../xcshareddata/IDEWorkspaceChecks.plist | 8 + .../contents.xcworkspacedata | 10 + .../xcshareddata/IDEWorkspaceChecks.plist | 8 + .../example/ios/example/PrivacyInfo.xcprivacy | 63 +- 12 files changed, 1722 insertions(+), 53 deletions(-) create mode 100644 examples/react-native/example/ios/ConsoleLogger.swift create mode 100644 examples/react-native/example/ios/Podfile.lock create mode 100644 examples/react-native/example/ios/SessionReplayPluginModule-Bridging-Header.h create mode 100644 examples/react-native/example/ios/SessionReplayPluginModule.swift create mode 100644 examples/react-native/example/ios/SessionReplayPluginModuleBridge.m create mode 100644 examples/react-native/example/ios/example.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist create mode 100644 examples/react-native/example/ios/example.xcworkspace/contents.xcworkspacedata create mode 100644 examples/react-native/example/ios/example.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist diff --git a/examples/react-native/example/ios/.xcode.env b/examples/react-native/example/ios/.xcode.env index 3d5782c71..9e504618c 100644 --- a/examples/react-native/example/ios/.xcode.env +++ b/examples/react-native/example/ios/.xcode.env @@ -1,11 +1 @@ -# This `.xcode.env` file is versioned and is used to source the environment -# used when running script phases inside Xcode. -# To customize your local environment, you can create an `.xcode.env.local` -# file that is not versioned. - -# NODE_BINARY variable contains the PATH to the node executable. -# -# Customize the NODE_BINARY variable here. -# For example, to use nvm with brew, add the following line -# . "$(brew --prefix nvm)/nvm.sh" --no-use -export NODE_BINARY=$(command -v node) +export NODE_BINARY=/Users/curtis/.nvm/versions/node/v18.20.4/bin/node diff --git a/examples/react-native/example/ios/ConsoleLogger.swift b/examples/react-native/example/ios/ConsoleLogger.swift new file mode 100644 index 000000000..8cb6b2a32 --- /dev/null +++ b/examples/react-native/example/ios/ConsoleLogger.swift @@ -0,0 +1,56 @@ +// +// ConsoleLogger.swift +// +// +// Created by Marvin Liu on 10/28/22. +// + +import Foundation +import os.log +import AmplitudeSessionReplay + + +@objc(AMPLogLevel) +public enum LogLevelEnum: Int { + case OFF + case ERROR + case WARN + case LOG + case DEBUG +} + +public class ConsoleLogger: AmplitudeSessionReplay.Logger { + public typealias LogLevel = LogLevelEnum + + public var logLevel: Int + private var logger: OSLog + + public init(logLevel: Int = LogLevelEnum.OFF.rawValue) { + self.logLevel = logLevel + self.logger = OSLog(subsystem: "Amplitude", category: "Logging") + } + + public func error(message: String) { + if logLevel >= LogLevel.ERROR.rawValue { + os_log("Error: %@", log: logger, type: .error, message) + } + } + + public func warn(message: String) { + if logLevel >= LogLevel.WARN.rawValue { + os_log("Warn: %@", log: logger, type: .default, message) + } + } + + public func log(message: String) { + if logLevel >= LogLevel.LOG.rawValue { + os_log("Log: %@", log: logger, type: .info, message) + } + } + + public func debug(message: String) { + if logLevel >= LogLevel.DEBUG.rawValue { + os_log("Debug: %@", log: logger, type: .debug, message) + } + } +} diff --git a/examples/react-native/example/ios/Podfile b/examples/react-native/example/ios/Podfile index e0a72606e..b70b48a88 100644 --- a/examples/react-native/example/ios/Podfile +++ b/examples/react-native/example/ios/Podfile @@ -23,6 +23,8 @@ target 'example' do :app_path => "#{Pod::Config.instance.installation_root}/.." ) + pod 'AmplitudeSessionReplay', :git => 'https://github.com/amplitude/AmplitudeSessionReplay-iOS.git' + target 'exampleTests' do inherit! :complete # Pods for testing diff --git a/examples/react-native/example/ios/Podfile.lock b/examples/react-native/example/ios/Podfile.lock new file mode 100644 index 000000000..6177b6b60 --- /dev/null +++ b/examples/react-native/example/ios/Podfile.lock @@ -0,0 +1,1424 @@ +PODS: + - amplitude-react-native (1.4.10): + - React-Core + - AmplitudeSessionReplay (0.0.8) + - boost (1.83.0) + - DoubleConversion (1.1.6) + - FBLazyVector (0.74.6) + - fmt (9.1.0) + - glog (0.3.5) + - hermes-engine (0.74.6): + - hermes-engine/Pre-built (= 0.74.6) + - hermes-engine/Pre-built (0.74.6) + - RCT-Folly (2024.01.01.00): + - boost + - DoubleConversion + - fmt (= 9.1.0) + - glog + - RCT-Folly/Default (= 2024.01.01.00) + - RCT-Folly/Default (2024.01.01.00): + - boost + - DoubleConversion + - fmt (= 9.1.0) + - glog + - RCT-Folly/Fabric (2024.01.01.00): + - boost + - DoubleConversion + - fmt (= 9.1.0) + - glog + - RCTDeprecation (0.74.6) + - RCTRequired (0.74.6) + - RCTTypeSafety (0.74.6): + - FBLazyVector (= 0.74.6) + - RCTRequired (= 0.74.6) + - React-Core (= 0.74.6) + - React (0.74.6): + - React-Core (= 0.74.6) + - React-Core/DevSupport (= 0.74.6) + - React-Core/RCTWebSocket (= 0.74.6) + - React-RCTActionSheet (= 0.74.6) + - React-RCTAnimation (= 0.74.6) + - React-RCTBlob (= 0.74.6) + - React-RCTImage (= 0.74.6) + - React-RCTLinking (= 0.74.6) + - React-RCTNetwork (= 0.74.6) + - React-RCTSettings (= 0.74.6) + - React-RCTText (= 0.74.6) + - React-RCTVibration (= 0.74.6) + - React-callinvoker (0.74.6) + - React-Codegen (0.74.6): + - DoubleConversion + - glog + - hermes-engine + - RCT-Folly + - RCTRequired + - RCTTypeSafety + - React-Core + - React-debug + - React-Fabric + - React-FabricImage + - React-featureflags + - React-graphics + - React-jsi + - React-jsiexecutor + - React-NativeModulesApple + - React-rendererdebug + - React-utils + - ReactCommon/turbomodule/bridging + - ReactCommon/turbomodule/core + - React-Core (0.74.6): + - glog + - hermes-engine + - RCT-Folly (= 2024.01.01.00) + - RCTDeprecation + - React-Core/Default (= 0.74.6) + - React-cxxreact + - React-featureflags + - React-hermes + - React-jsi + - React-jsiexecutor + - React-jsinspector + - React-perflogger + - React-runtimescheduler + - React-utils + - SocketRocket (= 0.7.0) + - Yoga + - React-Core/CoreModulesHeaders (0.74.6): + - glog + - hermes-engine + - RCT-Folly (= 2024.01.01.00) + - RCTDeprecation + - React-Core/Default + - React-cxxreact + - React-featureflags + - React-hermes + - React-jsi + - React-jsiexecutor + - React-jsinspector + - React-perflogger + - React-runtimescheduler + - React-utils + - SocketRocket (= 0.7.0) + - Yoga + - React-Core/Default (0.74.6): + - glog + - hermes-engine + - RCT-Folly (= 2024.01.01.00) + - RCTDeprecation + - React-cxxreact + - React-featureflags + - React-hermes + - React-jsi + - React-jsiexecutor + - React-jsinspector + - React-perflogger + - React-runtimescheduler + - React-utils + - SocketRocket (= 0.7.0) + - Yoga + - React-Core/DevSupport (0.74.6): + - glog + - hermes-engine + - RCT-Folly (= 2024.01.01.00) + - RCTDeprecation + - React-Core/Default (= 0.74.6) + - React-Core/RCTWebSocket (= 0.74.6) + - React-cxxreact + - React-featureflags + - React-hermes + - React-jsi + - React-jsiexecutor + - React-jsinspector + - React-perflogger + - React-runtimescheduler + - React-utils + - SocketRocket (= 0.7.0) + - Yoga + - React-Core/RCTActionSheetHeaders (0.74.6): + - glog + - hermes-engine + - RCT-Folly (= 2024.01.01.00) + - RCTDeprecation + - React-Core/Default + - React-cxxreact + - React-featureflags + - React-hermes + - React-jsi + - React-jsiexecutor + - React-jsinspector + - React-perflogger + - React-runtimescheduler + - React-utils + - SocketRocket (= 0.7.0) + - Yoga + - React-Core/RCTAnimationHeaders (0.74.6): + - glog + - hermes-engine + - RCT-Folly (= 2024.01.01.00) + - RCTDeprecation + - React-Core/Default + - React-cxxreact + - React-featureflags + - React-hermes + - React-jsi + - React-jsiexecutor + - React-jsinspector + - React-perflogger + - React-runtimescheduler + - React-utils + - SocketRocket (= 0.7.0) + - Yoga + - React-Core/RCTBlobHeaders (0.74.6): + - glog + - hermes-engine + - RCT-Folly (= 2024.01.01.00) + - RCTDeprecation + - React-Core/Default + - React-cxxreact + - React-featureflags + - React-hermes + - React-jsi + - React-jsiexecutor + - React-jsinspector + - React-perflogger + - React-runtimescheduler + - React-utils + - SocketRocket (= 0.7.0) + - Yoga + - React-Core/RCTImageHeaders (0.74.6): + - glog + - hermes-engine + - RCT-Folly (= 2024.01.01.00) + - RCTDeprecation + - React-Core/Default + - React-cxxreact + - React-featureflags + - React-hermes + - React-jsi + - React-jsiexecutor + - React-jsinspector + - React-perflogger + - React-runtimescheduler + - React-utils + - SocketRocket (= 0.7.0) + - Yoga + - React-Core/RCTLinkingHeaders (0.74.6): + - glog + - hermes-engine + - RCT-Folly (= 2024.01.01.00) + - RCTDeprecation + - React-Core/Default + - React-cxxreact + - React-featureflags + - React-hermes + - React-jsi + - React-jsiexecutor + - React-jsinspector + - React-perflogger + - React-runtimescheduler + - React-utils + - SocketRocket (= 0.7.0) + - Yoga + - React-Core/RCTNetworkHeaders (0.74.6): + - glog + - hermes-engine + - RCT-Folly (= 2024.01.01.00) + - RCTDeprecation + - React-Core/Default + - React-cxxreact + - React-featureflags + - React-hermes + - React-jsi + - React-jsiexecutor + - React-jsinspector + - React-perflogger + - React-runtimescheduler + - React-utils + - SocketRocket (= 0.7.0) + - Yoga + - React-Core/RCTSettingsHeaders (0.74.6): + - glog + - hermes-engine + - RCT-Folly (= 2024.01.01.00) + - RCTDeprecation + - React-Core/Default + - React-cxxreact + - React-featureflags + - React-hermes + - React-jsi + - React-jsiexecutor + - React-jsinspector + - React-perflogger + - React-runtimescheduler + - React-utils + - SocketRocket (= 0.7.0) + - Yoga + - React-Core/RCTTextHeaders (0.74.6): + - glog + - hermes-engine + - RCT-Folly (= 2024.01.01.00) + - RCTDeprecation + - React-Core/Default + - React-cxxreact + - React-featureflags + - React-hermes + - React-jsi + - React-jsiexecutor + - React-jsinspector + - React-perflogger + - React-runtimescheduler + - React-utils + - SocketRocket (= 0.7.0) + - Yoga + - React-Core/RCTVibrationHeaders (0.74.6): + - glog + - hermes-engine + - RCT-Folly (= 2024.01.01.00) + - RCTDeprecation + - React-Core/Default + - React-cxxreact + - React-featureflags + - React-hermes + - React-jsi + - React-jsiexecutor + - React-jsinspector + - React-perflogger + - React-runtimescheduler + - React-utils + - SocketRocket (= 0.7.0) + - Yoga + - React-Core/RCTWebSocket (0.74.6): + - glog + - hermes-engine + - RCT-Folly (= 2024.01.01.00) + - RCTDeprecation + - React-Core/Default (= 0.74.6) + - React-cxxreact + - React-featureflags + - React-hermes + - React-jsi + - React-jsiexecutor + - React-jsinspector + - React-perflogger + - React-runtimescheduler + - React-utils + - SocketRocket (= 0.7.0) + - Yoga + - React-CoreModules (0.74.6): + - DoubleConversion + - fmt (= 9.1.0) + - RCT-Folly (= 2024.01.01.00) + - RCTTypeSafety (= 0.74.6) + - React-Codegen + - React-Core/CoreModulesHeaders (= 0.74.6) + - React-jsi (= 0.74.6) + - React-jsinspector + - React-NativeModulesApple + - React-RCTBlob + - React-RCTImage (= 0.74.6) + - ReactCommon + - SocketRocket (= 0.7.0) + - React-cxxreact (0.74.6): + - boost (= 1.83.0) + - DoubleConversion + - fmt (= 9.1.0) + - glog + - hermes-engine + - RCT-Folly (= 2024.01.01.00) + - React-callinvoker (= 0.74.6) + - React-debug (= 0.74.6) + - React-jsi (= 0.74.6) + - React-jsinspector + - React-logger (= 0.74.6) + - React-perflogger (= 0.74.6) + - React-runtimeexecutor (= 0.74.6) + - React-debug (0.74.6) + - React-Fabric (0.74.6): + - DoubleConversion + - fmt (= 9.1.0) + - glog + - hermes-engine + - RCT-Folly/Fabric (= 2024.01.01.00) + - RCTRequired + - RCTTypeSafety + - React-Core + - React-cxxreact + - React-debug + - React-Fabric/animations (= 0.74.6) + - React-Fabric/attributedstring (= 0.74.6) + - React-Fabric/componentregistry (= 0.74.6) + - React-Fabric/componentregistrynative (= 0.74.6) + - React-Fabric/components (= 0.74.6) + - React-Fabric/core (= 0.74.6) + - React-Fabric/imagemanager (= 0.74.6) + - React-Fabric/leakchecker (= 0.74.6) + - React-Fabric/mounting (= 0.74.6) + - React-Fabric/scheduler (= 0.74.6) + - React-Fabric/telemetry (= 0.74.6) + - React-Fabric/templateprocessor (= 0.74.6) + - React-Fabric/textlayoutmanager (= 0.74.6) + - React-Fabric/uimanager (= 0.74.6) + - React-graphics + - React-jsi + - React-jsiexecutor + - React-logger + - React-rendererdebug + - React-runtimescheduler + - React-utils + - ReactCommon/turbomodule/core + - React-Fabric/animations (0.74.6): + - DoubleConversion + - fmt (= 9.1.0) + - glog + - hermes-engine + - RCT-Folly/Fabric (= 2024.01.01.00) + - RCTRequired + - RCTTypeSafety + - React-Core + - React-cxxreact + - React-debug + - React-graphics + - React-jsi + - React-jsiexecutor + - React-logger + - React-rendererdebug + - React-runtimescheduler + - React-utils + - ReactCommon/turbomodule/core + - React-Fabric/attributedstring (0.74.6): + - DoubleConversion + - fmt (= 9.1.0) + - glog + - hermes-engine + - RCT-Folly/Fabric (= 2024.01.01.00) + - RCTRequired + - RCTTypeSafety + - React-Core + - React-cxxreact + - React-debug + - React-graphics + - React-jsi + - React-jsiexecutor + - React-logger + - React-rendererdebug + - React-runtimescheduler + - React-utils + - ReactCommon/turbomodule/core + - React-Fabric/componentregistry (0.74.6): + - DoubleConversion + - fmt (= 9.1.0) + - glog + - hermes-engine + - RCT-Folly/Fabric (= 2024.01.01.00) + - RCTRequired + - RCTTypeSafety + - React-Core + - React-cxxreact + - React-debug + - React-graphics + - React-jsi + - React-jsiexecutor + - React-logger + - React-rendererdebug + - React-runtimescheduler + - React-utils + - ReactCommon/turbomodule/core + - React-Fabric/componentregistrynative (0.74.6): + - DoubleConversion + - fmt (= 9.1.0) + - glog + - hermes-engine + - RCT-Folly/Fabric (= 2024.01.01.00) + - RCTRequired + - RCTTypeSafety + - React-Core + - React-cxxreact + - React-debug + - React-graphics + - React-jsi + - React-jsiexecutor + - React-logger + - React-rendererdebug + - React-runtimescheduler + - React-utils + - ReactCommon/turbomodule/core + - React-Fabric/components (0.74.6): + - DoubleConversion + - fmt (= 9.1.0) + - glog + - hermes-engine + - RCT-Folly/Fabric (= 2024.01.01.00) + - RCTRequired + - RCTTypeSafety + - React-Core + - React-cxxreact + - React-debug + - React-Fabric/components/inputaccessory (= 0.74.6) + - React-Fabric/components/legacyviewmanagerinterop (= 0.74.6) + - React-Fabric/components/modal (= 0.74.6) + - React-Fabric/components/rncore (= 0.74.6) + - React-Fabric/components/root (= 0.74.6) + - React-Fabric/components/safeareaview (= 0.74.6) + - React-Fabric/components/scrollview (= 0.74.6) + - React-Fabric/components/text (= 0.74.6) + - React-Fabric/components/textinput (= 0.74.6) + - React-Fabric/components/unimplementedview (= 0.74.6) + - React-Fabric/components/view (= 0.74.6) + - React-graphics + - React-jsi + - React-jsiexecutor + - React-logger + - React-rendererdebug + - React-runtimescheduler + - React-utils + - ReactCommon/turbomodule/core + - React-Fabric/components/inputaccessory (0.74.6): + - DoubleConversion + - fmt (= 9.1.0) + - glog + - hermes-engine + - RCT-Folly/Fabric (= 2024.01.01.00) + - RCTRequired + - RCTTypeSafety + - React-Core + - React-cxxreact + - React-debug + - React-graphics + - React-jsi + - React-jsiexecutor + - React-logger + - React-rendererdebug + - React-runtimescheduler + - React-utils + - ReactCommon/turbomodule/core + - React-Fabric/components/legacyviewmanagerinterop (0.74.6): + - DoubleConversion + - fmt (= 9.1.0) + - glog + - hermes-engine + - RCT-Folly/Fabric (= 2024.01.01.00) + - RCTRequired + - RCTTypeSafety + - React-Core + - React-cxxreact + - React-debug + - React-graphics + - React-jsi + - React-jsiexecutor + - React-logger + - React-rendererdebug + - React-runtimescheduler + - React-utils + - ReactCommon/turbomodule/core + - React-Fabric/components/modal (0.74.6): + - DoubleConversion + - fmt (= 9.1.0) + - glog + - hermes-engine + - RCT-Folly/Fabric (= 2024.01.01.00) + - RCTRequired + - RCTTypeSafety + - React-Core + - React-cxxreact + - React-debug + - React-graphics + - React-jsi + - React-jsiexecutor + - React-logger + - React-rendererdebug + - React-runtimescheduler + - React-utils + - ReactCommon/turbomodule/core + - React-Fabric/components/rncore (0.74.6): + - DoubleConversion + - fmt (= 9.1.0) + - glog + - hermes-engine + - RCT-Folly/Fabric (= 2024.01.01.00) + - RCTRequired + - RCTTypeSafety + - React-Core + - React-cxxreact + - React-debug + - React-graphics + - React-jsi + - React-jsiexecutor + - React-logger + - React-rendererdebug + - React-runtimescheduler + - React-utils + - ReactCommon/turbomodule/core + - React-Fabric/components/root (0.74.6): + - DoubleConversion + - fmt (= 9.1.0) + - glog + - hermes-engine + - RCT-Folly/Fabric (= 2024.01.01.00) + - RCTRequired + - RCTTypeSafety + - React-Core + - React-cxxreact + - React-debug + - React-graphics + - React-jsi + - React-jsiexecutor + - React-logger + - React-rendererdebug + - React-runtimescheduler + - React-utils + - ReactCommon/turbomodule/core + - React-Fabric/components/safeareaview (0.74.6): + - DoubleConversion + - fmt (= 9.1.0) + - glog + - hermes-engine + - RCT-Folly/Fabric (= 2024.01.01.00) + - RCTRequired + - RCTTypeSafety + - React-Core + - React-cxxreact + - React-debug + - React-graphics + - React-jsi + - React-jsiexecutor + - React-logger + - React-rendererdebug + - React-runtimescheduler + - React-utils + - ReactCommon/turbomodule/core + - React-Fabric/components/scrollview (0.74.6): + - DoubleConversion + - fmt (= 9.1.0) + - glog + - hermes-engine + - RCT-Folly/Fabric (= 2024.01.01.00) + - RCTRequired + - RCTTypeSafety + - React-Core + - React-cxxreact + - React-debug + - React-graphics + - React-jsi + - React-jsiexecutor + - React-logger + - React-rendererdebug + - React-runtimescheduler + - React-utils + - ReactCommon/turbomodule/core + - React-Fabric/components/text (0.74.6): + - DoubleConversion + - fmt (= 9.1.0) + - glog + - hermes-engine + - RCT-Folly/Fabric (= 2024.01.01.00) + - RCTRequired + - RCTTypeSafety + - React-Core + - React-cxxreact + - React-debug + - React-graphics + - React-jsi + - React-jsiexecutor + - React-logger + - React-rendererdebug + - React-runtimescheduler + - React-utils + - ReactCommon/turbomodule/core + - React-Fabric/components/textinput (0.74.6): + - DoubleConversion + - fmt (= 9.1.0) + - glog + - hermes-engine + - RCT-Folly/Fabric (= 2024.01.01.00) + - RCTRequired + - RCTTypeSafety + - React-Core + - React-cxxreact + - React-debug + - React-graphics + - React-jsi + - React-jsiexecutor + - React-logger + - React-rendererdebug + - React-runtimescheduler + - React-utils + - ReactCommon/turbomodule/core + - React-Fabric/components/unimplementedview (0.74.6): + - DoubleConversion + - fmt (= 9.1.0) + - glog + - hermes-engine + - RCT-Folly/Fabric (= 2024.01.01.00) + - RCTRequired + - RCTTypeSafety + - React-Core + - React-cxxreact + - React-debug + - React-graphics + - React-jsi + - React-jsiexecutor + - React-logger + - React-rendererdebug + - React-runtimescheduler + - React-utils + - ReactCommon/turbomodule/core + - React-Fabric/components/view (0.74.6): + - DoubleConversion + - fmt (= 9.1.0) + - glog + - hermes-engine + - RCT-Folly/Fabric (= 2024.01.01.00) + - RCTRequired + - RCTTypeSafety + - React-Core + - React-cxxreact + - React-debug + - React-graphics + - React-jsi + - React-jsiexecutor + - React-logger + - React-rendererdebug + - React-runtimescheduler + - React-utils + - ReactCommon/turbomodule/core + - Yoga + - React-Fabric/core (0.74.6): + - DoubleConversion + - fmt (= 9.1.0) + - glog + - hermes-engine + - RCT-Folly/Fabric (= 2024.01.01.00) + - RCTRequired + - RCTTypeSafety + - React-Core + - React-cxxreact + - React-debug + - React-graphics + - React-jsi + - React-jsiexecutor + - React-logger + - React-rendererdebug + - React-runtimescheduler + - React-utils + - ReactCommon/turbomodule/core + - React-Fabric/imagemanager (0.74.6): + - DoubleConversion + - fmt (= 9.1.0) + - glog + - hermes-engine + - RCT-Folly/Fabric (= 2024.01.01.00) + - RCTRequired + - RCTTypeSafety + - React-Core + - React-cxxreact + - React-debug + - React-graphics + - React-jsi + - React-jsiexecutor + - React-logger + - React-rendererdebug + - React-runtimescheduler + - React-utils + - ReactCommon/turbomodule/core + - React-Fabric/leakchecker (0.74.6): + - DoubleConversion + - fmt (= 9.1.0) + - glog + - hermes-engine + - RCT-Folly/Fabric (= 2024.01.01.00) + - RCTRequired + - RCTTypeSafety + - React-Core + - React-cxxreact + - React-debug + - React-graphics + - React-jsi + - React-jsiexecutor + - React-logger + - React-rendererdebug + - React-runtimescheduler + - React-utils + - ReactCommon/turbomodule/core + - React-Fabric/mounting (0.74.6): + - DoubleConversion + - fmt (= 9.1.0) + - glog + - hermes-engine + - RCT-Folly/Fabric (= 2024.01.01.00) + - RCTRequired + - RCTTypeSafety + - React-Core + - React-cxxreact + - React-debug + - React-graphics + - React-jsi + - React-jsiexecutor + - React-logger + - React-rendererdebug + - React-runtimescheduler + - React-utils + - ReactCommon/turbomodule/core + - React-Fabric/scheduler (0.74.6): + - DoubleConversion + - fmt (= 9.1.0) + - glog + - hermes-engine + - RCT-Folly/Fabric (= 2024.01.01.00) + - RCTRequired + - RCTTypeSafety + - React-Core + - React-cxxreact + - React-debug + - React-graphics + - React-jsi + - React-jsiexecutor + - React-logger + - React-rendererdebug + - React-runtimescheduler + - React-utils + - ReactCommon/turbomodule/core + - React-Fabric/telemetry (0.74.6): + - DoubleConversion + - fmt (= 9.1.0) + - glog + - hermes-engine + - RCT-Folly/Fabric (= 2024.01.01.00) + - RCTRequired + - RCTTypeSafety + - React-Core + - React-cxxreact + - React-debug + - React-graphics + - React-jsi + - React-jsiexecutor + - React-logger + - React-rendererdebug + - React-runtimescheduler + - React-utils + - ReactCommon/turbomodule/core + - React-Fabric/templateprocessor (0.74.6): + - DoubleConversion + - fmt (= 9.1.0) + - glog + - hermes-engine + - RCT-Folly/Fabric (= 2024.01.01.00) + - RCTRequired + - RCTTypeSafety + - React-Core + - React-cxxreact + - React-debug + - React-graphics + - React-jsi + - React-jsiexecutor + - React-logger + - React-rendererdebug + - React-runtimescheduler + - React-utils + - ReactCommon/turbomodule/core + - React-Fabric/textlayoutmanager (0.74.6): + - DoubleConversion + - fmt (= 9.1.0) + - glog + - hermes-engine + - RCT-Folly/Fabric (= 2024.01.01.00) + - RCTRequired + - RCTTypeSafety + - React-Core + - React-cxxreact + - React-debug + - React-Fabric/uimanager + - React-graphics + - React-jsi + - React-jsiexecutor + - React-logger + - React-rendererdebug + - React-runtimescheduler + - React-utils + - ReactCommon/turbomodule/core + - React-Fabric/uimanager (0.74.6): + - DoubleConversion + - fmt (= 9.1.0) + - glog + - hermes-engine + - RCT-Folly/Fabric (= 2024.01.01.00) + - RCTRequired + - RCTTypeSafety + - React-Core + - React-cxxreact + - React-debug + - React-graphics + - React-jsi + - React-jsiexecutor + - React-logger + - React-rendererdebug + - React-runtimescheduler + - React-utils + - ReactCommon/turbomodule/core + - React-FabricImage (0.74.6): + - DoubleConversion + - fmt (= 9.1.0) + - glog + - hermes-engine + - RCT-Folly/Fabric (= 2024.01.01.00) + - RCTRequired (= 0.74.6) + - RCTTypeSafety (= 0.74.6) + - React-Fabric + - React-graphics + - React-ImageManager + - React-jsi + - React-jsiexecutor (= 0.74.6) + - React-logger + - React-rendererdebug + - React-utils + - ReactCommon + - Yoga + - React-featureflags (0.74.6) + - React-graphics (0.74.6): + - DoubleConversion + - fmt (= 9.1.0) + - glog + - RCT-Folly/Fabric (= 2024.01.01.00) + - React-Core/Default (= 0.74.6) + - React-utils + - React-hermes (0.74.6): + - DoubleConversion + - fmt (= 9.1.0) + - glog + - hermes-engine + - RCT-Folly (= 2024.01.01.00) + - React-cxxreact (= 0.74.6) + - React-jsi + - React-jsiexecutor (= 0.74.6) + - React-jsinspector + - React-perflogger (= 0.74.6) + - React-runtimeexecutor + - React-ImageManager (0.74.6): + - glog + - RCT-Folly/Fabric + - React-Core/Default + - React-debug + - React-Fabric + - React-graphics + - React-rendererdebug + - React-utils + - React-jserrorhandler (0.74.6): + - RCT-Folly/Fabric (= 2024.01.01.00) + - React-debug + - React-jsi + - React-Mapbuffer + - React-jsi (0.74.6): + - boost (= 1.83.0) + - DoubleConversion + - fmt (= 9.1.0) + - glog + - hermes-engine + - RCT-Folly (= 2024.01.01.00) + - React-jsiexecutor (0.74.6): + - DoubleConversion + - fmt (= 9.1.0) + - glog + - hermes-engine + - RCT-Folly (= 2024.01.01.00) + - React-cxxreact (= 0.74.6) + - React-jsi (= 0.74.6) + - React-jsinspector + - React-perflogger (= 0.74.6) + - React-jsinspector (0.74.6): + - DoubleConversion + - glog + - hermes-engine + - RCT-Folly (= 2024.01.01.00) + - React-featureflags + - React-jsi + - React-runtimeexecutor (= 0.74.6) + - React-jsitracing (0.74.6): + - React-jsi + - React-logger (0.74.6): + - glog + - React-Mapbuffer (0.74.6): + - glog + - React-debug + - React-nativeconfig (0.74.6) + - React-NativeModulesApple (0.74.6): + - glog + - hermes-engine + - React-callinvoker + - React-Core + - React-cxxreact + - React-jsi + - React-jsinspector + - React-runtimeexecutor + - ReactCommon/turbomodule/bridging + - ReactCommon/turbomodule/core + - React-perflogger (0.74.6) + - React-RCTActionSheet (0.74.6): + - React-Core/RCTActionSheetHeaders (= 0.74.6) + - React-RCTAnimation (0.74.6): + - RCT-Folly (= 2024.01.01.00) + - RCTTypeSafety + - React-Codegen + - React-Core/RCTAnimationHeaders + - React-jsi + - React-NativeModulesApple + - ReactCommon + - React-RCTAppDelegate (0.74.6): + - RCT-Folly (= 2024.01.01.00) + - RCTRequired + - RCTTypeSafety + - React-Codegen + - React-Core + - React-CoreModules + - React-debug + - React-Fabric + - React-featureflags + - React-graphics + - React-hermes + - React-nativeconfig + - React-NativeModulesApple + - React-RCTFabric + - React-RCTImage + - React-RCTNetwork + - React-rendererdebug + - React-RuntimeApple + - React-RuntimeCore + - React-RuntimeHermes + - React-runtimescheduler + - React-utils + - ReactCommon + - React-RCTBlob (0.74.6): + - DoubleConversion + - fmt (= 9.1.0) + - hermes-engine + - RCT-Folly (= 2024.01.01.00) + - React-Codegen + - React-Core/RCTBlobHeaders + - React-Core/RCTWebSocket + - React-jsi + - React-jsinspector + - React-NativeModulesApple + - React-RCTNetwork + - ReactCommon + - React-RCTFabric (0.74.6): + - glog + - hermes-engine + - RCT-Folly/Fabric (= 2024.01.01.00) + - React-Core + - React-debug + - React-Fabric + - React-FabricImage + - React-featureflags + - React-graphics + - React-ImageManager + - React-jsi + - React-jsinspector + - React-nativeconfig + - React-RCTImage + - React-RCTText + - React-rendererdebug + - React-runtimescheduler + - React-utils + - Yoga + - React-RCTImage (0.74.6): + - RCT-Folly (= 2024.01.01.00) + - RCTTypeSafety + - React-Codegen + - React-Core/RCTImageHeaders + - React-jsi + - React-NativeModulesApple + - React-RCTNetwork + - ReactCommon + - React-RCTLinking (0.74.6): + - React-Codegen + - React-Core/RCTLinkingHeaders (= 0.74.6) + - React-jsi (= 0.74.6) + - React-NativeModulesApple + - ReactCommon + - ReactCommon/turbomodule/core (= 0.74.6) + - React-RCTNetwork (0.74.6): + - RCT-Folly (= 2024.01.01.00) + - RCTTypeSafety + - React-Codegen + - React-Core/RCTNetworkHeaders + - React-jsi + - React-NativeModulesApple + - ReactCommon + - React-RCTSettings (0.74.6): + - RCT-Folly (= 2024.01.01.00) + - RCTTypeSafety + - React-Codegen + - React-Core/RCTSettingsHeaders + - React-jsi + - React-NativeModulesApple + - ReactCommon + - React-RCTText (0.74.6): + - React-Core/RCTTextHeaders (= 0.74.6) + - Yoga + - React-RCTVibration (0.74.6): + - RCT-Folly (= 2024.01.01.00) + - React-Codegen + - React-Core/RCTVibrationHeaders + - React-jsi + - React-NativeModulesApple + - ReactCommon + - React-rendererdebug (0.74.6): + - DoubleConversion + - fmt (= 9.1.0) + - RCT-Folly (= 2024.01.01.00) + - React-debug + - React-rncore (0.74.6) + - React-RuntimeApple (0.74.6): + - hermes-engine + - RCT-Folly/Fabric (= 2024.01.01.00) + - React-callinvoker + - React-Core/Default + - React-CoreModules + - React-cxxreact + - React-jserrorhandler + - React-jsi + - React-jsiexecutor + - React-jsinspector + - React-Mapbuffer + - React-NativeModulesApple + - React-RCTFabric + - React-RuntimeCore + - React-runtimeexecutor + - React-RuntimeHermes + - React-utils + - React-RuntimeCore (0.74.6): + - glog + - hermes-engine + - RCT-Folly/Fabric (= 2024.01.01.00) + - React-cxxreact + - React-featureflags + - React-jserrorhandler + - React-jsi + - React-jsiexecutor + - React-jsinspector + - React-runtimeexecutor + - React-runtimescheduler + - React-utils + - React-runtimeexecutor (0.74.6): + - React-jsi (= 0.74.6) + - React-RuntimeHermes (0.74.6): + - hermes-engine + - RCT-Folly/Fabric (= 2024.01.01.00) + - React-featureflags + - React-hermes + - React-jsi + - React-jsinspector + - React-jsitracing + - React-nativeconfig + - React-RuntimeCore + - React-utils + - React-runtimescheduler (0.74.6): + - glog + - hermes-engine + - RCT-Folly (= 2024.01.01.00) + - React-callinvoker + - React-cxxreact + - React-debug + - React-featureflags + - React-jsi + - React-rendererdebug + - React-runtimeexecutor + - React-utils + - React-utils (0.74.6): + - glog + - hermes-engine + - RCT-Folly (= 2024.01.01.00) + - React-debug + - React-jsi (= 0.74.6) + - ReactCommon (0.74.6): + - ReactCommon/turbomodule (= 0.74.6) + - ReactCommon/turbomodule (0.74.6): + - DoubleConversion + - fmt (= 9.1.0) + - glog + - hermes-engine + - RCT-Folly (= 2024.01.01.00) + - React-callinvoker (= 0.74.6) + - React-cxxreact (= 0.74.6) + - React-jsi (= 0.74.6) + - React-logger (= 0.74.6) + - React-perflogger (= 0.74.6) + - ReactCommon/turbomodule/bridging (= 0.74.6) + - ReactCommon/turbomodule/core (= 0.74.6) + - ReactCommon/turbomodule/bridging (0.74.6): + - DoubleConversion + - fmt (= 9.1.0) + - glog + - hermes-engine + - RCT-Folly (= 2024.01.01.00) + - React-callinvoker (= 0.74.6) + - React-cxxreact (= 0.74.6) + - React-jsi (= 0.74.6) + - React-logger (= 0.74.6) + - React-perflogger (= 0.74.6) + - ReactCommon/turbomodule/core (0.74.6): + - DoubleConversion + - fmt (= 9.1.0) + - glog + - hermes-engine + - RCT-Folly (= 2024.01.01.00) + - React-callinvoker (= 0.74.6) + - React-cxxreact (= 0.74.6) + - React-debug (= 0.74.6) + - React-jsi (= 0.74.6) + - React-logger (= 0.74.6) + - React-perflogger (= 0.74.6) + - React-utils (= 0.74.6) + - RNCAsyncStorage (1.24.0): + - React-Core + - SocketRocket (0.7.0) + - Yoga (0.0.0) + +DEPENDENCIES: + - "amplitude-react-native (from `../node_modules/@amplitude/analytics-react-native`)" + - AmplitudeSessionReplay (from `https://github.com/amplitude/AmplitudeSessionReplay-iOS.git`) + - boost (from `../node_modules/react-native/third-party-podspecs/boost.podspec`) + - DoubleConversion (from `../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec`) + - FBLazyVector (from `../node_modules/react-native/Libraries/FBLazyVector`) + - fmt (from `../node_modules/react-native/third-party-podspecs/fmt.podspec`) + - glog (from `../node_modules/react-native/third-party-podspecs/glog.podspec`) + - hermes-engine (from `../node_modules/react-native/sdks/hermes-engine/hermes-engine.podspec`) + - RCT-Folly (from `../node_modules/react-native/third-party-podspecs/RCT-Folly.podspec`) + - RCT-Folly/Fabric (from `../node_modules/react-native/third-party-podspecs/RCT-Folly.podspec`) + - RCTDeprecation (from `../node_modules/react-native/ReactApple/Libraries/RCTFoundation/RCTDeprecation`) + - RCTRequired (from `../node_modules/react-native/Libraries/Required`) + - RCTTypeSafety (from `../node_modules/react-native/Libraries/TypeSafety`) + - React (from `../node_modules/react-native/`) + - React-callinvoker (from `../node_modules/react-native/ReactCommon/callinvoker`) + - React-Codegen (from `build/generated/ios`) + - React-Core (from `../node_modules/react-native/`) + - React-Core/RCTWebSocket (from `../node_modules/react-native/`) + - React-CoreModules (from `../node_modules/react-native/React/CoreModules`) + - React-cxxreact (from `../node_modules/react-native/ReactCommon/cxxreact`) + - React-debug (from `../node_modules/react-native/ReactCommon/react/debug`) + - React-Fabric (from `../node_modules/react-native/ReactCommon`) + - React-FabricImage (from `../node_modules/react-native/ReactCommon`) + - React-featureflags (from `../node_modules/react-native/ReactCommon/react/featureflags`) + - React-graphics (from `../node_modules/react-native/ReactCommon/react/renderer/graphics`) + - React-hermes (from `../node_modules/react-native/ReactCommon/hermes`) + - React-ImageManager (from `../node_modules/react-native/ReactCommon/react/renderer/imagemanager/platform/ios`) + - React-jserrorhandler (from `../node_modules/react-native/ReactCommon/jserrorhandler`) + - React-jsi (from `../node_modules/react-native/ReactCommon/jsi`) + - React-jsiexecutor (from `../node_modules/react-native/ReactCommon/jsiexecutor`) + - React-jsinspector (from `../node_modules/react-native/ReactCommon/jsinspector-modern`) + - React-jsitracing (from `../node_modules/react-native/ReactCommon/hermes/executor/`) + - React-logger (from `../node_modules/react-native/ReactCommon/logger`) + - React-Mapbuffer (from `../node_modules/react-native/ReactCommon`) + - React-nativeconfig (from `../node_modules/react-native/ReactCommon`) + - React-NativeModulesApple (from `../node_modules/react-native/ReactCommon/react/nativemodule/core/platform/ios`) + - React-perflogger (from `../node_modules/react-native/ReactCommon/reactperflogger`) + - React-RCTActionSheet (from `../node_modules/react-native/Libraries/ActionSheetIOS`) + - React-RCTAnimation (from `../node_modules/react-native/Libraries/NativeAnimation`) + - React-RCTAppDelegate (from `../node_modules/react-native/Libraries/AppDelegate`) + - React-RCTBlob (from `../node_modules/react-native/Libraries/Blob`) + - React-RCTFabric (from `../node_modules/react-native/React`) + - React-RCTImage (from `../node_modules/react-native/Libraries/Image`) + - React-RCTLinking (from `../node_modules/react-native/Libraries/LinkingIOS`) + - React-RCTNetwork (from `../node_modules/react-native/Libraries/Network`) + - React-RCTSettings (from `../node_modules/react-native/Libraries/Settings`) + - React-RCTText (from `../node_modules/react-native/Libraries/Text`) + - React-RCTVibration (from `../node_modules/react-native/Libraries/Vibration`) + - React-rendererdebug (from `../node_modules/react-native/ReactCommon/react/renderer/debug`) + - React-rncore (from `../node_modules/react-native/ReactCommon`) + - React-RuntimeApple (from `../node_modules/react-native/ReactCommon/react/runtime/platform/ios`) + - React-RuntimeCore (from `../node_modules/react-native/ReactCommon/react/runtime`) + - React-runtimeexecutor (from `../node_modules/react-native/ReactCommon/runtimeexecutor`) + - React-RuntimeHermes (from `../node_modules/react-native/ReactCommon/react/runtime`) + - React-runtimescheduler (from `../node_modules/react-native/ReactCommon/react/renderer/runtimescheduler`) + - React-utils (from `../node_modules/react-native/ReactCommon/react/utils`) + - ReactCommon/turbomodule/core (from `../node_modules/react-native/ReactCommon`) + - "RNCAsyncStorage (from `../node_modules/@react-native-async-storage/async-storage`)" + - Yoga (from `../node_modules/react-native/ReactCommon/yoga`) + +SPEC REPOS: + trunk: + - SocketRocket + +EXTERNAL SOURCES: + amplitude-react-native: + :path: "../node_modules/@amplitude/analytics-react-native" + AmplitudeSessionReplay: + :git: https://github.com/amplitude/AmplitudeSessionReplay-iOS.git + boost: + :podspec: "../node_modules/react-native/third-party-podspecs/boost.podspec" + DoubleConversion: + :podspec: "../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec" + FBLazyVector: + :path: "../node_modules/react-native/Libraries/FBLazyVector" + fmt: + :podspec: "../node_modules/react-native/third-party-podspecs/fmt.podspec" + glog: + :podspec: "../node_modules/react-native/third-party-podspecs/glog.podspec" + hermes-engine: + :podspec: "../node_modules/react-native/sdks/hermes-engine/hermes-engine.podspec" + :tag: hermes-2024-09-30-RNv0.74.6-6f503f52cbf98b2b37c4d3900e7f1193d6512548 + RCT-Folly: + :podspec: "../node_modules/react-native/third-party-podspecs/RCT-Folly.podspec" + RCTDeprecation: + :path: "../node_modules/react-native/ReactApple/Libraries/RCTFoundation/RCTDeprecation" + RCTRequired: + :path: "../node_modules/react-native/Libraries/Required" + RCTTypeSafety: + :path: "../node_modules/react-native/Libraries/TypeSafety" + React: + :path: "../node_modules/react-native/" + React-callinvoker: + :path: "../node_modules/react-native/ReactCommon/callinvoker" + React-Codegen: + :path: build/generated/ios + React-Core: + :path: "../node_modules/react-native/" + React-CoreModules: + :path: "../node_modules/react-native/React/CoreModules" + React-cxxreact: + :path: "../node_modules/react-native/ReactCommon/cxxreact" + React-debug: + :path: "../node_modules/react-native/ReactCommon/react/debug" + React-Fabric: + :path: "../node_modules/react-native/ReactCommon" + React-FabricImage: + :path: "../node_modules/react-native/ReactCommon" + React-featureflags: + :path: "../node_modules/react-native/ReactCommon/react/featureflags" + React-graphics: + :path: "../node_modules/react-native/ReactCommon/react/renderer/graphics" + React-hermes: + :path: "../node_modules/react-native/ReactCommon/hermes" + React-ImageManager: + :path: "../node_modules/react-native/ReactCommon/react/renderer/imagemanager/platform/ios" + React-jserrorhandler: + :path: "../node_modules/react-native/ReactCommon/jserrorhandler" + React-jsi: + :path: "../node_modules/react-native/ReactCommon/jsi" + React-jsiexecutor: + :path: "../node_modules/react-native/ReactCommon/jsiexecutor" + React-jsinspector: + :path: "../node_modules/react-native/ReactCommon/jsinspector-modern" + React-jsitracing: + :path: "../node_modules/react-native/ReactCommon/hermes/executor/" + React-logger: + :path: "../node_modules/react-native/ReactCommon/logger" + React-Mapbuffer: + :path: "../node_modules/react-native/ReactCommon" + React-nativeconfig: + :path: "../node_modules/react-native/ReactCommon" + React-NativeModulesApple: + :path: "../node_modules/react-native/ReactCommon/react/nativemodule/core/platform/ios" + React-perflogger: + :path: "../node_modules/react-native/ReactCommon/reactperflogger" + React-RCTActionSheet: + :path: "../node_modules/react-native/Libraries/ActionSheetIOS" + React-RCTAnimation: + :path: "../node_modules/react-native/Libraries/NativeAnimation" + React-RCTAppDelegate: + :path: "../node_modules/react-native/Libraries/AppDelegate" + React-RCTBlob: + :path: "../node_modules/react-native/Libraries/Blob" + React-RCTFabric: + :path: "../node_modules/react-native/React" + React-RCTImage: + :path: "../node_modules/react-native/Libraries/Image" + React-RCTLinking: + :path: "../node_modules/react-native/Libraries/LinkingIOS" + React-RCTNetwork: + :path: "../node_modules/react-native/Libraries/Network" + React-RCTSettings: + :path: "../node_modules/react-native/Libraries/Settings" + React-RCTText: + :path: "../node_modules/react-native/Libraries/Text" + React-RCTVibration: + :path: "../node_modules/react-native/Libraries/Vibration" + React-rendererdebug: + :path: "../node_modules/react-native/ReactCommon/react/renderer/debug" + React-rncore: + :path: "../node_modules/react-native/ReactCommon" + React-RuntimeApple: + :path: "../node_modules/react-native/ReactCommon/react/runtime/platform/ios" + React-RuntimeCore: + :path: "../node_modules/react-native/ReactCommon/react/runtime" + React-runtimeexecutor: + :path: "../node_modules/react-native/ReactCommon/runtimeexecutor" + React-RuntimeHermes: + :path: "../node_modules/react-native/ReactCommon/react/runtime" + React-runtimescheduler: + :path: "../node_modules/react-native/ReactCommon/react/renderer/runtimescheduler" + React-utils: + :path: "../node_modules/react-native/ReactCommon/react/utils" + ReactCommon: + :path: "../node_modules/react-native/ReactCommon" + RNCAsyncStorage: + :path: "../node_modules/@react-native-async-storage/async-storage" + Yoga: + :path: "../node_modules/react-native/ReactCommon/yoga" + +CHECKOUT OPTIONS: + AmplitudeSessionReplay: + :commit: 58084d4327aa8fd7e92614b977218ecde096e159 + :git: https://github.com/amplitude/AmplitudeSessionReplay-iOS.git + +SPEC CHECKSUMS: + amplitude-react-native: 3fc003fed8453ac8131703869cc52ea626196a83 + AmplitudeSessionReplay: 0616e34dbd6b261ab70cd44065b4889caf6e92b0 + boost: d3f49c53809116a5d38da093a8aa78bf551aed09 + DoubleConversion: 76ab83afb40bddeeee456813d9c04f67f78771b5 + FBLazyVector: 4b1589d37c9ff4dba11a63083fe7515fad3ac111 + fmt: 4c2741a687cc09f0634a2e2c72a838b99f1ff120 + glog: fdfdfe5479092de0c4bdbebedd9056951f092c4f + hermes-engine: 2102c92e54a031a270fd1fe84169ec8a0901b7bd + RCT-Folly: 02617c592a293bd6d418e0a88ff4ee1f88329b47 + RCTDeprecation: 5f1d7e1f8ef6c53f0207e3ac0d0ca23575e8a6ab + RCTRequired: dcfd24ece09940bbf24b7c2974f4eb68a9baee55 + RCTTypeSafety: 3d65944055cc73f3bb28c3f05c7eaff2bb7ceb83 + React: c5e9f3c07a890a7e2a1ec9b79faa5c53dd7aee01 + React-callinvoker: 9ac986dbbd0e1b3463cb740b12c0b37dbcd15fed + React-Codegen: f5bd8446ba2b7d4a7bb4b25e137f44f286eb98f7 + React-Core: e8de3613460de4f02cdf6a0d726526fe273766b4 + React-CoreModules: 704fd52f83780e1870a946d5c3ea6ea1175aa523 + React-cxxreact: 75572783e7feae5a9f67157ea13968bf5ab274a3 + React-debug: 180e1bf4a97fa4404ee7fb68952cace122aa9d73 + React-Fabric: 1118712bb2dfae21b7d03d5daf419018e867f8e9 + React-FabricImage: 3878f51fa0ac860fb733f0a3c958442a7b5ec587 + React-featureflags: 05fabc5e165fa3864c879556e83a455b8a0573fa + React-graphics: 77bb68d9d913682a23c621df01ab61b2e58a5c70 + React-hermes: e4c48dab6830b282e1b41023cdae9b5c1f7ae075 + React-ImageManager: 6dbe9e5578c03d48b25e646ee65faa63b10e9544 + React-jserrorhandler: 16f7ef986fd20a2d342e5430c9dd0502a4136320 + React-jsi: b34c85593159261ce19f9c5fd0a627b3dc1483c6 + React-jsiexecutor: dcf7df38a296d104b196c193a0111d3f8a46da0b + React-jsinspector: 7dfaff7a0f57d23eeab023fe6a243f7707a14f6d + React-jsitracing: df84cc252a1f4bb0970f7fe13c470451b18c2cbb + React-logger: de9b65c8c7b71a663e6e99d347b1c445f5190c39 + React-Mapbuffer: 766bb4d8f655d816913325b353d800debbde7209 + React-nativeconfig: c36a079fa219a9911070cc0058b746407e1ef47d + React-NativeModulesApple: eab84dd7bda0650f3ce41c53f76ffd49d689763f + React-perflogger: 9f21c9e3d8d220833e649a141fed8e5ca08977d9 + React-RCTActionSheet: 4c1f0dc56952f21a904e9f3bf74253eebee1d1d9 + React-RCTAnimation: 2c0b963d4fd978ce35daa330986a8bc442c7517a + React-RCTAppDelegate: bfb8293aa467aae8a28050e4095b0ceff284cbd5 + React-RCTBlob: a440574d805536c58c0c409cb5058334c8d2886c + React-RCTFabric: 6ea72ddf222ea1e373d0cbac88a1c62355701995 + React-RCTImage: e63bc8abbad2c5a4eda53ff35282d83bc9df7559 + React-RCTLinking: 12c6962253fd2f2494231eb8ae2fecae71e54e2f + React-RCTNetwork: 46df47440bd2bf63b0ca0a3c640471243ed2922a + React-RCTSettings: 5e1dfa02ae2d6cf54b3fdfebaa80837540c50847 + React-RCTText: 1c045a74e4fda674523c932f53bdd15b2a3ba085 + React-RCTVibration: 2ba9de92ae71526b3e02b8b8b2fce5cbf47c393f + React-rendererdebug: acb324f4975412bb14d55b29dd5ca6961b5fa06a + React-rncore: 63db76511a92db6cf9649c9d6567e014b7eeb6f5 + React-RuntimeApple: 6ecb0a470d1ef989895a4e5d31980004378ebf71 + React-RuntimeCore: 2794fdb42f7d37f3c877f614e12a0a240b594815 + React-runtimeexecutor: bf091a7f5f5130daab6d8216aaa290374b214cb8 + React-RuntimeHermes: 73249fcc108708a137119de18c3d40ac5ab90160 + React-runtimescheduler: b63ebebd3e000e0ba4ac19ca69bdac071559ad57 + React-utils: 2955bdc1b2ed495f14dc7d3bfbbb7e3624cfc0fc + ReactCommon: 5c504a77030c7ab89eee75b1725b80d8cee7f5d7 + RNCAsyncStorage: ec53e44dc3e75b44aa2a9f37618a49c3bc080a7a + SocketRocket: abac6f5de4d4d62d24e11868d7a2f427e0ef940d + Yoga: 4f4f07a17818e76d1b04edc01b68b6d49a682100 + +PODFILE CHECKSUM: f4140ea3026f4255b4b250dcf27761805461ecf0 + +COCOAPODS: 1.15.2 diff --git a/examples/react-native/example/ios/SessionReplayPluginModule-Bridging-Header.h b/examples/react-native/example/ios/SessionReplayPluginModule-Bridging-Header.h new file mode 100644 index 000000000..393d7686f --- /dev/null +++ b/examples/react-native/example/ios/SessionReplayPluginModule-Bridging-Header.h @@ -0,0 +1,13 @@ +// +// SessionReplayPluginModule-Bridging-Header.h +// example +// +// Created by Curtis Liu on 10/7/24. +// + +#ifndef SessionReplayPluginModule_Bridging_Header_h +#define SessionReplayPluginModule_Bridging_Header_h + +#import + +#endif /* SessionReplayPluginModule_Bridging_Header_h */ diff --git a/examples/react-native/example/ios/SessionReplayPluginModule.swift b/examples/react-native/example/ios/SessionReplayPluginModule.swift new file mode 100644 index 000000000..ffe5148f1 --- /dev/null +++ b/examples/react-native/example/ios/SessionReplayPluginModule.swift @@ -0,0 +1,58 @@ +// +// SessionReplayPluginModule.swift +// example +// +// Created by Curtis Liu on 10/7/24. +// +import Foundation +import AmplitudeSessionReplay + + +@objc(SessionReplayPluginModule) +class SessionReplayPluginModule: NSObject { + + var sessionReplay: SessionReplay! + + @objc(setup:deviceId:sessionId:) + func setup(_ apiKey: String, deviceId: String, sessionId: NSNumber) -> Void { + print("setup: \(apiKey) \(deviceId) \(sessionId)") + sessionReplay = SessionReplay(apiKey:apiKey, + deviceId: deviceId, + sessionId: sessionId.int64Value, + sampleRate: 1.0, + logger:ConsoleLogger(logLevel: LogLevelEnum.DEBUG.rawValue), + enableRemoteConfig: false) + sessionReplay.start() + } + + @objc(setSessionId:) + func setSessionId(_ sessionId: NSNumber) -> Void { + print("setSessionId: \(sessionId)") + sessionReplay.sessionId = sessionId.int64Value + } + + @objc(getSessionId:reject:) + func getSessionId(_ resolve: RCTPromiseResolveBlock, reject: RCTPromiseRejectBlock) { + print("getSessionId") + resolve(NSNumber(value:sessionReplay.sessionId)) + } + + @objc(getSessionReplayProperties:reject:) + func getSessionReplayProperties(_ resolve: RCTPromiseResolveBlock, reject: RCTPromiseRejectBlock) { + print("getSessionReplayProperties") + resolve(sessionReplay.additionalEventProperties) + } + + @objc(flush) + func flush() -> Void { + print("flush") + sessionReplay.flush() + } + + @objc(teardown) + func teardown() -> Void { + print("teardown") + sessionReplay.stop() + } + +} diff --git a/examples/react-native/example/ios/SessionReplayPluginModuleBridge.m b/examples/react-native/example/ios/SessionReplayPluginModuleBridge.m new file mode 100644 index 000000000..50f0f8fb0 --- /dev/null +++ b/examples/react-native/example/ios/SessionReplayPluginModuleBridge.m @@ -0,0 +1,25 @@ +// +// SessionReplayPluginModule.m +// example +// +// Created by Curtis Liu on 10/7/24. +// +// To export a module named SessionReplayPluginModule +#import + +@interface RCT_EXTERN_MODULE(SessionReplayPluginModule, NSObject) + +RCT_EXTERN_METHOD(setup:(NSString)apiKey deviceId:(NSString)deviceId sessionId:(nonnull NSNumber)sessionId) + +RCT_EXTERN_METHOD(setSessionId:(nonnull NSNumber)) + +RCT_EXTERN_METHOD(getSessionId:(RCTPromiseResolveBlock)resolve reject:(RCTPromiseRejectBlock)reject) + +RCT_EXTERN_METHOD(getSessionReplayProperties:(RCTPromiseResolveBlock)resolve reject:(RCTPromiseRejectBlock)reject) + +RCT_EXTERN_METHOD(flush) + +RCT_EXTERN_METHOD(teardown) + +@end + diff --git a/examples/react-native/example/ios/example.xcodeproj/project.pbxproj b/examples/react-native/example/ios/example.xcodeproj/project.pbxproj index 86c29986c..d992455d2 100644 --- a/examples/react-native/example/ios/example.xcodeproj/project.pbxproj +++ b/examples/react-native/example/ios/example.xcodeproj/project.pbxproj @@ -8,12 +8,19 @@ /* Begin PBXBuildFile section */ 00E356F31AD99517003FC87E /* exampleTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 00E356F21AD99517003FC87E /* exampleTests.m */; }; - 0C80B921A6F3F58F76C31292 /* libPods-example.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 5DCACB8F33CDC322A6C60F78 /* libPods-example.a */; }; + 0909BC8CFF9D9C5CA251DEBB /* libPods-example-exampleTests.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 6CAC68125E6C160187B2C571 /* libPods-example-exampleTests.a */; }; 13B07FBC1A68108700A75B9A /* AppDelegate.mm in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB01A68108700A75B9A /* AppDelegate.mm */; }; 13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB51A68108700A75B9A /* Images.xcassets */; }; 13B07FC11A68108700A75B9A /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB71A68108700A75B9A /* main.m */; }; - 7699B88040F8A987B510C191 /* libPods-example-exampleTests.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 19F6CBCC0A4E27FBF8BF4A61 /* libPods-example-exampleTests.a */; }; + 4A9A6A9249D7FD83BD6B23DF /* PrivacyInfo.xcprivacy in Resources */ = {isa = PBXBuildFile; fileRef = D60549B57041003874336B46 /* PrivacyInfo.xcprivacy */; }; 81AB9BB82411601600AC10FF /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 81AB9BB72411601600AC10FF /* LaunchScreen.storyboard */; }; + CB6BD8C61F288F7D7D97B220 /* libPods-example.a in Frameworks */ = {isa = PBXBuildFile; fileRef = E3B746FCE3A2CC8FB4A14AEB /* libPods-example.a */; }; + E9893D6C2CB489BB00C71048 /* SessionReplayPluginModuleBridge.m in Sources */ = {isa = PBXBuildFile; fileRef = E9893D6B2CB489BB00C71048 /* SessionReplayPluginModuleBridge.m */; }; + E9893D6D2CB489BB00C71048 /* SessionReplayPluginModuleBridge.m in Sources */ = {isa = PBXBuildFile; fileRef = E9893D6B2CB489BB00C71048 /* SessionReplayPluginModuleBridge.m */; }; + E9893D712CB48E7F00C71048 /* SessionReplayPluginModule.swift in Sources */ = {isa = PBXBuildFile; fileRef = E9893D702CB48E7F00C71048 /* SessionReplayPluginModule.swift */; }; + E9893D722CB48E7F00C71048 /* SessionReplayPluginModule.swift in Sources */ = {isa = PBXBuildFile; fileRef = E9893D702CB48E7F00C71048 /* SessionReplayPluginModule.swift */; }; + E9893D742CB499A000C71048 /* ConsoleLogger.swift in Sources */ = {isa = PBXBuildFile; fileRef = E9893D732CB499A000C71048 /* ConsoleLogger.swift */; }; + E9893D752CB499A000C71048 /* ConsoleLogger.swift in Sources */ = {isa = PBXBuildFile; fileRef = E9893D732CB499A000C71048 /* ConsoleLogger.swift */; }; /* End PBXBuildFile section */ /* Begin PBXContainerItemProxy section */ @@ -36,14 +43,19 @@ 13B07FB51A68108700A75B9A /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Images.xcassets; path = example/Images.xcassets; sourceTree = ""; }; 13B07FB61A68108700A75B9A /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = Info.plist; path = example/Info.plist; sourceTree = ""; }; 13B07FB71A68108700A75B9A /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = main.m; path = example/main.m; sourceTree = ""; }; - 13B07FB81A68108700A75B9A /* PrivacyInfo.xcprivacy */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = PrivacyInfo.xcprivacy; path = example/PrivacyInfo.xcprivacy; sourceTree = ""; }; - 19F6CBCC0A4E27FBF8BF4A61 /* libPods-example-exampleTests.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-example-exampleTests.a"; sourceTree = BUILT_PRODUCTS_DIR; }; + 13B07FB81A68108700A75B9A /* PrivacyInfo.xcprivacy */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = PrivacyInfo.xcprivacy; path = example/PrivacyInfo.xcprivacy; sourceTree = ""; }; 3B4392A12AC88292D35C810B /* Pods-example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-example.debug.xcconfig"; path = "Target Support Files/Pods-example/Pods-example.debug.xcconfig"; sourceTree = ""; }; 5709B34CF0A7D63546082F79 /* Pods-example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-example.release.xcconfig"; path = "Target Support Files/Pods-example/Pods-example.release.xcconfig"; sourceTree = ""; }; 5B7EB9410499542E8C5724F5 /* Pods-example-exampleTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-example-exampleTests.debug.xcconfig"; path = "Target Support Files/Pods-example-exampleTests/Pods-example-exampleTests.debug.xcconfig"; sourceTree = ""; }; - 5DCACB8F33CDC322A6C60F78 /* libPods-example.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-example.a"; sourceTree = BUILT_PRODUCTS_DIR; }; + 6CAC68125E6C160187B2C571 /* libPods-example-exampleTests.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-example-exampleTests.a"; sourceTree = BUILT_PRODUCTS_DIR; }; 81AB9BB72411601600AC10FF /* LaunchScreen.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; name = LaunchScreen.storyboard; path = example/LaunchScreen.storyboard; sourceTree = ""; }; 89C6BE57DB24E9ADA2F236DE /* Pods-example-exampleTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-example-exampleTests.release.xcconfig"; path = "Target Support Files/Pods-example-exampleTests/Pods-example-exampleTests.release.xcconfig"; sourceTree = ""; }; + D60549B57041003874336B46 /* PrivacyInfo.xcprivacy */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xml; name = PrivacyInfo.xcprivacy; path = example/PrivacyInfo.xcprivacy; sourceTree = ""; }; + E3B746FCE3A2CC8FB4A14AEB /* libPods-example.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-example.a"; sourceTree = BUILT_PRODUCTS_DIR; }; + E9893D6B2CB489BB00C71048 /* SessionReplayPluginModuleBridge.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = SessionReplayPluginModuleBridge.m; sourceTree = ""; }; + E9893D702CB48E7F00C71048 /* SessionReplayPluginModule.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SessionReplayPluginModule.swift; sourceTree = ""; }; + E9893D732CB499A000C71048 /* ConsoleLogger.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ConsoleLogger.swift; sourceTree = ""; }; + E9893D762CB4C38700C71048 /* SessionReplayPluginModule-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "SessionReplayPluginModule-Bridging-Header.h"; sourceTree = ""; }; ED297162215061F000B7C4FE /* JavaScriptCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = JavaScriptCore.framework; path = System/Library/Frameworks/JavaScriptCore.framework; sourceTree = SDKROOT; }; /* End PBXFileReference section */ @@ -52,7 +64,7 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( - 7699B88040F8A987B510C191 /* libPods-example-exampleTests.a in Frameworks */, + 0909BC8CFF9D9C5CA251DEBB /* libPods-example-exampleTests.a in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -60,7 +72,7 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( - 0C80B921A6F3F58F76C31292 /* libPods-example.a in Frameworks */, + CB6BD8C61F288F7D7D97B220 /* libPods-example.a in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -94,6 +106,11 @@ 81AB9BB72411601600AC10FF /* LaunchScreen.storyboard */, 13B07FB71A68108700A75B9A /* main.m */, 13B07FB81A68108700A75B9A /* PrivacyInfo.xcprivacy */, + D60549B57041003874336B46 /* PrivacyInfo.xcprivacy */, + E9893D6B2CB489BB00C71048 /* SessionReplayPluginModuleBridge.m */, + E9893D702CB48E7F00C71048 /* SessionReplayPluginModule.swift */, + E9893D732CB499A000C71048 /* ConsoleLogger.swift */, + E9893D762CB4C38700C71048 /* SessionReplayPluginModule-Bridging-Header.h */, ); name = example; sourceTree = ""; @@ -102,8 +119,8 @@ isa = PBXGroup; children = ( ED297162215061F000B7C4FE /* JavaScriptCore.framework */, - 5DCACB8F33CDC322A6C60F78 /* libPods-example.a */, - 19F6CBCC0A4E27FBF8BF4A61 /* libPods-example-exampleTests.a */, + E3B746FCE3A2CC8FB4A14AEB /* libPods-example.a */, + 6CAC68125E6C160187B2C571 /* libPods-example-exampleTests.a */, ); name = Frameworks; sourceTree = ""; @@ -205,10 +222,11 @@ TargetAttributes = { 00E356ED1AD99517003FC87E = { CreatedOnToolsVersion = 6.2; + LastSwiftMigration = 1540; TestTargetID = 13B07F861A680F5B00A75B9A; }; 13B07F861A680F5B00A75B9A = { - LastSwiftMigration = 1120; + LastSwiftMigration = 1540; }; }; }; @@ -245,6 +263,7 @@ files = ( 81AB9BB82411601600AC10FF /* LaunchScreen.storyboard in Resources */, 13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */, + 4A9A6A9249D7FD83BD6B23DF /* PrivacyInfo.xcprivacy in Resources */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -386,7 +405,10 @@ isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; files = ( + E9893D6D2CB489BB00C71048 /* SessionReplayPluginModuleBridge.m in Sources */, + E9893D752CB499A000C71048 /* ConsoleLogger.swift in Sources */, 00E356F31AD99517003FC87E /* exampleTests.m in Sources */, + E9893D722CB48E7F00C71048 /* SessionReplayPluginModule.swift in Sources */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -394,8 +416,11 @@ isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; files = ( + E9893D712CB48E7F00C71048 /* SessionReplayPluginModule.swift in Sources */, 13B07FBC1A68108700A75B9A /* AppDelegate.mm in Sources */, 13B07FC11A68108700A75B9A /* main.m in Sources */, + E9893D742CB499A000C71048 /* ConsoleLogger.swift in Sources */, + E9893D6C2CB489BB00C71048 /* SessionReplayPluginModuleBridge.m in Sources */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -414,7 +439,9 @@ isa = XCBuildConfiguration; baseConfigurationReference = 5B7EB9410499542E8C5724F5 /* Pods-example-exampleTests.debug.xcconfig */; buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; BUNDLE_LOADER = "$(TEST_HOST)"; + CLANG_ENABLE_MODULES = YES; GCC_PREPROCESSOR_DEFINITIONS = ( "DEBUG=1", "$(inherited)", @@ -433,6 +460,9 @@ ); PRODUCT_BUNDLE_IDENTIFIER = "org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)"; PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_OBJC_BRIDGING_HEADER = "SessionReplayPluginModule-Bridging-Header.h"; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + SWIFT_VERSION = 5.0; TEST_HOST = "$(BUILT_PRODUCTS_DIR)/example.app/example"; }; name = Debug; @@ -441,7 +471,9 @@ isa = XCBuildConfiguration; baseConfigurationReference = 89C6BE57DB24E9ADA2F236DE /* Pods-example-exampleTests.release.xcconfig */; buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; BUNDLE_LOADER = "$(TEST_HOST)"; + CLANG_ENABLE_MODULES = YES; COPY_PHASE_STRIP = NO; INFOPLIST_FILE = exampleTests/Info.plist; IPHONEOS_DEPLOYMENT_TARGET = 13.4; @@ -457,6 +489,8 @@ ); PRODUCT_BUNDLE_IDENTIFIER = "org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)"; PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_OBJC_BRIDGING_HEADER = "SessionReplayPluginModule-Bridging-Header.h"; + SWIFT_VERSION = 5.0; TEST_HOST = "$(BUILT_PRODUCTS_DIR)/example.app/example"; }; name = Release; @@ -470,6 +504,7 @@ CURRENT_PROJECT_VERSION = 1; ENABLE_BITCODE = NO; INFOPLIST_FILE = example/Info.plist; + IPHONEOS_DEPLOYMENT_TARGET = 16.6; LD_RUNPATH_SEARCH_PATHS = ( "$(inherited)", "@executable_path/Frameworks", @@ -482,6 +517,7 @@ ); PRODUCT_BUNDLE_IDENTIFIER = "org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)"; PRODUCT_NAME = example; + SWIFT_OBJC_BRIDGING_HEADER = "SessionReplayPluginModule-Bridging-Header.h"; SWIFT_OPTIMIZATION_LEVEL = "-Onone"; SWIFT_VERSION = 5.0; VERSIONING_SYSTEM = "apple-generic"; @@ -496,6 +532,7 @@ CLANG_ENABLE_MODULES = YES; CURRENT_PROJECT_VERSION = 1; INFOPLIST_FILE = example/Info.plist; + IPHONEOS_DEPLOYMENT_TARGET = 16.6; LD_RUNPATH_SEARCH_PATHS = ( "$(inherited)", "@executable_path/Frameworks", @@ -508,6 +545,7 @@ ); PRODUCT_BUNDLE_IDENTIFIER = "org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)"; PRODUCT_NAME = example; + SWIFT_OBJC_BRIDGING_HEADER = "SessionReplayPluginModule-Bridging-Header.h"; SWIFT_VERSION = 5.0; VERSIONING_SYSTEM = "apple-generic"; }; @@ -517,6 +555,7 @@ isa = XCBuildConfiguration; buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; + CC = ""; CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES; CLANG_CXX_LANGUAGE_STANDARD = "c++20"; CLANG_CXX_LIBRARY = "libc++"; @@ -544,6 +583,7 @@ CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; COPY_PHASE_STRIP = NO; + CXX = ""; ENABLE_STRICT_OBJC_MSGSEND = YES; ENABLE_TESTABILITY = YES; "EXCLUDED_ARCHS[sdk=iphonesimulator*]" = ""; @@ -562,7 +602,20 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; + HEADER_SEARCH_PATHS = ( + "$(inherited)", + "${PODS_CONFIGURATION_BUILD_DIR}/ReactCommon/ReactCommon.framework/Headers", + "${PODS_CONFIGURATION_BUILD_DIR}/ReactCommon/ReactCommon.framework/Headers/react/nativemodule/core", + "${PODS_CONFIGURATION_BUILD_DIR}/ReactCommon-Samples/ReactCommon_Samples.framework/Headers", + "${PODS_CONFIGURATION_BUILD_DIR}/ReactCommon-Samples/ReactCommon_Samples.framework/Headers/platform/ios", + "${PODS_CONFIGURATION_BUILD_DIR}/React-Fabric/React_Fabric.framework/Headers/react/renderer/components/view/platform/cxx", + "${PODS_CONFIGURATION_BUILD_DIR}/React-NativeModulesApple/React_NativeModulesApple.framework/Headers", + "${PODS_CONFIGURATION_BUILD_DIR}/React-graphics/React_graphics.framework/Headers", + "${PODS_CONFIGURATION_BUILD_DIR}/React-graphics/React_graphics.framework/Headers/react/renderer/graphics/platform/ios", + ); IPHONEOS_DEPLOYMENT_TARGET = 13.4; + LD = ""; + LDPLUSPLUS = ""; LD_RUNPATH_SEARCH_PATHS = ( /usr/lib/swift, "$(inherited)", @@ -582,7 +635,11 @@ "-DFOLLY_CFG_NO_COROUTINES=1", "-DFOLLY_HAVE_CLOCK_GETTIME=1", ); + OTHER_LDFLAGS = "$(inherited) "; + REACT_NATIVE_PATH = "${PODS_ROOT}/../../node_modules/react-native"; SDKROOT = iphoneos; + SWIFT_OBJC_BRIDGING_HEADER = ""; + USE_HERMES = true; }; name = Debug; }; @@ -590,6 +647,7 @@ isa = XCBuildConfiguration; buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; + CC = ""; CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES; CLANG_CXX_LANGUAGE_STANDARD = "c++20"; CLANG_CXX_LIBRARY = "libc++"; @@ -617,6 +675,7 @@ CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; COPY_PHASE_STRIP = YES; + CXX = ""; ENABLE_NS_ASSERTIONS = NO; ENABLE_STRICT_OBJC_MSGSEND = YES; "EXCLUDED_ARCHS[sdk=iphonesimulator*]" = ""; @@ -628,7 +687,20 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; + HEADER_SEARCH_PATHS = ( + "$(inherited)", + "${PODS_CONFIGURATION_BUILD_DIR}/ReactCommon/ReactCommon.framework/Headers", + "${PODS_CONFIGURATION_BUILD_DIR}/ReactCommon/ReactCommon.framework/Headers/react/nativemodule/core", + "${PODS_CONFIGURATION_BUILD_DIR}/ReactCommon-Samples/ReactCommon_Samples.framework/Headers", + "${PODS_CONFIGURATION_BUILD_DIR}/ReactCommon-Samples/ReactCommon_Samples.framework/Headers/platform/ios", + "${PODS_CONFIGURATION_BUILD_DIR}/React-Fabric/React_Fabric.framework/Headers/react/renderer/components/view/platform/cxx", + "${PODS_CONFIGURATION_BUILD_DIR}/React-NativeModulesApple/React_NativeModulesApple.framework/Headers", + "${PODS_CONFIGURATION_BUILD_DIR}/React-graphics/React_graphics.framework/Headers", + "${PODS_CONFIGURATION_BUILD_DIR}/React-graphics/React_graphics.framework/Headers/react/renderer/graphics/platform/ios", + ); IPHONEOS_DEPLOYMENT_TARGET = 13.4; + LD = ""; + LDPLUSPLUS = ""; LD_RUNPATH_SEARCH_PATHS = ( /usr/lib/swift, "$(inherited)", @@ -647,7 +719,11 @@ "-DFOLLY_CFG_NO_COROUTINES=1", "-DFOLLY_HAVE_CLOCK_GETTIME=1", ); + OTHER_LDFLAGS = "$(inherited) "; + REACT_NATIVE_PATH = "${PODS_ROOT}/../../node_modules/react-native"; SDKROOT = iphoneos; + SWIFT_OBJC_BRIDGING_HEADER = ""; + USE_HERMES = true; VALIDATE_PRODUCT = YES; }; name = Release; diff --git a/examples/react-native/example/ios/example.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/examples/react-native/example/ios/example.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist new file mode 100644 index 000000000..18d981003 --- /dev/null +++ b/examples/react-native/example/ios/example.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist @@ -0,0 +1,8 @@ + + + + + IDEDidComputeMac32BitWarning + + + diff --git a/examples/react-native/example/ios/example.xcworkspace/contents.xcworkspacedata b/examples/react-native/example/ios/example.xcworkspace/contents.xcworkspacedata new file mode 100644 index 000000000..7f5c3aab5 --- /dev/null +++ b/examples/react-native/example/ios/example.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,10 @@ + + + + + + + diff --git a/examples/react-native/example/ios/example.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/examples/react-native/example/ios/example.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist new file mode 100644 index 000000000..18d981003 --- /dev/null +++ b/examples/react-native/example/ios/example.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist @@ -0,0 +1,8 @@ + + + + + IDEDidComputeMac32BitWarning + + + diff --git a/examples/react-native/example/ios/example/PrivacyInfo.xcprivacy b/examples/react-native/example/ios/example/PrivacyInfo.xcprivacy index ef1896e70..41b8317f0 100644 --- a/examples/react-native/example/ios/example/PrivacyInfo.xcprivacy +++ b/examples/react-native/example/ios/example/PrivacyInfo.xcprivacy @@ -2,37 +2,36 @@ - NSPrivacyCollectedDataTypes - - - NSPrivacyAccessedAPITypes - - - NSPrivacyAccessedAPIType - NSPrivacyAccessedAPICategoryFileTimestamp - NSPrivacyAccessedAPITypeReasons - - C617.1 - - - - NSPrivacyAccessedAPIType - NSPrivacyAccessedAPICategoryUserDefaults - NSPrivacyAccessedAPITypeReasons - - CA92.1 - - - - NSPrivacyAccessedAPIType - NSPrivacyAccessedAPICategorySystemBootTime - NSPrivacyAccessedAPITypeReasons - - 35F9.1 - - - - NSPrivacyTracking - + NSPrivacyAccessedAPITypes + + + NSPrivacyAccessedAPIType + NSPrivacyAccessedAPICategoryFileTimestamp + NSPrivacyAccessedAPITypeReasons + + C617.1 + + + + NSPrivacyAccessedAPIType + NSPrivacyAccessedAPICategoryUserDefaults + NSPrivacyAccessedAPITypeReasons + + CA92.1 + + + + NSPrivacyAccessedAPIType + NSPrivacyAccessedAPICategorySystemBootTime + NSPrivacyAccessedAPITypeReasons + + 35F9.1 + + + + NSPrivacyCollectedDataTypes + + NSPrivacyTracking +