Bluesky app fork with some witchin' additions 馃挮
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

at cope-settings-sync 31 lines 947 B view raw
1const {withInfoPlist} = require('expo/config-plugins') 2const plist = require('@expo/plist') 3const path = require('path') 4const fs = require('fs') 5 6const withClipEntitlements = (config, {targetName}) => { 7 return withInfoPlist(config, config => { 8 const entitlementsPath = path.join( 9 config.modRequest.platformProjectRoot, 10 targetName, 11 `${targetName}.entitlements`, 12 ) 13 14 const appClipEntitlements = { 15 'com.apple.security.application-groups': [`group.app.witchsky`], 16 'com.apple.developer.parent-application-identifiers': [ 17 `$(AppIdentifierPrefix)${config.ios.bundleIdentifier}`, 18 ], 19 'com.apple.developer.associated-domains': config.ios.associatedDomains, 20 } 21 22 fs.mkdirSync(path.dirname(entitlementsPath), { 23 recursive: true, 24 }) 25 fs.writeFileSync(entitlementsPath, plist.default.build(appClipEntitlements)) 26 27 return config 28 }) 29} 30 31module.exports = {withClipEntitlements}