bsky-app/plugins/starterPackAppClipExtension/withAppEntitlements.js

17 lines
523 B
JavaScript
Raw Normal View History

const {withEntitlementsPlist} = require('@expo/config-plugins')
const withAppEntitlements = config => {
// eslint-disable-next-line no-shadow
return withEntitlementsPlist(config, async config => {
config.modResults['com.apple.security.application-groups'] = [
`group.app.bsky`,
]
config.modResults[
'com.apple.developer.associated-appclip-app-identifiers'
] = [`$(AppIdentifierPrefix)${config.ios.bundleIdentifier}.AppClip`]
return config
})
}
module.exports = {withAppEntitlements}