Skip to content

Commit b1e8712

Browse files
fix(rnna): Allow disabling native on RNNA (#2978)
1 parent 55e5fda commit b1e8712

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
## Unreleased
44

5+
### Fixes
6+
7+
- Allow disabling native on RNNA ([#2978](https://github.com/getsentry/sentry-react-native/pull/2978))
8+
59
### Dependencies
610

711
- Bump JavaScript SDK from v7.47.0 to v7.48.0 ([#2975](https://github.com/getsentry/sentry-react-native/pull/2975)

src/js/wrapper.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ import { isTurboModuleEnabled } from './utils/environment';
2727
import { utf8ToBytes } from './vendor';
2828

2929
const RNSentry: Spec | undefined = isTurboModuleEnabled()
30-
? TurboModuleRegistry.getEnforcing<Spec>('RNSentry')
30+
? TurboModuleRegistry.get<Spec>('RNSentry')
3131
: NativeModules.RNSentry;
3232

3333
export interface Screenshot {

0 commit comments

Comments
 (0)