about summary refs log tree commit diff
path: root/plugins/starterPackAppClipExtension/withAppEntitlements.js
blob: 1bffd820805122649911ab2365e2c195ea5ff264 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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}