From c7f4e212b98a6180065edb7746824dd9829df42e Mon Sep 17 00:00:00 2001 From: ChrisCanin Date: Wed, 18 Mar 2026 09:23:33 -0700 Subject: [PATCH] fix(expo): add appleSignIn option to config plugin to allow opting out of Apple Sign In entitlement --- .changeset/fix-apple-signin-entitlement-opt-out.md | 5 +++++ packages/expo/app.plugin.js | 5 ++++- 2 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 .changeset/fix-apple-signin-entitlement-opt-out.md diff --git a/.changeset/fix-apple-signin-entitlement-opt-out.md b/.changeset/fix-apple-signin-entitlement-opt-out.md new file mode 100644 index 00000000000..2c6aac7ae1b --- /dev/null +++ b/.changeset/fix-apple-signin-entitlement-opt-out.md @@ -0,0 +1,5 @@ +--- +'@clerk/expo': patch +--- + +Add `appleSignIn` option to the Expo config plugin. Setting `appleSignIn: false` prevents the Sign in with Apple entitlement from being added unconditionally, allowing apps that do not use Apple Sign In to opt out. diff --git a/packages/expo/app.plugin.js b/packages/expo/app.plugin.js index f8dca293ce2..6eae858f405 100644 --- a/packages/expo/app.plugin.js +++ b/packages/expo/app.plugin.js @@ -613,8 +613,11 @@ const withClerkAppleSignIn = config => { }; const withClerkExpo = (config, props = {}) => { + const { appleSignIn = true } = props; config = withClerkIOS(config); - config = withClerkAppleSignIn(config); + if (appleSignIn !== false) { + config = withClerkAppleSignIn(config); + } config = withClerkGoogleSignIn(config); config = withClerkAndroid(config); config = withClerkKeychainService(config, props);