getsentry / getsentry/sentry-react-native

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

未关闭
#4,372 1 条评论 2 个 reaction 已指派 0 人 在 GitHub 查看
Blocked Errors Improvement React-Native
主要语言
TypeScript
星标
1.8k
派生
366
平均合并
1 天 6 小时
30 天内合并 PR
94

描述

### Description

As part of the [requirement to make Spotlight compatible with SDKs](https://github.com/getsentry/spotlight/issues/545), the SDKs should be able to initialize without a DSN if Spotlight is enabled

```[tasklist]
### 🛑 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

```[tasklist]
### Tasks
- [ ] Check if JS layer can send events to Spotlight without changes on native
```

贡献指南

打开贡献指南

调研方向

从链接的 Sentry JavaScript 实现中的 packages/core/src/baseclient.ts 开始,将其无 DSN 行为与 React Native JS 层进行比较。检查事件是否可以在不进行原生更改的情况下到达 Spotlight,同时将链接的 Cocoa 和 Java issue 视为阻塞项。完成标准是启用 Spotlight 的初始化能够在没有 DSN 的情况下正常工作。

由索引模型根据 Issue 内容生成。

评估

技术栈
react-native, typescript
领域
mobile, observability
Issue 类型
功能
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
25/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。