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');constwithRemoveAppleSignIn=(config)=>{returnwithEntitlementsPlist(config,(modConfig)=>{if(modConfig.modResults['com.apple.developer.applesignin']){deletemodConfig.modResults['com.apple.developer.applesignin'];}returnmodConfig;});};module.exports=withRemoveAppleSignIn;Environment
@clerk/expo: 3.1.2- Expo SDK 55
Bug report
Description
The
withClerkAppleSignInconfig plugin unconditionally adds thecom.apple.developer.applesigninentitlement 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.:
Workaround
We have a custom config plugin that removes the entitlement after Clerk adds it:
Environment
@clerk/expo: 3.1.2