remove expo-sentry (#5405)

This commit is contained in:
Hailey 2024-09-18 09:34:29 -07:00 committed by GitHub
parent f45f7148ee
commit 41d4b2c7ef
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 23 additions and 263 deletions

View file

@ -13,19 +13,3 @@ index 7e0b4cd..177454c 100644
}
//# sourceMappingURL=ignorerequirecyclelogs.js.map
\ No newline at end of file
diff --git a/node_modules/@sentry/react-native/ios/RNSentry.mm b/node_modules/@sentry/react-native/ios/RNSentry.mm
index 392869c..29bcd8b 100644
--- a/node_modules/@sentry/react-native/ios/RNSentry.mm
+++ b/node_modules/@sentry/react-native/ios/RNSentry.mm
@@ -452,6 +452,11 @@ - (NSDictionary*) fetchNativeStackFramesBy: (NSArray<NSNumber*>*)instructionsAdd
resolve:(RCTPromiseResolveBlock)resolve
rejecter:(RCTPromiseRejectBlock)reject)
{
+ if ([rawBytes isKindOfClass:[NSArray class]]) {
+ resolve(@YES);
+ return;
+ }
+
NSData *data = [[NSData alloc] initWithBase64EncodedString:rawBytes options:0];
SentryEnvelope *envelope = [PrivateSentrySDKOnly envelopeWithData:data];