Skip to content

Commit

Permalink
fix(rnna): Allow disabling native on RNNA (#2978)
Browse files Browse the repository at this point in the history
  • Loading branch information
krystofwoldrich committed Apr 18, 2023
1 parent 55e5fda commit b1e8712
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
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

### Fixes

- Allow disabling native on RNNA ([#2978](https://github.com/getsentry/sentry-react-native/pull/2978))

### Dependencies

- Bump JavaScript SDK from v7.47.0 to v7.48.0 ([#2975](https://github.com/getsentry/sentry-react-native/pull/2975)
Expand Down
2 changes: 1 addition & 1 deletion src/js/wrapper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ import { isTurboModuleEnabled } from './utils/environment';
import { utf8ToBytes } from './vendor';

const RNSentry: Spec | undefined = isTurboModuleEnabled()
? TurboModuleRegistry.getEnforcing<Spec>('RNSentry')
? TurboModuleRegistry.get<Spec>('RNSentry')
: NativeModules.RNSentry;

export interface Screenshot {
Expand Down

0 comments on commit b1e8712

Please sign in to comment.