Skip to content
Draft
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/react-native/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
},
"peerDependencies": {
"react": ">=18.0.0",
"react-native": ">=0.72.0"
"react-native": ">=0.73.0"
},
"devDependencies": {
"@react-native-community/eslint-config": "^3.2.0",
Expand Down
3 changes: 2 additions & 1 deletion packages/react-native/src/BacktraceClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ import { FileBreadcrumbsStorage } from './breadcrumbs/FileBreadcrumbsStorage';
import { BacktraceClientBuilder } from './builder/BacktraceClientBuilder';
import type { BacktraceClientSetup } from './builder/BacktraceClientSetup';
import { version } from './common/platformHelper';
import { version as agentVersion } from '../package.json';
import { CrashReporter } from './crashReporter/CrashReporter';
import { generateUnhandledExceptionHandler } from './handlers';
import { type ExceptionHandler } from './handlers/ExceptionHandler';
Expand All @@ -37,7 +38,7 @@ export class BacktraceClient extends BacktraceCoreClient<BacktraceConfiguration>
super({
sdkOptions: {
agent: '@backtrace/react-native',
agentVersion: '0.0.1',
agentVersion: agentVersion,
langName: 'react-native',
langVersion: version(),
},
Expand Down
Loading