Skip to content

[SDK-483] 0.85.2#867

Open
lposen wants to merge 2 commits into
update/SDK-482-0-84from
update/SDK-483-0-85
Open

[SDK-483] 0.85.2#867
lposen wants to merge 2 commits into
update/SDK-482-0-84from
update/SDK-483-0-85

Conversation

@lposen
Copy link
Copy Markdown
Contributor

@lposen lposen commented May 20, 2026

🔹 JIRA Ticket(s) if any

✏️ Description

Please provide a brief description of what this pull request does.

@lposen lposen requested a review from Copilot May 20, 2026 20:09
@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 20, 2026

Lines Statements Branches Functions
Coverage: 63%
63.07% (398/631) 40.07% (103/257) 61.5% (139/226)

@qltysh
Copy link
Copy Markdown

qltysh Bot commented May 20, 2026

Qlty


Coverage Impact

This PR will not change total coverage.

🚦 See full report on Qlty Cloud »

🛟 Help
  • Diff Coverage: Coverage for added or modified lines of code (excludes deleted files). Learn more.

  • Total Coverage: Coverage for the whole repository, calculated as the sum of all File Coverage. Learn more.

  • File Coverage: Covered Lines divided by Covered Lines plus Missed Lines. (Excludes non-executable lines including blank lines and comments.)

    • Indirect Changes: Changes to File Coverage for files that were not modified in this PR. Learn more.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR upgrades the repo (library + example app) React Native toolchain to React Native 0.85.2 and updates related build/test configuration to match that version.

Changes:

  • Bump react-native and associated @react-native/* packages to 0.85.2 (including lockfile updates).
  • Switch Jest configuration to use @react-native/jest-preset.
  • Update example app native project files (iOS CocoaPods integration + Android Gradle wrapper version).

Reviewed changes

Copilot reviewed 5 out of 7 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
yarn.lock Updates dependency graph/lock entries for RN 0.85.2 and related tooling.
package.json Bumps RN-related devDependencies to 0.85.2 and adds @react-native/jest-preset.
jest.config.js Switches Jest preset to @react-native/jest-preset.
example/package.json Bumps example app RN + related @react-native/* devDependencies to 0.85.2.
example/jest.config.js Switches example Jest preset to @react-native/jest-preset.
example/ios/ReactNativeSdkExample.xcodeproj/project.pbxproj Updates CocoaPods-generated references/build phases for the example iOS project.
example/android/gradle/wrapper/gradle-wrapper.properties Updates the example app Gradle wrapper distribution URL.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread example/jest.config.js
@@ -1,3 +1,3 @@
module.exports = {
preset: 'react-native',
preset: '@react-native/jest-preset',
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-9.0.0-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-9.3.1-bin.zip
Copy link
Copy Markdown
Member

@joaodordio joaodordio left a comment

Choose a reason for hiding this comment

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

Same as the other PRs in this stack: can we please fill in the description with:

  • the jest preset extraction (with note that example devDeps also need the new package)
  • @react-native/virtualized-lists strict peer pin change (consumer impact)
  • metro 0.83.7 → 0.84.4
  • gradle 9.0.0 → 9.3.1

Comment thread package.json
"@react-native/typescript-config": "0.84.1",
"@react-native/babel-preset": "0.85.2",
"@react-native/eslint-config": "0.85.2",
"@react-native/jest-preset": "0.85.2",
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

The new @react-native/jest-preset was added to the root devDependencies but not to the example app's devDependencies. Is that on purpose?

Comment thread package.json
"publishConfig": {
"registry": "https://registry.npmjs.org/"
},
"devDependencies": {
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Should we note in the PR description that RN 0.85 extracted @react-native/jest-preset out of react-native and that babel-jest / jest-environment-node are no longer direct deps of react-native. Anyone running the SDK without our exact devDep set may see test resolution differences.

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.

3 participants