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/fix-apple-signin-entitlement-opt-out.md
Original file line number Diff line number Diff line change
@@ -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.
5 changes: 4 additions & 1 deletion packages/expo/app.plugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
Loading