Open bruno-garcia opened 1 week ago
iOS
Production
CocoaPods
Latest React Native one
not sure
No response
A customer on React Native, tried to enable replay through the native layer directly (they are initializign Sentry native directly). But they said they couldn't call options.experimental from Objective-C
options.experimental
From native objc code, you need to use @import Sentry; and not #import <Sentry/Sentry.h> to be able to use session replay.
@import Sentry;
#import <Sentry/Sentry.h>
Can you check whether this works for the customer?
Platform
iOS
Environment
Production
Installed
CocoaPods
Version
Latest React Native one
Xcode Version
not sure
Did it work on previous versions?
No response
Steps to Reproduce
A customer on React Native, tried to enable replay through the native layer directly (they are initializign Sentry native directly). But they said they couldn't call
options.experimental
from Objective-CAre you willing to submit a PR?
No response