-
Notifications
You must be signed in to change notification settings - Fork 437
Open
Description
Bug report
Description
The withClerkAppleSignIn config plugin unconditionally adds the com.apple.developer.applesignin entitlement to the iOS entitlements plist. There's no way to disable this behavior.
This is a problem for apps that don't use Sign in with Apple — the entitlement requires a paid organization Apple Developer account and fails on personal developer accounts.
Expected behavior
The plugin should accept an option to disable Apple Sign In, e.g.:
["@clerk/expo", { appleSignIn: false }]Workaround
We have a custom config plugin that removes the entitlement after Clerk adds it:
const { withEntitlementsPlist } = require('@expo/config-plugins');
const withRemoveAppleSignIn = (config) => {
return withEntitlementsPlist(config, (modConfig) => {
if (modConfig.modResults['com.apple.developer.applesignin']) {
delete modConfig.modResults['com.apple.developer.applesignin'];
}
return modConfig;
});
};
module.exports = withRemoveAppleSignIn;Environment
@clerk/expo: 3.1.2- Expo SDK 55
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels