Bluesky app fork with some witchin' additions 馃挮 witchsky.app
bluesky fork client
119
fork

Configure Feed

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

at a876aae44ea07494ebea9727350aa060b81f317b 29 lines 775 B view raw
1const {withAndroidManifest} = require('expo/config-plugins') 2 3const withProcessTextQuery = config => 4 withAndroidManifest(config, config => { 5 const manifest = config.modResults.manifest 6 7 // Ensure <queries> stub exists 8 if (!manifest.queries) manifest.queries = [{}] 9 const queries = manifest.queries[0] 10 11 queries.intent = queries.intent || [] 12 13 const exists = queries.intent.some( 14 i => 15 i.action?.[0]?.$?.['android:name'] === 16 'android.intent.action.PROCESS_TEXT', 17 ) 18 19 if (!exists) { 20 queries.intent.push({ 21 action: [{$: {'android:name': 'android.intent.action.PROCESS_TEXT'}}], 22 data: [{$: {'android:mimeType': 'text/plain'}}], 23 }) 24 } 25 26 return config 27 }) 28 29module.exports = withProcessTextQuery