expo-finance-kit
Version:
Native Expo module for Apple FinanceKit - Access financial data from Apple Card and other accounts
17 lines (14 loc) • 644 B
text/typescript
import { ConfigPlugin, withXcodeProject } from '@expo/config-plugins';
export const withAppGroups: ConfigPlugin<{ appGroupIdentifier: string }> = (
config,
_props
) => {
return withXcodeProject(config, (config) => {
// This is a simplified version - in production you'd use the PBXProject methods
// to properly add the capability through Xcode's capability system
// The app group capability is actually handled by the entitlements file
// For now, we rely on the entitlements to configure app groups
// A full implementation would modify the .pbxproj file to add the capability
return config;
});
};