Skip to content

Commit 53f9909

Browse files
committed
Fix latest version
1 parent 20bae4d commit 53f9909

2 files changed

Lines changed: 9 additions & 0 deletions

File tree

packages/core/ios/RNSentry.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,13 @@
1313

1414
typedef int (*SymbolicateCallbackType)(const void *, Dl_info *);
1515

16+
#if CROSS_PLATFORM_TEST
17+
@interface
18+
SentrySDKInternal: NSObject
19+
#else
1620
@interface
1721
SentrySDK (Private)
22+
#endif
1823
@property (nonatomic, nullable, readonly, class) SentryOptions *options;
1924
@end
2025

packages/core/ios/RNSentry.mm

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -355,7 +355,11 @@ - (void)stopObserving
355355
- (NSDictionary *)fetchNativeStackFramesBy:(NSArray<NSNumber *> *)instructionsAddr
356356
symbolicate:(SymbolicateCallbackType)symbolicate
357357
{
358+
#if CROSS_PLATFORM_TEST
359+
BOOL shouldSymbolicateLocally = [SentrySDKInternal.options debug];
360+
#else
358361
BOOL shouldSymbolicateLocally = [SentrySDK.options debug];
362+
#endif
359363
NSString *appPackageName = [[NSBundle mainBundle] executablePath];
360364

361365
NSMutableSet<NSString *> *_Nonnull imagesAddrToRetrieveDebugMetaImages =

0 commit comments

Comments
 (0)