Skip to content

Commit

Permalink
Bump iOS SDK to v2.14.1
Browse files Browse the repository at this point in the history
  • Loading branch information
marco-saia-datadog committed Jul 18, 2024
1 parent 6d7b1a9 commit 3bc8647
Show file tree
Hide file tree
Showing 7 changed files with 85 additions and 73 deletions.
54 changes: 27 additions & 27 deletions example-new-architecture/ios/Podfile.lock
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
PODS:
- boost (1.83.0)
- CocoaAsyncSocket (7.6.5)
- DatadogCore (2.13.0):
- DatadogInternal (= 2.13.0)
- DatadogCrashReporting (2.13.0):
- DatadogInternal (= 2.13.0)
- DatadogCore (2.14.1):
- DatadogInternal (= 2.14.1)
- DatadogCrashReporting (2.14.1):
- DatadogInternal (= 2.14.1)
- PLCrashReporter (~> 1.11.2)
- DatadogInternal (2.13.0)
- DatadogLogs (2.13.0):
- DatadogInternal (= 2.13.0)
- DatadogRUM (2.13.0):
- DatadogInternal (= 2.13.0)
- DatadogInternal (2.14.1)
- DatadogLogs (2.14.1):
- DatadogInternal (= 2.14.1)
- DatadogRUM (2.14.1):
- DatadogInternal (= 2.14.1)
- DatadogSDKReactNative (2.4.1):
- DatadogCore (~> 2.13.0)
- DatadogCrashReporting (~> 2.13.0)
- DatadogLogs (~> 2.13.0)
- DatadogRUM (~> 2.13.0)
- DatadogTrace (~> 2.13.0)
- DatadogWebViewTracking (~> 2.13.0)
- DatadogCore (~> 2.14.1)
- DatadogCrashReporting (~> 2.14.1)
- DatadogLogs (~> 2.14.1)
- DatadogRUM (~> 2.14.1)
- DatadogTrace (~> 2.14.1)
- DatadogWebViewTracking (~> 2.14.1)
- glog
- hermes-engine
- RCT-Folly (= 2022.05.16.00)
Expand All @@ -36,11 +36,11 @@ PODS:
- ReactCommon/turbomodule/bridging
- ReactCommon/turbomodule/core
- Yoga
- DatadogTrace (2.13.0):
- DatadogInternal (= 2.13.0)
- DatadogTrace (2.14.1):
- DatadogInternal (= 2.14.1)
- OpenTelemetrySwiftApi (= 1.6.0)
- DatadogWebViewTracking (2.13.0):
- DatadogInternal (= 2.13.0)
- DatadogWebViewTracking (2.14.1):
- DatadogInternal (= 2.14.1)
- DoubleConversion (1.1.6)
- FBLazyVector (0.73.6)
- Flipper (0.201.0):
Expand Down Expand Up @@ -1411,14 +1411,14 @@ EXTERNAL SOURCES:
SPEC CHECKSUMS:
boost: d3f49c53809116a5d38da093a8aa78bf551aed09
CocoaAsyncSocket: 065fd1e645c7abab64f7a6a2007a48038fdc6a99
DatadogCore: 9390fd07a89f57a23983de66fbec5bf3c2034f7a
DatadogCrashReporting: 79b67b790df186524fc76d45c0b8ce751c36ef41
DatadogInternal: 61ab12516d2faad79e35973534c29a72b0d44382
DatadogLogs: 912d7b3fd3d75df856de060082b785f92f7cefe6
DatadogRUM: b5629479d4553d80f2a57ef9db44ce37e56f8b97
DatadogSDKReactNative: 19af4558894a7670285348949a294c02850dd79f
DatadogTrace: 1f40893de00c9a9b87be46fa7016fa0d50c4e66b
DatadogWebViewTracking: d1e2e755bb2ed7c18208471b9cbcfc7cb920aa45
DatadogCore: c0591cad03f97673dc6f9b1c56f85a81fc0868c6
DatadogCrashReporting: b18e2eb9f9e4c91a2acd38451ca86a5c9fe7e9d8
DatadogInternal: 9d326664fe7aaef4c159aaf19a32cd2675b4c5fe
DatadogLogs: d97eff8fba4541fad3bfaa8e8bcf8a272d246537
DatadogRUM: 2c4d698619557aad6bf031178a046a70799b561d
DatadogSDKReactNative: 5fe944d29e8f376d82c0ee920b1b4985028e9cf2
DatadogTrace: 18adb831078595a21210fdb7aad1db379e90dac1
DatadogWebViewTracking: 5306fb6a663df6c1579c2eacf95c95d05735bb18
DoubleConversion: fea03f2699887d960129cc54bba7e52542b6f953
FBLazyVector: f64d1e2ea739b4d8f7e4740cde18089cd97fe864
Flipper: c7a0093234c4bdd456e363f2f19b2e4b27652d44
Expand Down
78 changes: 39 additions & 39 deletions example/ios/Podfile.lock
Original file line number Diff line number Diff line change
@@ -1,47 +1,47 @@
PODS:
- boost (1.83.0)
- DatadogCore (2.13.0):
- DatadogInternal (= 2.13.0)
- DatadogCrashReporting (2.13.0):
- DatadogInternal (= 2.13.0)
- DatadogCore (2.14.1):
- DatadogInternal (= 2.14.1)
- DatadogCrashReporting (2.14.1):
- DatadogInternal (= 2.14.1)
- PLCrashReporter (~> 1.11.2)
- DatadogInternal (2.13.0)
- DatadogLogs (2.13.0):
- DatadogInternal (= 2.13.0)
- DatadogRUM (2.13.0):
- DatadogInternal (= 2.13.0)
- DatadogInternal (2.14.1)
- DatadogLogs (2.14.1):
- DatadogInternal (= 2.14.1)
- DatadogRUM (2.14.1):
- DatadogInternal (= 2.14.1)
- DatadogSDKReactNative (2.4.1):
- DatadogCore (~> 2.13.0)
- DatadogCrashReporting (~> 2.13.0)
- DatadogLogs (~> 2.13.0)
- DatadogRUM (~> 2.13.0)
- DatadogTrace (~> 2.13.0)
- DatadogWebViewTracking (~> 2.13.0)
- DatadogCore (~> 2.14.1)
- DatadogCrashReporting (~> 2.14.1)
- DatadogLogs (~> 2.14.1)
- DatadogRUM (~> 2.14.1)
- DatadogTrace (~> 2.14.1)
- DatadogWebViewTracking (~> 2.14.1)
- React-Core
- DatadogSDKReactNative/Tests (2.4.1):
- DatadogCore (~> 2.13.0)
- DatadogCrashReporting (~> 2.13.0)
- DatadogLogs (~> 2.13.0)
- DatadogRUM (~> 2.13.0)
- DatadogTrace (~> 2.13.0)
- DatadogWebViewTracking (~> 2.13.0)
- DatadogCore (~> 2.14.1)
- DatadogCrashReporting (~> 2.14.1)
- DatadogLogs (~> 2.14.1)
- DatadogRUM (~> 2.14.1)
- DatadogTrace (~> 2.14.1)
- DatadogWebViewTracking (~> 2.14.1)
- React-Core
- DatadogSDKReactNativeSessionReplay (2.4.1-alpha.0):
- DatadogSDKReactNative
- DatadogSessionReplay (~> 2.13.0)
- DatadogSessionReplay (~> 2.14.1)
- React-Core
- DatadogSDKReactNativeSessionReplay/Tests (2.4.1-alpha.0):
- DatadogSDKReactNative
- DatadogSessionReplay (~> 2.13.0)
- DatadogSessionReplay (~> 2.14.1)
- React-Core
- React-RCTText
- DatadogSessionReplay (2.13.0):
- DatadogInternal (= 2.13.0)
- DatadogTrace (2.13.0):
- DatadogInternal (= 2.13.0)
- DatadogSessionReplay (2.14.1):
- DatadogInternal (= 2.14.1)
- DatadogTrace (2.14.1):
- DatadogInternal (= 2.14.1)
- OpenTelemetrySwiftApi (= 1.6.0)
- DatadogWebViewTracking (2.13.0):
- DatadogInternal (= 2.13.0)
- DatadogWebViewTracking (2.14.1):
- DatadogInternal (= 2.14.1)
- DoubleConversion (1.1.6)
- FBLazyVector (0.73.6)
- FBReactNativeSpec (0.73.6):
Expand Down Expand Up @@ -1326,16 +1326,16 @@ EXTERNAL SOURCES:

SPEC CHECKSUMS:
boost: d3f49c53809116a5d38da093a8aa78bf551aed09
DatadogCore: 9390fd07a89f57a23983de66fbec5bf3c2034f7a
DatadogCrashReporting: 79b67b790df186524fc76d45c0b8ce751c36ef41
DatadogInternal: 61ab12516d2faad79e35973534c29a72b0d44382
DatadogLogs: 912d7b3fd3d75df856de060082b785f92f7cefe6
DatadogRUM: b5629479d4553d80f2a57ef9db44ce37e56f8b97
DatadogSDKReactNative: 0101462ddda14f13470dfe05cca244c190bb1fac
DatadogSDKReactNativeSessionReplay: 001da6d4a0c0d3720c290d34b1bb1239c92ec198
DatadogSessionReplay: 2e7795c1a8a86ff989ed5c0ccd616eed0f6c9a3a
DatadogTrace: 1f40893de00c9a9b87be46fa7016fa0d50c4e66b
DatadogWebViewTracking: d1e2e755bb2ed7c18208471b9cbcfc7cb920aa45
DatadogCore: c0591cad03f97673dc6f9b1c56f85a81fc0868c6
DatadogCrashReporting: b18e2eb9f9e4c91a2acd38451ca86a5c9fe7e9d8
DatadogInternal: 9d326664fe7aaef4c159aaf19a32cd2675b4c5fe
DatadogLogs: d97eff8fba4541fad3bfaa8e8bcf8a272d246537
DatadogRUM: 2c4d698619557aad6bf031178a046a70799b561d
DatadogSDKReactNative: b8c3d66cacacabdcb8859412c232d2cc39e2a71f
DatadogSDKReactNativeSessionReplay: 6178d72df530a9cdc963b3870354ce548645d3ae
DatadogSessionReplay: 1a9597ff672b32a2b7cb1bed24fa29a584386807
DatadogTrace: 18adb831078595a21210fdb7aad1db379e90dac1
DatadogWebViewTracking: 5306fb6a663df6c1579c2eacf95c95d05735bb18
DoubleConversion: fea03f2699887d960129cc54bba7e52542b6f953
FBLazyVector: f64d1e2ea739b4d8f7e4740cde18089cd97fe864
FBReactNativeSpec: 9f2b8b243131565335437dba74923a8d3015e780
Expand Down
12 changes: 6 additions & 6 deletions packages/core/DatadogSDKReactNative.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@ Pod::Spec.new do |s|
s.dependency "React-Core"

# /!\ Remember to keep the versions in sync with DatadogSDKReactNativeSessionReplay.podspec
s.dependency 'DatadogCore', '~> 2.13.0'
s.dependency 'DatadogLogs', '~> 2.13.0'
s.dependency 'DatadogTrace', '~> 2.13.0'
s.dependency 'DatadogRUM', '~> 2.13.0'
s.dependency 'DatadogCrashReporting', '~> 2.13.0'
s.dependency 'DatadogWebViewTracking', '~> 2.13.0'
s.dependency 'DatadogCore', '~> 2.14.1'
s.dependency 'DatadogLogs', '~> 2.14.1'
s.dependency 'DatadogTrace', '~> 2.14.1'
s.dependency 'DatadogRUM', '~> 2.14.1'
s.dependency 'DatadogCrashReporting', '~> 2.14.1'
s.dependency 'DatadogWebViewTracking', '~> 2.14.1'

s.test_spec 'Tests' do |test_spec|
test_spec.source_files = 'ios/Tests/**/*.{swift,json}'
Expand Down
4 changes: 4 additions & 0 deletions packages/core/ios/Tests/MockDatadogCore.swift
Original file line number Diff line number Diff line change
Expand Up @@ -46,5 +46,9 @@ internal class MockDatadogCore: DatadogCoreProtocol {
func set(baggage: @escaping () -> DatadogInternal.FeatureBaggage?, forKey key: String) {
baggages[key] = baggage
}

func mostRecentModifiedFileAt(before: Date) throws -> Date? {
return nil
}
}

Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,10 @@ internal class DatadogCoreProxy: DatadogCoreProtocol {
func send(message: FeatureMessage, else fallback: @escaping () -> Void) {
core.send(message: message, else: fallback)
}

func mostRecentModifiedFileAt(before: Date) throws -> Date? {
return try core.mostRecentModifiedFileAt(before: before)
}
}

private struct FeatureScopeProxy: FeatureScope {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Pod::Spec.new do |s|
s.dependency "React-Core"

# /!\ Remember to keep the version in sync with DatadogSDKReactNative.podspec
s.dependency 'DatadogSessionReplay', '~> 2.13.0'
s.dependency 'DatadogSessionReplay', '~> 2.14.1'
s.dependency 'DatadogSDKReactNative'

s.test_spec 'Tests' do |test_spec|
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,10 @@ private class MockSessionReplay: SessionReplayProtocol {
private class MockUIManager: RCTUIManager {}

private class MockDatadogCore: DatadogCoreProtocol {
func mostRecentModifiedFileAt(before: Date) throws -> Date? {
return nil
}

func scope<T>(for featureType: T.Type) -> any DatadogInternal.FeatureScope where T : DatadogInternal.DatadogFeature {
return NOPFeatureScope()
}
Expand Down

0 comments on commit 3bc8647

Please sign in to comment.