Skip to content

fix(expo): Align Android OkHttp dependencies - #9371

Open
wobsoriano wants to merge 2 commits into
mainfrom
rob/okhttp-fix
Open

fix(expo): Align Android OkHttp dependencies#9371
wobsoriano wants to merge 2 commits into
mainfrom
rob/okhttp-fix

Conversation

@wobsoriano

@wobsoriano wobsoriano commented Aug 10, 2026

Copy link
Copy Markdown
Member

Description

Align the Android OkHttp dependency graph shipped by @clerk/expo so Clerk Android and React Native use compatible versions.

The Expo Android module now strictly selects OkHttp 5.4.0, the logging interceptor 5.4.0, and the URLConnection compatibility shim 5.0.0-alpha.16. This prevents React Native from supplying an OkHttp 4 core alongside Clerk Android's OkHttp 5 logging interceptor.

The native integration fixture no longer applies its own resolution strategy workaround, so the existing Expo native build and Android Maestro jobs exercise the package-provided alignment directly.

Checklist

  • pnpm test runs as expected.
  • pnpm build runs as expected.
  • (If applicable) JSDoc comments have been added or updated for any package exports
  • (If applicable) Documentation has been updated

Type of change

  • 🐛 Bug fix
  • 🌟 New feature
  • 🔨 Breaking change
  • 📖 Refactoring / dependency upgrade / documentation
  • other:

@changeset-bot

changeset-bot Bot commented Aug 10, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: df9ae3f

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@clerk/expo Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@vercel

vercel Bot commented Aug 10, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
clerk-js-sandbox Ready Ready Preview Aug 10, 2026 4:30pm
swingset Ready Ready Preview Aug 10, 2026 4:30pm

Request Review

@pkg-pr-new

pkg-pr-new Bot commented Aug 10, 2026

Copy link
Copy Markdown

Open in StackBlitz

@clerk/astro

npm i https://pkg.pr.new/@clerk/astro@9371

@clerk/backend

npm i https://pkg.pr.new/@clerk/backend@9371

@clerk/chrome-extension

npm i https://pkg.pr.new/@clerk/chrome-extension@9371

@clerk/clerk-js

npm i https://pkg.pr.new/@clerk/clerk-js@9371

@clerk/electron

npm i https://pkg.pr.new/@clerk/electron@9371

@clerk/electron-passkeys

npm i https://pkg.pr.new/@clerk/electron-passkeys@9371

@clerk/eslint-plugin

npm i https://pkg.pr.new/@clerk/eslint-plugin@9371

@clerk/expo

npm i https://pkg.pr.new/@clerk/expo@9371

@clerk/expo-google-signin

npm i https://pkg.pr.new/@clerk/expo-google-signin@9371

@clerk/expo-passkeys

npm i https://pkg.pr.new/@clerk/expo-passkeys@9371

@clerk/express

npm i https://pkg.pr.new/@clerk/express@9371

@clerk/fastify

npm i https://pkg.pr.new/@clerk/fastify@9371

@clerk/hono

npm i https://pkg.pr.new/@clerk/hono@9371

@clerk/localizations

npm i https://pkg.pr.new/@clerk/localizations@9371

@clerk/nextjs

npm i https://pkg.pr.new/@clerk/nextjs@9371

@clerk/nuxt

npm i https://pkg.pr.new/@clerk/nuxt@9371

@clerk/react

npm i https://pkg.pr.new/@clerk/react@9371

@clerk/react-router

npm i https://pkg.pr.new/@clerk/react-router@9371

@clerk/shared

npm i https://pkg.pr.new/@clerk/shared@9371

@clerk/tanstack-react-start

npm i https://pkg.pr.new/@clerk/tanstack-react-start@9371

@clerk/testing

npm i https://pkg.pr.new/@clerk/testing@9371

@clerk/ui

npm i https://pkg.pr.new/@clerk/ui@9371

@clerk/upgrade

npm i https://pkg.pr.new/@clerk/upgrade@9371

@clerk/vue

npm i https://pkg.pr.new/@clerk/vue@9371

commit: df9ae3f

@wobsoriano
wobsoriano marked this pull request as ready for review August 10, 2026 16:27
@github-actions

Copy link
Copy Markdown
Contributor

API Changes Report

Generated by Break Check on 2026-08-10T16:31:11.332Z

Summary

Metric Count
Packages analyzed 19
Packages with changes 0
🔴 Breaking changes 0
🟡 Non-breaking changes 0
🟢 Additions 0

No API Changes Detected

All packages have stable APIs with no detected changes.


Report generated by Break Check

Last ran on df9ae3f.

@coderabbitai

coderabbitai Bot commented Aug 10, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

📝 Walkthrough

Walkthrough

The Expo Android package now defines centralized OkHttp and okhttp-urlconnection versions and applies strict constraints to OkHttp-related dependencies. The Expo native template no longer loads the local OkHttp alignment plugin. A patch changeset documents the dependency alignment.

Estimated code review effort: 2 (Simple) | ~10 minutes

Possibly related PRs

  • clerk/javascript#9271: Both PRs modify packages/expo/android/build.gradle for Android dependency configuration changes.
  • clerk/javascript#9260: Both PRs modify packages/expo/android/build.gradle for @clerk/expo Android dependency management.
  • clerk/javascript#9300: Both PRs modify packages/expo/android/build.gradle dependency configuration for @clerk/expo.
🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Title check ✅ Passed The title clearly summarizes the primary change: aligning Android OkHttp dependencies for Expo.
Description check ✅ Passed The description directly explains the OkHttp alignment, dependency versions, and removal of the integration workaround.

Comment @coderabbitai help to get the list of available commands.

@wobsoriano
wobsoriano requested a review from swolfand August 10, 2026 17:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant