Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/three-files-fetch.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@clerk/clerk-expo": minor
---

Deprecate `@clerk/clerk-expo` in favor of `@clerk/expo` and add a runtime warning linking to the migration guide.
3 changes: 3 additions & 0 deletions packages/expo/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@

</div>

> [!WARNING]
> `@clerk/clerk-expo` is deprecated. Migrate to `@clerk/expo` by following the [Core 3 upgrade guide](https://clerk.com/docs/guides/development/upgrading/upgrade-guides/core-3).
## Getting Started

[Clerk](https://clerk.com/?utm_source=github&utm_medium=clerk_expo) is the easiest way to add authentication and user management to your Expo application. Add sign up, sign in, and profile management to your application in minutes.
Expand Down
9 changes: 9 additions & 0 deletions packages/expo/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,13 @@
import { setErrorThrowerOptions } from '@clerk/clerk-react/internal';
import { logger } from '@clerk/shared/logger';

logger.warnOnce(`
Clerk - DEPRECATION WARNING: @clerk/clerk-expo is deprecated.
Please migrate to @clerk/expo.
Migration guide: https://clerk.com/docs/guides/development/upgrading/upgrade-guides/core-3
`);

export {
isClerkAPIResponseError,
Expand Down
Loading