Ensure Sentry is able to initialize without DSN if Spotlight is enabled

Open
#4,372 1 comment 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
react-native, typescript

Research direction

Start with packages/core/src/baseclient.ts in the linked Sentry JavaScript implementation and compare its no-DSN behavior with the React Native JS layer. Check whether events can reach Spotlight without native changes, while noting the linked Cocoa and Java issues as blockers. Done means Spotlight-enabled initialization works without a DSN.

Written by the indexing model from the issue text.

Description

Blocked Errors Improvement React-Native
Description

As part of the requirement to make Spotlight compatible with SDKs, the SDKs should be able to initialize without a DSN if Spotlight is enabled

### 🛑  Blocked by
- [ ] https://github.com/getsentry/sentry-cocoa/issues/4620
- [ ] https://github.com/getsentry/sentry-java/issues/3981

JS already supports this https://github.com/getsentry/sentry-javascript/blob/938fe65a1bb363bf92cb35df24edea27d3d75883/packages/core/src/baseclient.ts#L322

### Tasks
- [ ] Check if JS layer can send events to Spotlight without changes on native
Dominant language
TypeScript
Stars
1.8k
Forks
367
Avg merge
1d 6h
Merged PRs (30d)
94

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from getsentry/sentry-react-native

All issues in getsentry/sentry-react-native

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.