Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(ios): Bump sentry-cocoa to 6.0.8 and remove private imports #1188

Merged
merged 5 commits into from
Nov 16, 2020
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

## Unreleased

- build(ios): Bump `sentry-cocoa` to 6.0.8. #1188
- fix(ios): Remove private imports and call `storeEnvelope` on the client. #1188
- fix(ios): Lock specific version in podspec. #1188

## 2.0.0

- build(android): Changes android package name from `io.sentry.RNSentryPackage` to `io.sentry.react.RNSentryPackage` (Breaking). #1131
Expand Down
2 changes: 1 addition & 1 deletion RNSentry.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Pod::Spec.new do |s|
s.preserve_paths = '*.js'

s.dependency 'React-Core'
s.dependency 'Sentry', '~> 6.0.3'
s.dependency 'Sentry', '6.0.8'

s.source_files = 'ios/RNSentry.{h,m}'
s.public_header_files = 'ios/RNSentry.h'
Expand Down
4 changes: 1 addition & 3 deletions ios/RNSentry.m
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@
#endif

#import <Sentry/Sentry.h>
#import <Sentry/SentrySdkInfo.h>
#import <Sentry/SentryFileManager.h>

@interface RNSentry()

Expand Down Expand Up @@ -148,7 +146,7 @@ + (BOOL)requiresMainQueueSetup {
// Storing to disk happens asynchronously with captureEnvelope
// We need to make sure the event is written to disk before resolving the promise.
// This could be replaced by SentrySDK.flush() when available.
[[[[SentrySDK currentHub] getClient] fileManager] storeEnvelope:envelope];
[[[SentrySDK currentHub] getClient] storeEnvelope:envelope];
} else {
[[[SentrySDK currentHub] getClient] captureEnvelope: envelope];
jennmueng marked this conversation as resolved.
Show resolved Hide resolved
}
Expand Down
16 changes: 8 additions & 8 deletions sample/ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -296,12 +296,12 @@ PODS:
- React-Core (= 0.63.1)
- React-cxxreact (= 0.63.1)
- React-jsi (= 0.63.1)
- RNSentry (1.9.0):
- RNSentry (2.0.0):
- React-Core
- Sentry (~> 6.0.3)
- Sentry (6.0.3):
- Sentry/Core (= 6.0.3)
- Sentry/Core (6.0.3)
- Sentry (= 6.0.8)
- Sentry (6.0.8):
- Sentry/Core (= 6.0.8)
- Sentry/Core (6.0.8)
- Yoga (1.14.0)
- YogaKit (1.18.1):
- Yoga (~> 1.14)
Expand Down Expand Up @@ -465,11 +465,11 @@ SPEC CHECKSUMS:
React-RCTText: 4f95d322b7e6da72817284abf8a2cdcec18b9cd8
React-RCTVibration: f3a9123c244f35c40d3c9f3ec3f0b9e5717bb292
ReactCommon: 2905859f84a94a381bb0d8dd3921ccb1a0047cb8
RNSentry: 967713f6aac06484165449067160494529cb90d3
Sentry: 286e33636e0be9b559e2ebe2eae63ec53f83816e
RNSentry: 1c93d9d6b68748a6857d49e26c3e88fbe983caba
Sentry: 6ab9f44a413dec7ebf5e82b166048afb5f60b895
Yoga: d5bd05a2b6b94c52323745c2c2b64557c8c66f64
YogaKit: f782866e155069a2cca2517aafea43200b01fd5a

PODFILE CHECKSUM: 9d75e167307300a63add2b53a03e1d19bb02cd35

COCOAPODS: 1.9.3
COCOAPODS: 1.9.2