Skip to content

feat: 适配 Expo SDK 58 - #37

Merged
zhxycn merged 9 commits into
mainfrom
sdk58
Sep 28, 2026
Merged

zhxycn merged 9 commits into
mainfrom
sdk58

Conversation

@zhxycn

@zhxycn zhxycn commented Sep 20, 2026

Copy link
Copy Markdown
Member

No description provided.

@zhxycn
zhxycn marked this pull request as ready for review September 28, 2026 08:41

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 461cdb7691

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread app/_layout.tsx Outdated
}

export default Sentry.wrap(ObserveRoot.wrap(RootLayout));
export default ObserveRoot.wrap(RootLayout);

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Restore the Sentry root wrapper in production

When a production render or lifecycle error occurs, this export no longer mounts Sentry's React error boundary because calling Sentry.init does not replace Sentry.wrap. The previous export wrapped the root component, so this change drops Sentry's component-stack capture and related React instrumentation even though production monitoring is still configured above; conditionally retain Sentry.wrap(ObserveRoot.wrap(RootLayout)) for production builds.

Useful? React with 👍 / 👎.

@zhxycn
zhxycn merged commit 6bc591b into main Sep 28, 2026
8 checks passed
@zhxycn
zhxycn deleted the sdk58 branch September 28, 2026 09:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant